Example #1
0
    public void BreedNewPopulation()
    {
        genAlg.ClearPopulation();
        int totalweights = 5 * 8 + 8 * 2 + 8 + 2;

        genAlg.GenerateNewPopulation(15, totalweights);
    }
Example #2
0
    public void BreedNewPopulation()
    {
        genAlg.ClearPopulation();
        int totalWeights = (controller.hiddenNeuronsCount + 1) * (controller.inputCount + controller.outputCount);

        genAlg.GenerateNewPopulation(controller.genomeCount, totalWeights);
    }