pub struct SimulationSummary {
pub iterations: usize,
pub p50_finish_hours: f64,
pub p80_finish_hours: f64,
pub p95_finish_hours: f64,
pub criticality: BTreeMap<WorkItemId, f64>,
pub sampled_std_dev_hours: f64,
pub milestones: BTreeMap<WorkItemId, MilestoneFinish>,
/* private fields */
}Expand description
Completion percentiles and per-activity criticality from sampled schedules.
Fields§
§iterations: usizeNumber of independently sampled schedules.
p50_finish_hours: f64Median sampled completion time in elapsed hours.
p80_finish_hours: f6480th percentile sampled completion time in elapsed hours.
p95_finish_hours: f6495th percentile sampled completion time in elapsed hours.
criticality: BTreeMap<WorkItemId, f64>Fraction of sampled schedules in which each activity is critical.
sampled_std_dev_hours: f64Sample standard deviation of the project finish in elapsed hours: the sampled spread, which includes every near-critical path.
milestones: BTreeMap<WorkItemId, MilestoneFinish>Sampled finish percentiles of every milestone in the projection.
Implementations§
Source§impl SimulationSummary
impl SimulationSummary
Sourcepub fn probability_by(&self, horizon_hours: f64) -> f64
pub fn probability_by(&self, horizon_hours: f64) -> f64
Fraction of sampled schedules whose project finish is at or before horizon_hours.
Trait Implementations§
Source§impl Clone for SimulationSummary
impl Clone for SimulationSummary
Source§impl Debug for SimulationSummary
impl Debug for SimulationSummary
Source§impl<'de> Deserialize<'de> for SimulationSummary
impl<'de> Deserialize<'de> for SimulationSummary
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 SimulationSummary
impl RefUnwindSafe for SimulationSummary
impl Send for SimulationSummary
impl Sync for SimulationSummary
impl Unpin for SimulationSummary
impl UnsafeUnpin for SimulationSummary
impl UnwindSafe for SimulationSummary
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