static void Main(string[] args)
        {
            string path = @"..\..\samples\MK250.txt";

            KnapsackList knapsackList = InputOutput.ReadInput(path);
            knapsackList.Show();
            init_static_GA_GT(knapsackList);

            TestPopulation t = new TestPopulation();

            GA_GT ga_gt = new GA_GT();

            ga_gt.RunGA_GT().Show();
            Console.WriteLine("End");
            Console.ReadLine();
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            string path = @"..\..\samples\MK250.txt";

            KnapsackList knapsackList = InputOutput.ReadInput(path);

            knapsackList.Show();
            init_static_GA_GT(knapsackList);

            TestPopulation t = new TestPopulation();

            GA_GT ga_gt = new GA_GT();

            ga_gt.RunGA_GT().Show();
            Console.WriteLine("End");
            Console.ReadLine();
        }