|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pokersource.enumerate.SAIEMain
public class SAIEMain
An executable program that provides access to the SAIE calculator.
Usage: java org.pokersource.enumerate.SAIEMain [options] bv1 bv2 ... where bv1 is a HoldemBeliefVector in string form Options: -b board Community cards -d dead Dead cards -m nmatchups Number of matchups to sample [default all] -n noutcomes Number of outcomes for each matchup [default all] -r NAME:file Register hand ordering in file as NAME -O Track relative hand rank orderings -t Terse output [default human-readable] -i Read hands from stdin instead of command line -v level Verbosity level [default 0] Streaming usage: java pokeval.SAIEMain -i followed by standard input of command lines as above Examples: java org.pokersource.enumerate.SAIEMain -b Ah3d2c9d JsJd 'AQs+ TT+' java org.pokersource.enumerate.SAIEMain -m 100 -n 100 'AQs+ TT+' AK java org.pokersource.enumerate.SAIEMain -O -r SAMP:sample1.hho \ -m 100 -n 100 'AhTd' 'SAMP>0.80' 'SAMP>0.95'
HoldemHandGroup (and the classes that implement it,
for the syntax of hand groups)
,
HoldemBeliefVector (for the syntax of belief
vectors)
,
HoldemHandOrdering (for the format of hand rank
ordering files)
Field Summary | |
---|---|
private static java.util.ArrayList |
beliefs
For each player, a distribution of hands |
private static long |
board
Community board cards |
private static java.util.HashMap |
bvcache
A cache of belief vectors we've already instantiated, map of {String, HoldemBeliefVector} |
private static long |
dead
Dead cards not in play |
private static int |
nmatchups
The number of matchups to sample (0 = full enumeration) |
private static int |
noutcomes
The number of outcomes for each matchup (0 = full enumeration) |
private static boolean |
orderingFlag
Flag for including the relative rank ordering histogram in output |
private static java.util.HashMap |
orderingObjs
A Map of {String path, HoldemHandOrdering hho} for all registered hand orderings |
private static boolean |
stdinFlag
Flag for reading hands from stdin instead of command line |
private static boolean |
terseFlag
Flag for terse (machine-readable) output |
private static int |
verbose
How chatty to be on System.out |
Constructor Summary | |
---|---|
private |
SAIEMain()
|
Method Summary | |
---|---|
private static void |
chat1()
|
private static void |
execute()
|
static void |
main(java.lang.String[] argv)
|
private static boolean |
parseArgs(java.lang.String[] argv)
|
private static void |
usage()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static int verbose
private static int nmatchups
private static int noutcomes
private static boolean terseFlag
private static boolean orderingFlag
private static boolean stdinFlag
private static java.util.HashMap orderingObjs
private static java.util.ArrayList beliefs
private static java.util.HashMap bvcache
private static long board
private static long dead
Constructor Detail |
---|
private SAIEMain()
Method Detail |
---|
private static void usage()
private static boolean parseArgs(java.lang.String[] argv)
private static void chat1()
private static void execute()
public static void main(java.lang.String[] argv)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |