View Source Rollex.Histogram protocol (Rollex v0.7.1)
Link to this section Summary
Functions
Returns a map containing the odds for every possible result for a token
Link to this section Types
Specs
Specs
t() :: term()
Link to this section Functions
Specs
evaluate(token :: map(), current_effort :: non_neg_integer()) :: {histogram(), effort_count :: non_neg_integer()}
Returns a map containing the odds for every possible result for a token