|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbot.module.th.estimation.PreFlopShc
public class PreFlopShc
This class estimates the opponents first action of a hand by comparing to a startinghandchart
Field Summary | |
---|---|
private int[] |
actions
amount of int[0]: folds int[1]: checks, calls int[2]: raises int[3]: allIns |
protected int[] |
behaviour
shc comparison - consider: tightness only via folds/totalBets int[0]: relation looseness, 0-100 int[1]: relation aggression, 0-100 int[2]: numMoreLoose int[3]: numMorePassive int[4]: numMoreAggressive int[5]: evaledBets int[6]: totalBets |
private GetterDBProjector |
gDBP
|
private int |
initAggression
|
private int |
initLoose
|
private StartingHandChart |
shc
|
Constructor Summary | |
---|---|
PreFlopShc(StartingHandChart shc)
Constructor inits some fields |
Method Summary | |
---|---|
private void |
askShc()
what would the given startingHandChart had proposed |
private void |
compareToShc(int proposal,
int hisAction,
int betsize,
int bb)
compare players action to startingHandCharts proposal |
void |
estimate()
estimate opponent at specific round |
void |
fetchData(GetterDBProjector gDBP,
int playerId,
int competitionId,
int lastEvaledHandId)
init estimation at specific round |
void |
mergeIntoOverall()
merge estimation of round into overall estimation |
void |
mergeIntoRound()
merge new analysed data of round into already analysed of this round |
private void |
relationizeShcBets()
relation of all bets - count actions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int initLoose
private int initAggression
protected int[] behaviour
private int[] actions
private GetterDBProjector gDBP
private StartingHandChart shc
Constructor Detail |
---|
public PreFlopShc(StartingHandChart shc)
shc
- - the StartingHandChart to compare withMethod Detail |
---|
public void fetchData(GetterDBProjector gDBP, int playerId, int competitionId, int lastEvaledHandId)
IF_EstimationAtRound
fetchData
in interface IF_EstimationAtRound
gDBP
- - instance of GetterDBProjector - one instance per player and competitionplayerId
- - already generated by dbcompetitionId
- - already generated by dblastEvaledHandId
- - already generated by dbpublic void estimate()
IF_EstimationAtRound
estimate
in interface IF_EstimationAtRound
private void askShc()
private void compareToShc(int proposal, int hisAction, int betsize, int bb)
proposal
- hisAction
- betsize
- bb
- - bigblindprivate void relationizeShcBets()
public void mergeIntoRound()
IF_EstimationAtRound
mergeIntoRound
in interface IF_EstimationAtRound
public void mergeIntoOverall()
IF_EstimationAtRound
mergeIntoOverall
in interface IF_EstimationAtRound
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |