Struct pokerhandrange::SimpleRange [] [src]

pub struct SimpleRange { /* fields omitted */ }

The simplest of range types.

Methods

impl SimpleRange
[src]

Construct a range from a non-empty string of the kind "AA,AJs+". For more components, see the README.

Trait Implementations

impl Range for SimpleRange
[src]

Checks whether a card is in the range.

Draw a hand from the range, weighted by their combinatoric probability. Another option would be uniform probability for any component.