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