Hello, i have some doubts(?) about Weighting the enumerations..
first of all.. the weight table is used when is calculated the potential and strength of the hand, right?.. then
Code:
if(ourrank>opprank){
ahead += weightTable[i];
}
else if(ourrank==opprank){
tied += weightTable[i];
}
total += weightTable[i];
...
strength = (ahead+tied/2)/total;
is this code right? or "total += weightTable[i]" should be "total += 1"
second..
According to Davidson paper:
Code:
UpdateWeightTable(Action A, WeightTable WT, GameContext GC, OpponentModel OM)
{
for each (entry E in WT)
{
ProbabilityDistribution PT[FOLD,CALL,RAISE]
PT = PredictOpponentAction(OM, E, GC)
WT[E] = WT[E] * PT[A]
}
}
"The relative value for each hand is
increased or decreased to be consistent with every opponent action."
i can't see the way of
increase the value with
WT[E] = WT[E] * PT[A], if WT[E] is between 0 to 1, and in each street is mutiplied by other value between 0 to 1... how this work?
Thanks