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

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


        model.getFoldCallRaiseProbabilities(gameState, actor);
      model.forgetLastAssumption();
//      if (size != model.getVisitorSize()) throw new IllegalStateException("Model didn't forget last assumption");

      double foldProbability = probabilities.getLeft();
      actions.add(new ProbabilityAction(new FoldAction(gameState, actor), foldProbability));

      double callProbability = probabilities.getMiddle();
      actions.add(new ProbabilityAction(new CallAction(gameState, actor), callProbability));

      if (!gameState.getPlayer(bot).isAllIn()
View Full Code Here


      // call, raise or fold
      Triple<Double, Double, Double> probabilities =
        model.getFoldCallRaiseProbabilities(gameState, actor);

      double foldProbability = probabilities.getLeft();
      actions.add(new ProbabilityAction(new FoldAction(gameState, actor), foldProbability));

      double callProbability = probabilities.getMiddle();
      actions.add(new ProbabilityAction(new CallAction(gameState, actor), callProbability));

      if (!gameState.getPlayer(bot).isAllIn()
View Full Code Here

TOP

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

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.