// Functionality public static Population randomized(Tour t, int n) { List<Tour> tmp = new List<Tour>(); for (int i = 0; i < n; ++i) tmp.Add( t.shuffle() ); return new Population(tmp); }
// Functionality public static Population randomized(Tour t, int n) { List <Tour> tmp = new List <Tour>(); for (int i = 0; i < n; ++i) { tmp.Add(t.shuffle()); } return(new Population(tmp)); }