Skip to main content

hydr_structures/structures/controlled_gate/
event.rs

1//! Exact common decisions, arrival boundaries, and finite terminal support.
2
3/// Next strictly later common event with exact coincident flags.
4#[derive(Clone, Copy, Debug, PartialEq)]
5pub struct ControlledGateEvent {
6    /// Original represented event time in seconds.
7    pub time_s: f64,
8    /// Original simultaneous decision index, absent at arrival-only boundaries.
9    pub decision_index: Option<usize>,
10    /// Event reaches a retained earliest actuator arrival boundary.
11    pub arrival_lower_boundary: bool,
12    /// Event reaches a retained latest actuator arrival boundary.
13    pub arrival_upper_boundary: bool,
14    /// Event reaches the original common terminal horizon.
15    pub terminal: bool,
16}