This sort of answers is, but not quite. The last post confuses me:
http://www.poker-ai.org/phpbb/viewtopic.php?f=24&t=2521I calculate fold utility the same as above. The folder loses the amount they invested, the non-folder gains it.
To me this makes the most intuitive sense, but I'm suddenly not so sure which is correct.
Using invested:(what I'm doing now)
0 in the middle, player a bets 50, player B:
* calls with the best hand: a -50, b +50
* calls with the worst hand: a+50 b-50
* folds a0:b:0
100 in the middle (50 invested each), player a bets 50, player B:
* calls with the best hand: a -100, b +100
* calls with the worst hand: a+100 b-100
* folds a+50:b:-50
Using total pot: (as suggested in the post above)
0 in the middle, player a bets 50, player B:
* calls with the best hand: a -100, b +100
* calls with the worst hand: a+100 b-100
* folds a+50:b:-50
100 in the middle (50 invested each), player a bets 50, player B:
* calls with the best hand: a -200, b +200
* calls with the worst hand: a+200 b-200
* folds a+150:b:-150
They clearly produce different utilities (mainly around folding as suggested in the post above) . I get the feeling I'm missing something really simple here.
In a normal equity calculation we'd call and win (ev = +pot, not including our call amount) or call and lose (ev = -call amount) and folds are 0ev. But I think this is just the ev of a given action relative to folding rather than in the context of an entire hand.
Regualr poker ev calc for a single descision:
0 in the middle, player a bets 50, player B:
* calls with the best hand: a -50, b +50
* calls with the worst hand: a+50 b-50
* folds a0:b:0
100 in the middle (50 invested each), player a bets 50, player B:
* calls with the best hand: a -150, b +150
* calls with the worst hand: a+50 b-50
* folds a0:b:0
Which is different again. Arhrggrggh.