Package org.cspoker.common.util

Examples of org.cspoker.common.util.MutableDouble


          logProb += Math.log(opponentRankProb);
        }
        double prob = Math.exp(logProb);
        int won = calcAmountWon(botState, maxOpponentWin, drawers,
            allPlayers);
        MutableDouble value = values.get(won);
        if (value == null) {
          values.put(won, new MutableDouble(prob));
        } else {
          value.add(prob);
        }
        totalProb += prob;
      }
    }
    return new RolloutResult(values, totalProb, (1-gameState.getTableConfiguration().getRake()));
View Full Code Here

TOP

Related Classes of org.cspoker.common.util.MutableDouble

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.