示例#1
0
        // 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));
        }