b-inary / postflop-solver

[Development suspended] An efficient open-source postflop solver library written in Rust
GNU Affero General Public License v3.0
246 stars 97 forks source link

add Range::get_hands_weights #7

Closed ydm closed 2 years ago

ydm commented 2 years ago

This commit lets Range manage its own card+weight mechanism by adding pub fn Range::get_hands_weights and uses it in PostFlopGame instead of manual card iteration.

b-inary commented 2 years ago

I will make some minor changes later, but anyway thanks for contributing!