pub struct SimulationResult {
pub trace: Vec<TraceEvent>,
pub states: Vec<AgentState>,
pub convergence: ConvergenceReport,
pub interesting_state_reached: bool,
}Expand description
Completed simulation run with trace and convergence output.
Fields§
§trace: Vec<TraceEvent>Full deterministic execution trace.
states: Vec<AgentState>Final per-agent states after drain.
convergence: ConvergenceReportConvergence report from oracle.
interesting_state_reached: boolWhether at least one interesting fault state occurred.
Implementations§
Source§impl SimulationResult
impl SimulationResult
Sourcepub fn trace_fingerprint(&self) -> u64
pub fn trace_fingerprint(&self) -> u64
Stable fingerprint for comparing traces across reruns.
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 moreSource§impl Debug for SimulationResult
impl Debug for SimulationResult
Source§impl PartialEq for SimulationResult
impl PartialEq for SimulationResult
impl Eq for SimulationResult
impl StructuralPartialEq for SimulationResult
Auto 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