pub fn build_tree_bounded(
cfg: &GameConfig,
max_decision_nodes: usize,
) -> Result<Tree, TreeError>Expand description
Builds the betting tree, stopping once it would exceed max_decision_nodes.
Callers must also bound input size and recursion depth (notably
max_raises). Successful trees have the same node ids and actions as
build_tree.
ยงErrors
Returns the same configuration errors as build_tree, or
TreeError::TooManyDecisionNodes when the budget is exceeded.