Expand description
Pickers are used by Thinkers to determine which of its Scorers will “win”.
Structs§
- First
ToScore - Picker that chooses the first
Choicewith aScorehigher than its configuredthreshold. - Highest
- Picker that chooses the
Choicewith the highest non-zeroScore, and the first highest in case of a tie. - Highest
ToScore - Picker that chooses the highest
Choicewith aScorehigher than its configuredthreshold. - Reflect
Picker - A type generated by the #reflect_trait macro for the
Pickertrait.
Traits§
- Picker
- Required trait for Pickers. A Picker is given a slice of choices and a
query that can be passed into
Choice::calculate.