Examples of GameTreeNode


Examples of org.cspoker.ai.bots.bot.gametree.search.GameTreeNode

          probAction = (ProbabilityAction) action;
        } else {
          throw new IllegalStateException("What action is this? "
              + action);
        }
        GameTreeNode node = pair.getRight();
        Round round = rounds.peek();
        rounds.push(node.getGameState().getRound());
        String actor = action.getAction().actor.equals(botId)?"Bot":"Player "+action.getAction().actor;
        newItem.setText(new String[] { actor,
            action.getAction().toString(), round.getName(),
            Math.round(100 * probAction.getProbability()) + "%",
            samples, "?", "?", "" + node.getNbTokens() ,
            ""+Util.parseDollars(node.getUpperWinBound() - relStackSize),
            ""+Util.parseDollars(node.getGameState().getGamePotSize()),
            ""+Util.parseDollars(lowerBound - relStackSize)
        });
        if (round == Round.FINAL) {
          newItem.setBackground(2, new Color(display, 30, 30, 255));
        } else if (round == Round.TURN) {
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.