pub struct SimulationResult {
pub config: MonteCarloConfig,
pub iterations_completed: usize,
pub execution_time_ms: u64,
pub outputs: HashMap<String, OutputResult>,
pub input_samples: HashMap<String, Vec<f64>>,
}Expand description
Result of a Monte Carlo simulation
Fields§
§config: MonteCarloConfigConfiguration used
iterations_completed: usizeNumber of iterations completed
execution_time_ms: u64Execution time in milliseconds
outputs: HashMap<String, OutputResult>Results for each tracked output variable
input_samples: HashMap<String, Vec<f64>>All sampled values for inputs (variable -> samples)
Implementations§
Trait Implementations§
Source§impl Clone for SimulationResult
impl Clone for SimulationResult
Source§fn clone(&self) -> SimulationResult
fn clone(&self) -> SimulationResult
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 moreAuto Trait Implementations§
impl Freeze for SimulationResult
impl RefUnwindSafe for SimulationResult
impl Send for SimulationResult
impl Sync for SimulationResult
impl Unpin for SimulationResult
impl UnsafeUnpin for SimulationResult
impl UnwindSafe for SimulationResult
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