pub struct ExperimentSpecBuilder { /* private fields */ }Expand description
Builder for ExperimentSpec.
Implementations§
Source§impl ExperimentSpecBuilder
impl ExperimentSpecBuilder
Sourcepub fn emc_reference(self, reference: &str) -> Self
pub fn emc_reference(self, reference: &str) -> Self
Set the EMC reference.
Sourcepub fn emc(self, emc: &EquationModelCard) -> Self
pub fn emc(self, emc: &EquationModelCard) -> Self
Set the EMC directly (extracts reference).
Sourcepub fn hypothesis(self, hypothesis: ExperimentHypothesis) -> Self
pub fn hypothesis(self, hypothesis: ExperimentHypothesis) -> Self
Set the hypothesis.
Sourcepub fn add_falsification_criterion(
self,
criterion: FalsificationCriterion,
) -> Self
pub fn add_falsification_criterion( self, criterion: FalsificationCriterion, ) -> Self
Add a falsification criterion.
Sourcepub fn replications(self, n: u32) -> Self
pub fn replications(self, n: u32) -> Self
Set number of replications.
Sourcepub fn run_length(self, length: f64) -> Self
pub fn run_length(self, length: f64) -> Self
Set run length.
Sourcepub fn description(self, description: &str) -> Self
pub fn description(self, description: &str) -> Self
Set description.
Trait Implementations§
Source§impl Debug for ExperimentSpecBuilder
impl Debug for ExperimentSpecBuilder
Source§impl Default for ExperimentSpecBuilder
impl Default for ExperimentSpecBuilder
Source§fn default() -> ExperimentSpecBuilder
fn default() -> ExperimentSpecBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExperimentSpecBuilder
impl RefUnwindSafe for ExperimentSpecBuilder
impl Send for ExperimentSpecBuilder
impl Sync for ExperimentSpecBuilder
impl Unpin for ExperimentSpecBuilder
impl UnsafeUnpin for ExperimentSpecBuilder
impl UnwindSafe for ExperimentSpecBuilder
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