Exemplo n.º 1
0
        public Generation(Generation previous)
        {
            if (!previous.IsSolved)
                throw new ArgumentException("previous generation must be solved");
            Id = previous.Id + 1;

            Previous = previous;
            Settings = previous.Settings;
            InitialChromosomes = Previous.Output;
        }
Exemplo n.º 2
0
 public static void DrawGeneration(this DrawingDesc desc, Generation generation, Pen pen)
 {
 }