Struct monster::engine::rarity_simulation::RaritySimulationOptions [−][src]
pub struct RaritySimulationOptions { pub memory_size: ByteSize, pub amount_of_states: usize, pub step_size: u64, pub selection: usize, pub iterations: u64, pub copy_init_ratio: f64, pub mean: MeanType, }
Fields
memory_size: ByteSize
The size of the machine’s memory
amount_of_states: usize
The number of states to pursue
step_size: u64
The amount of instructions to execute for each state on each iteration
selection: usize
Amount of (rarest) states that shall be further considered at the end of each iteration.
iterations: u64
The amount of rarity simulation iterations to perform
copy_init_ratio: f64
After discarding least rare and exited states, determines how much new states shall
be copied from the remaining (rare) states and, in inverse, how much shall be newly
created relative to the amount of missing states to archive number_of_states
.
Must be between 0 and 1.
mean: MeanType
The mean to use for determining state rarity
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for RaritySimulationOptions
impl Send for RaritySimulationOptions
impl Sync for RaritySimulationOptions
impl Unpin for RaritySimulationOptions
impl UnwindSafe for RaritySimulationOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V