Exemplo n.º 1
0
        static void Main()
        {
            double[] point = new double[2];

            //BasicBrain naivebrain = new BasicBrain();
            //point = naivebrain.BasicMaximum();

            GeneticBrain geneticbrain = new GeneticBrain();
            point = geneticbrain.GeneticMaximum();
            
            Console.WriteLine("Found local maximum at (" + Convert.ToString(point[0]) + ", " + Convert.ToString(point[1]) + ").");
            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();
        }