[cspoker] r1379 committed - Fixed small cp1250 coding bug

0 views
Skip to first unread message

codesite...@google.com

unread,
Mar 25, 2010, 5:55:02 AM3/25/10
to cspoker...@googlegroups.com
Revision: 1379
Author: laurent.verbruggen
Date: Thu Mar 25 02:54:26 2010
Log: Fixed small cp1250 coding bug
http://code.google.com/p/cspoker/source/detail?r=1379

Modified:

/trunk/ai/bots/src/main/java/org/cspoker/ai/bots/bot/gametree/search/nodevisitor/TextOutputVisitor.java

=======================================
---
/trunk/ai/bots/src/main/java/org/cspoker/ai/bots/bot/gametree/search/nodevisitor/TextOutputVisitor.java
Fri Aug 14 05:32:33 2009
+++
/trunk/ai/bots/src/main/java/org/cspoker/ai/bots/bot/gametree/search/nodevisitor/TextOutputVisitor.java
Thu Mar 25 02:54:26 2010
@@ -101,7 +101,7 @@

protected String getEndNodeDescription(Pair<ActionWrapper,GameTreeNode>
node, Distribution value) {
String bound = value.isUpperBound()?"<":"";
- return "EV is "+bound + Math.round(value.getMean()) + " for " +
node.getRight().toString() + " (σ="
+ return "EV is "+bound + Math.round(value.getMean()) + " for " +
node.getRight().toString() + " s="
+ Math.round(Math.sqrt(value.getVariance())) + ")";

}
Reply all
Reply to author
Forward
0 new messages