Examples of MCTSBot


Examples of org.cspoker.ai.bots.bot.gametree.mcts.MCTSBot

    return null;
  }
 
  private boolean modelCreated(PlayerId actor) {
    try {
      MCTSBot bot = getLearningMCTSBot();
      if (bot.getId().equals(actor)) return false;
      Config config = bot.getConfig();
      WekaLearningModel model = (WekaLearningModel) config.getModel();
      ARFFPlayer player = model.getPlayer(actor);
      return player.modelCreated();
    } catch (Exception e) {
      System.err.println(e);
View Full Code Here

Examples of org.cspoker.ai.bots.bot.gametree.mcts.MCTSBot

    }
  }
 
  private double getAccuracy(PlayerId actor) {
    try {
      MCTSBot bot = getLearningMCTSBot();
      if (bot.getId().equals(actor)) return 0.0;
      Config config = bot.getConfig();
      WekaLearningModel model = (WekaLearningModel) config.getModel();
      return model.getPlayerAccuracy(actor);
    } catch (Exception e) {
      System.err.println(e);
      return 0.0;
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.