Package org.cspoker.ai.bots.bot.gametree.action

Examples of org.cspoker.ai.bots.bot.gametree.action.CheckAction


      Pair<Double, Double> probabilities = model.getCheckBetProbabilities(gameState, actor);
      model.forgetLastAssumption();
//      if (size != model.getVisitorSize()) throw new IllegalStateException("Model didn't forget last assumption");
     
      double checkProbability = probabilities.getLeft();
      actions.add(new ProbabilityAction(new CheckAction(gameState, actor), checkProbability));

      if (!gameState.getPlayer(bot).isAllIn()
          && gameState.isAllowedToRaise(actor)) {
        double betProbability = probabilities.getRight();
        addRaiseProbalities(gameState, actor, actions, betProbability,
View Full Code Here


    } else {
      // check or bet
      Pair<Double, Double> probabilities = model.getCheckBetProbabilities(gameState, actor);
     
      double checkProbability = probabilities.getLeft();
      actions.add(new ProbabilityAction(new CheckAction(gameState, actor), checkProbability));

      if (!gameState.getPlayer(bot).isAllIn()
          && gameState.isAllowedToRaise(actor)) {
        double betProbability = probabilities.getRight();
        addRaiseProbalities(gameState, actor, actions, betProbability,
View Full Code Here

TOP

Related Classes of org.cspoker.ai.bots.bot.gametree.action.CheckAction

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.