Enum monster::engine::rarity_simulation::MeanType [−][src]
pub enum MeanType { Arithmetic, Harmonic, }
Expand description
Strategy for mean calculation
Based on the value counters, the rarity simulator calculates a score that is used to determine a state’s rarity. This score is essential for the decision which states shall be further pursued and which shall be discarded.
Variants
Mean is calculated using the arithmetic mean, i.e. the sum of all statistic counters divided by the amount of states. Lower scores are more rare
Mean is calculated using the harmonic mean, i.e. the amount of states divided by the sum of residues of statistic counters. Higher scores are more rare.
Trait Implementations
Names of the variants of this enum
Auto Trait Implementations
impl RefUnwindSafe for MeanType
impl UnwindSafe for MeanType
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V