FET Forum

Discussions and Chat => Programming and other Technical Help => Topic started by: ahmedzaalan on August 12, 2011, 11:31:28 PM

Title: quetion about a method sortActivities
Post by: ahmedzaalan on August 12, 2011, 11:31:28 PM
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?
Title: Re: quetion about a method sortActivities
Post by: Liviu Lalescu on August 13, 2011, 05:53:36 AM
This is the initialization of permutation with the identical permutation. Sorting is below (qStableSort).