public Simple1v1OptimizationWithoutBall()
        {
            populationSize   = 24;
            chanceOfMutation = 0.01f;
            maxAddedValue    = 0.25f;
            populationPath   = @"C:\Users\Lenovo\Documents\Football\PopulationMovingWithoutBall";
            minutes          = 3;
            neuralNetName    = Common.MOVING_WITHOUT_BALL_NEURAL_NET_NAME;
            showBest         = false;
            replacementRate  = 0.25f;
            repetitions      = 3;
            randomPositions  = true;
            opponentTeam     = @"C:\Users\Lenovo\Documents\Football\OpponentTeam";

            Init();

            PopulationStorage.LoadPopulation(populationPath, neuralNetName, population);
        }
コード例 #2
0
        public Simple2v2OptimizationMovingWithoutBall()
        {
            populationSize   = 24;
            chanceOfMutation = 0.01f;
            maxAddedValue    = 0.25f;
            populationPath   = @"C:\Users\Lenovo\Documents\Football\PopulationMovingAndKickingBall";
            minutes          = 2;
            neuralNetName    = Common.MOVING_WITH_BALL_NEURAL_NET_NAME;
            showBest         = true;
            replacementRate  = 0.25f;
            repetitions      = 1;
            randomPositions  = true;
            //opponentTeam = @"C:\Users\Lenovo\Documents\Football\OpponentTeam";
            //immobilize = true;
            //singleRandomPosition = true;

            Init();

            PopulationStorage.LoadPopulation(populationPath, neuralNetName, population);
        }