pub struct SimulationConfig {
pub scenario: ScenarioSelection,
pub output_root: String,
pub n_steps: usize,
pub delta: usize,
pub prediction_horizon: usize,
pub max_iterations: usize,
pub max_recursion_depth: usize,
pub convergence_tolerance: f64,
pub trust_threshold: f64,
pub min_trust_gap: f64,
pub kernel: KernelKind,
}Fields§
§scenario: ScenarioSelection§output_root: String§n_steps: usize§delta: usize§prediction_horizon: usize§max_iterations: usize§max_recursion_depth: usize§convergence_tolerance: f64§trust_threshold: f64§min_trust_gap: f64§kernel: KernelKindImplementations§
Source§impl SimulationConfig
impl SimulationConfig
pub fn from_cli(cli: Cli) -> Result<Self>
pub fn from_json_file(path: &Path) -> Result<Self>
pub fn output_root_path(&self) -> PathBuf
pub fn stable_hash(&self) -> Result<String>
Trait Implementations§
Source§impl Clone for SimulationConfig
impl Clone for SimulationConfig
Source§fn clone(&self) -> SimulationConfig
fn clone(&self) -> SimulationConfig
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 SimulationConfig
impl Debug for SimulationConfig
Source§impl Default for SimulationConfig
impl Default for SimulationConfig
Source§impl<'de> Deserialize<'de> for SimulationConfig
impl<'de> Deserialize<'de> for SimulationConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SimulationConfig
impl RefUnwindSafe for SimulationConfig
impl Send for SimulationConfig
impl Sync for SimulationConfig
impl Unpin for SimulationConfig
impl UnsafeUnpin for SimulationConfig
impl UnwindSafe for SimulationConfig
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