Examples of BruteSearchOptions


Examples of com.barrybecker4.game.twoplayer.common.search.options.BruteSearchOptions

        super(name, color);
    }

    @Override
    protected SearchOptions createDefaultSearchOptions() {
        return new SearchOptions(new BruteSearchOptions(4), new BestMovesSearchOptions(100, 10, 0));
    }
View Full Code Here

Examples of com.barrybecker4.game.twoplayer.common.search.options.BruteSearchOptions

        super(name, color);
    }

    @Override
    protected SearchOptions createDefaultSearchOptions() {
        return new SearchOptions(new BruteSearchOptions(2)new BestMovesSearchOptions(80, 10, 0));
    }
View Full Code Here

Examples of com.barrybecker4.game.twoplayer.common.search.options.BruteSearchOptions

     * @param weights coefficients for the evaluation polynomial that indirectly determines the best move.
     */
    AbstractBruteSearchStrategy( Searchable searchable, ParameterArray weights ) {
        super(searchable, weights);
        SearchOptions opts = getOptions();
        BruteSearchOptions bruteOpts = opts.getBruteSearchOptions();
        alphaBeta_ = bruteOpts.getAlphaBeta();
        quiescence_ = bruteOpts.getQuiescence();
        lookAhead_ = bruteOpts.getLookAhead();
        maxQuiescentDepth_ = bruteOpts.getMaxQuiescentDepth();
        GameContext.log( 2, "alpha beta=" + alphaBeta_ + " quiescence=" + quiescence_ + " lookAhead = " + lookAhead_);
    }
View Full Code Here

Examples of com.barrybecker4.game.twoplayer.common.search.options.BruteSearchOptions

    }

    @Override
    protected SearchOptions createDefaultSearchOptions() {

        return new SearchOptions(new BruteSearchOptions(DEFAULT_LOOK_AHEAD),
                                new BestMovesSearchOptions(DEFAULT_PERCENTAGE_BEST_MOVES,
                                                           DEFAULT_MIN_BEST_MOVES,
                                                           DEFAULT_PERCENT_LESS_THAN_BEST_THRESH),
                                new MonteCarloSearchOptions(50, 1.0, 10));
    }
View Full Code Here

Examples of com.barrybecker4.game.twoplayer.common.search.options.BruteSearchOptions

        super(name, color);
    }

    @Override
    protected SearchOptions createDefaultSearchOptions() {
        return new SearchOptions(new BruteSearchOptions(DEFAULT_LOOK_AHEAD),
                                 new BestMovesSearchOptions(DEFAULT_PERCENTAGE_BEST_MOVES,
                                                            DEFAULT_MIN_BEST_MOVES,
                                                            DEFAULT_PERCENTAGE_LESS_THAN_BEST_THRESH),
                                 new MonteCarloSearchOptions(200, 1.0, 8));
    }
View Full Code Here

Examples of com.barrybecker4.game.twoplayer.common.search.options.BruteSearchOptions

    }

    @Override
    protected SearchOptions createDefaultSearchOptions() {

        SearchOptions opts = new SearchOptions(new BruteSearchOptions(DEFAULT_LOOK_AHEAD, 16),
                                 new BestMovesSearchOptions(DEFAULT_PERCENTAGE_BEST_MOVES,
                                                            DEFAULT_MIN_BEST_MOVES,
                                                            DEFAULT_PERCENT_LESS_THAN_BEST_THRESH),
                                 new MonteCarloSearchOptions(200, 0.9, 10));
        opts.setSearchStrategyMethod(SearchStrategyType.NEGASCOUT);
View Full Code Here

Examples of com.barrybecker4.game.twoplayer.common.search.options.BruteSearchOptions

       super(name, color);
    }

    @Override
    protected SearchOptions createDefaultSearchOptions() {
        return new SearchOptions(new BruteSearchOptions(DEFAULT_LOOK_AHEAD, DEFAULT_LOOK_AHEAD + 2),
                                 new BestMovesSearchOptions(DEFAULT_PERCENTAGE_BEST_MOVES,
                                                            DEFAULT_MIN_BEST_MOVES,
                                                            DEFAULT_PERCENT_LESS_THAN_BEST_THRESH),
                                 new MonteCarloSearchOptions(4000, 1.0, 25));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.