BetSizeCandidatesandDonkSizeCandidatesare renamed toBetSizeOptionsandDonkSizeOptions, respectively.
available_actions()method ofPostFlopGamenow returnsVec<Action>instead of&[Action].
- revert:
compute_exploitabilityfunction is back, andcompute_mes_ev_averagefunction is removed.
TreeConfig: new fieldsrake_rateandrake_capare added.- real numbers in
BetSizeenum andTreeConfigstruct are now represented asf64instead off32. compute_exploitabilityfunction is renamed tocompute_mes_ev_average.
PostFlopGame:play: now terminal actions can be played.is_terminal_actionmethod is removed andis_terminal_nodemethod is added.expected_valuesandexpected_values_detailmethods now take aplayerargument.
ActionTree:newconstructor now takes aTreeConfigargument.ActionTree:with_configandupdate_configmethods are removed.
TreeConfig:merging_thresholdfield is added.PostFlopGame:private_hand_cardsmethod is renamed toprivate_cards.
- struct
GameConfigis split intoCardConfigandTreeConfig. - new struct
ActionTreeis added: takesTreeConfigfor instantiation. - now
PostFlopGametakesCardConfigandActionTreefor instantiation. add_all_in_thresholdandforce_all_in_thresholdare renamed toadd_allin_thresholdandforce_allin_threshold, respectively (all_in->allin).adjust_bet_size_before_all_in(renamed fromadjust_last_two_bet_sizes) is removed.
- enum
BetSizehas new variants:Additive(i32),Geometric(i32, f32), andAllIn. BetSize::LastBetRelativeis 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_sizesfield ofGameConfigstruct is renamed toadjust_bet_size_before_all_in.
- struct
GameConfighas new fields:turn_donk_sizesandriver_donk_sizes. Their types areOption<DonkSizeCandidates>. Specify these asNoneto maintain the previous behavior.