Package org.cspoker.ai.bots.bot.gametree.mcts.nodes

Examples of org.cspoker.ai.bots.bot.gametree.mcts.nodes.MCTSShowdownRollOutNode$Factory


        for (INode node2 : children) {
          visitNode(node2, holder.item);
        }
      }
    }else if(node instanceof MCTSShowdownRollOutNode && node.getNbSamples()>0){
      MCTSShowdownRollOutNode snode = (MCTSShowdownRollOutNode)node;
      final int min = snode.stackSize;
      int potsize = snode.rollout.gamePotSize;
      final int max = min+potsize;
      final double winPercentage = (snode.getEV()-min)/potsize;
      final double losePercentage = 1-winPercentage;
      display.syncExec(new Runnable(){
        @Override
        public void run() {
          TreeItem newItem = new TreeItem(holder.item, SWT.NONE);
View Full Code Here

TOP

Related Classes of org.cspoker.ai.bots.bot.gametree.mcts.nodes.MCTSShowdownRollOutNode$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.