pub struct BarrierResult {
pub value: f64,
pub is_safe: bool,
pub budget_remaining: f64,
pub change_rate: f64,
}Expand description
Result of evaluating the barrier certificate.
Fields§
§value: f64The barrier function value B(x1, x2).
is_safe: boolWhether the state is in the safe region (B > 0).
budget_remaining: f64The budget_remaining input.
change_rate: f64The change_rate input.
Trait Implementations§
Source§impl Clone for BarrierResult
impl Clone for BarrierResult
Source§fn clone(&self) -> BarrierResult
fn clone(&self) -> BarrierResult
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 BarrierResult
impl Debug for BarrierResult
Source§impl PartialEq for BarrierResult
impl PartialEq for BarrierResult
impl Copy for BarrierResult
impl StructuralPartialEq for BarrierResult
Auto Trait Implementations§
impl Freeze for BarrierResult
impl RefUnwindSafe for BarrierResult
impl Send for BarrierResult
impl Sync for BarrierResult
impl Unpin for BarrierResult
impl UnsafeUnpin for BarrierResult
impl UnwindSafe for BarrierResult
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