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: ByteSizeThe size of the machine’s memory
amount_of_states: usizeThe number of states to pursue
step_size: u64The amount of instructions to execute for each state on each iteration
selection: usizeAmount of (rarest) states that shall be further considered at the end of each iteration.
iterations: u64The amount of rarity simulation iterations to perform
copy_init_ratio: f64After 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: MeanTypeThe mean to use for determining state rarity
Trait Implementations§
Source§impl Clone for RaritySimulationOptions
impl Clone for RaritySimulationOptions
Source§fn clone(&self) -> RaritySimulationOptions
fn clone(&self) -> RaritySimulationOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RaritySimulationOptions
impl Debug for RaritySimulationOptions
Source§impl Default for RaritySimulationOptions
impl Default for RaritySimulationOptions
Source§fn default() -> RaritySimulationOptions
fn default() -> RaritySimulationOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RaritySimulationOptions
impl RefUnwindSafe for RaritySimulationOptions
impl Send for RaritySimulationOptions
impl Sync for RaritySimulationOptions
impl Unpin for RaritySimulationOptions
impl UnwindSafe for RaritySimulationOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more