quetion about a method sortActivities

Started by ahmedzaalan, August 12, 2011, 11:31:28 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

ahmedzaalan

hi what is this line means in sortActivities
--------------------------------------------------------
for(int i=0; i<gt.rules.nInternalActivities; i++)
           permutation=i;
--------------------------------------------------------
i can not understand where the sort is?

Liviu Lalescu

This is the initialization of permutation with the identical permutation. Sorting is below (qStableSort).