//function for the control of the ga setup
    public void controlGA()
    {
        SetChampion();

        CalculateFitness();
        CalculateFitnessSum();

        naturalSel.FitnessProportional();

        switch (selection)
        {
        case 1:
            artSel.RoulettePrinciple(MartingPoolSize);
            break;

        case 2:
            artSel.StochasticUniversalSampling(MartingPoolSize);
            break;
        }

        switch (replacement)
        {
        case 1:
            replace.GeneralReplacement(recombination, Player.brainSize);
            break;

        case 2:
            replace.PrincipleOfTheElites(survivors, recombination, Player.brainSize);
            break;

        case 3:
            replace.WeakElitism(survivors, recombination, Player.brainSize);
            break;
        }
    }