private static void ShowTestResult(GA ga, WorldToScreenCase test) { Point3D p = ProjectCase(test.World, ga.BestIndividual.Genotype); Console.WriteLine( " World ({0:0.00}, {1:0.00}) => \n" + " Wanted:({2:0.00}, {3:0.00}) \n" + " Received:({4:0.00}, {5:0.00})", test.World.X, test.World.Y, test.Screen.X, test.Screen.Y, p.X, p.Y); }
private void ShowTestResult(GA ga, WorldToScreenCase test) { Point3D p = ProjectCase(test.World, ga.BestIndividual.Genotype); }