pub enum ExternalSelectionMode {
Random,
Sequential,
}Expand description
Scenario selection mode when SamplingScheme::External is active.
Controls whether external scenarios are replayed sequentially (useful for deterministic replay of a fixed test set) or drawn at random (useful for Monte Carlo evaluation with a large external library).
See Input Scenarios §1.8.
Variants§
Random
Scenarios are drawn uniformly at random from the external library.
Sequential
Scenarios are replayed in file order, cycling when the end is reached.
Trait Implementations§
Source§impl Clone for ExternalSelectionMode
impl Clone for ExternalSelectionMode
Source§fn clone(&self) -> ExternalSelectionMode
fn clone(&self) -> ExternalSelectionMode
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 ExternalSelectionMode
impl Debug for ExternalSelectionMode
Source§impl PartialEq for ExternalSelectionMode
impl PartialEq for ExternalSelectionMode
impl Copy for ExternalSelectionMode
impl Eq for ExternalSelectionMode
impl StructuralPartialEq for ExternalSelectionMode
Auto Trait Implementations§
impl Freeze for ExternalSelectionMode
impl RefUnwindSafe for ExternalSelectionMode
impl Send for ExternalSelectionMode
impl Sync for ExternalSelectionMode
impl Unpin for ExternalSelectionMode
impl UnsafeUnpin for ExternalSelectionMode
impl UnwindSafe for ExternalSelectionMode
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