BetSizeCandidates
andDonkSizeCandidates
are renamed toBetSizeOptions
andDonkSizeOptions
, respectively.
available_actions()
method ofPostFlopGame
now returnsVec<Action>
instead of&[Action]
.
- revert:
compute_exploitability
function is back, andcompute_mes_ev_average
function is removed.
TreeConfig
: new fieldsrake_rate
andrake_cap
are added.- real numbers in
BetSize
enum andTreeConfig
struct are now represented asf64
instead off32
. compute_exploitability
function is renamed tocompute_mes_ev_average
.
PostFlopGame
:play
: now terminal actions can be played.is_terminal_action
method is removed andis_terminal_node
method is added.expected_values
andexpected_values_detail
methods now take aplayer
argument.
ActionTree
:new
constructor now takes aTreeConfig
argument.ActionTree
:with_config
andupdate_config
methods are removed.
TreeConfig
:merging_threshold
field is added.PostFlopGame
:private_hand_cards
method is renamed toprivate_cards
.
- struct
GameConfig
is split intoCardConfig
andTreeConfig
. - new struct
ActionTree
is added: takesTreeConfig
for instantiation. - now
PostFlopGame
takesCardConfig
andActionTree
for instantiation. add_all_in_threshold
andforce_all_in_threshold
are renamed toadd_allin_threshold
andforce_allin_threshold
, respectively (all_in
->allin
).adjust_bet_size_before_all_in
(renamed fromadjust_last_two_bet_sizes
) is removed.
- enum
BetSize
has new variants:Additive(i32)
,Geometric(i32, f32)
, andAllIn
. BetSize::LastBetRelative
is renamed toBetSize::PrevBetRelative
.BetSizeCandidates::try_from()
method is refactored. See the documentation for details. Now a pot-relative size must be specified with the '%' character, and thetry_from()
method rejects a single floating number.adjust_last_two_bet_sizes
field ofGameConfig
struct is renamed toadjust_bet_size_before_all_in
.
- struct
GameConfig
has new fields:turn_donk_sizes
andriver_donk_sizes
. Their types areOption<DonkSizeCandidates>
. Specify these asNone
to maintain the previous behavior.