Package org.cspoker.ai.opponentmodels

Examples of org.cspoker.ai.opponentmodels.OpponentModel$Factory


  public Bot createBot(final PlayerId botId, TableId tableId,
      SmartLobbyContext lobby, int buyIn, ExecutorService executor,
      BotListener... botListeners) {
    copies++;
    OpponentModel opponentModel = opponentModelFactory.create(botId);
    Config config = new Config(opponentModel, showdownNodeFactory,
        decisionNodeSelectionStrategy, opponentNodeSelectionStrategy,
        moveSelectionStrategy, backPropStratFactory, sampler);
    return new FixedSampleMCTSBot(botId, tableId, lobby, executor, buyIn,
        config,
View Full Code Here


  }

  public Bot createBot(final PlayerId botId, TableId tableId,
      SmartLobbyContext lobby, int buyIn, ExecutorService executor,
      BotListener... botListeners) {
    OpponentModel opponentModel = opponentModelFactory.create(botId);

    Config config = new Config(opponentModel, showdownNodeFactory,
        decisionNodeSelectionStrategy, opponentNodeSelectionStrategy,
        moveSelectionStrategy, backPropStratFactory, sampler);
    return new MCTSBot(botId, tableId, lobby, executor, buyIn,
View Full Code Here

  public synchronized Bot createBot(final PlayerId botId, TableId tableId,
      SmartLobbyContext lobby, int buyIn, ExecutorService executor,
      BotListener... botListeners) {
    copies++;

    OpponentModel opponentModel = opponentModels.get(botId);
    if(opponentModel==null){
      opponentModel = modelFactory.create(botId);
      opponentModels.put(botId, opponentModel);
    }
    SearchConfiguration config = new SearchConfiguration(opponentModel, showdownNodeFactory,
View Full Code Here

TOP

Related Classes of org.cspoker.ai.opponentmodels.OpponentModel$Factory

Copyright © 2018 www.massapicom. 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.