clock-dbm 0.1.0
README badge
[](https://proofs.rs/crate/clock-dbm?version=0.1.0)Difference bound matrices (DBMs) over packed i32 bounds for timed-automata zones
Reports (1)
Findings (0)
No findings reported for this version.
APIs (408)
APIClaims · findings
Functions
No functions.
Associated functions
impl Bound
impl Clock
impl Constraint
impl Dbm
pub fn try_from_constraints(variables: usize, cs: &[Constraint], ws: &mut Workspace) -> Result<Dbm, Error>1 claimimpl MaxBounds
impl SharedDbm
pub fn try_from_constraints(variables: usize, cs: &[Constraint], ws: &mut Workspace) -> Result<SharedDbm, Error>1 claimimpl Variable
impl Workspace
pub fn new() -> Workspace—pub fn with_capacity(variables: usize) -> Workspace—impl bounds::Bound
pub const fn le(c: i32) -> Result<Bound, Error>—pub const fn lt(c: i32) -> Result<Bound, Error>—impl bounds::Clock
pub const fn new(index: usize) -> Option<Clock>—impl bounds::Constraint
pub const fn le(i: Clock, j: Clock, c: i32) -> Result<Constraint, Error>—pub const fn lt(i: Clock, j: Clock, c: i32) -> Result<Constraint, Error>—pub const fn new(i: Clock, j: Clock, bound: Bound) -> Constraint—impl bounds::Variable
pub const fn new(index: usize) -> Option<Variable>—impl dbm::Dbm
pub fn empty(variables: usize) -> Result<Dbm, Error>—pub fn try_from_constraints(variables: usize, cs: &[Constraint], ws: &mut Workspace) -> Result<Dbm, Error>—pub fn universe(variables: usize) -> Result<Dbm, Error>—pub fn zero(variables: usize) -> Result<Dbm, Error>—impl dbm::Workspace
pub fn new() -> Workspace—pub fn with_capacity(variables: usize) -> Workspace—impl ops::extra_m::MaxBounds
pub fn new(ceilings: Vec<i32>) -> Result<MaxBounds, Error>—impl shared::SharedDbm
pub fn empty(variables: usize) -> Result<SharedDbm, Error>—pub fn try_from_constraints(variables: usize, cs: &[Constraint], ws: &mut Workspace) -> Result<SharedDbm, Error>—pub fn universe(variables: usize) -> Result<SharedDbm, Error>—pub fn zero(variables: usize) -> Result<SharedDbm, Error>—Methods
impl Bound
pub const fn checked_add(self: Self, other: Bound) -> Result<Bound, Error>1 claimpub const fn is_infinite(self: Self) -> bool1 claimimpl Clock
impl Constraint
impl Dbm
pub fn difference_bound(self: &Self, i: Clock, j: Clock) -> Result<Option<Bound>, Error>1 claimpub fn intersects_constraint(self: &Self, c: &Constraint) -> Result<bool, Error>1 claimpub fn is_subset_of(self: &Self, other: &Dbm) -> Result<bool, Error>1 claimpub fn try_constrain(self: Self, c: Constraint) -> Result<Dbm, Error>1 claimpub fn try_constrain_all(self: Self, cs: &[Constraint], ws: &mut Workspace) -> Result<Dbm, Error>1 claimpub fn try_extrapolate_max(self: Self, bounds: &MaxBounds, ws: &mut Workspace) -> Result<Dbm, Error>1 claimpub fn try_intersect(self: Self, other: &Dbm, ws: &mut Workspace) -> Result<Dbm, Error>1 claimpub fn try_reset_zero(self: Self, x: Variable) -> Result<Dbm, Error>1 claimimpl MaxBounds
impl SharedDbm
pub fn difference_bound(self: &Self, i: Clock, j: Clock) -> Result<Option<Bound>, Error>1 claimpub fn intersects_constraint(self: &Self, c: &Constraint) -> Result<bool, Error>1 claimpub fn is_subset_of(self: &Self, other: &SharedDbm) -> Result<bool, Error>1 claimpub fn try_constrain(self: Self, c: Constraint) -> Result<SharedDbm, Error>1 claimpub fn try_constrain_all(self: Self, cs: &[Constraint], ws: &mut Workspace) -> Result<SharedDbm, Error>1 claimpub fn try_extrapolate_max(self: Self, bounds: &MaxBounds, ws: &mut Workspace) -> Result<SharedDbm, Error>1 claimpub fn try_intersect(self: Self, other: &SharedDbm, ws: &mut Workspace) -> Result<SharedDbm, Error>1 claimpub fn try_reset_zero(self: Self, x: Variable) -> Result<SharedDbm, Error>1 claimimpl Variable
impl bounds::Bound
pub const fn checked_add(self: Self, other: Bound) -> Result<Bound, Error>—pub const fn constant(self: Self) -> Option<i32>—pub const fn is_infinite(self: Self) -> bool—pub const fn is_strict(self: Self) -> bool—impl bounds::Clock
pub const fn index(self: Self) -> usize—impl bounds::Constraint
pub const fn bound(self: Self) -> Bound—pub const fn i(self: Self) -> Clock—pub const fn j(self: Self) -> Clock—impl bounds::Variable
pub const fn index(self: Self) -> usize—impl dbm::Dbm
pub fn difference_bound(self: &Self, i: Clock, j: Clock) -> Result<Option<Bound>, Error>—pub fn dimension(self: &Self) -> usize—pub fn entails(self: &Self, c: &Constraint) -> Result<bool, Error>—pub fn future(self: Self) -> Dbm—pub fn intersects_constraint(self: &Self, c: &Constraint) -> Result<bool, Error>—pub fn is_empty(self: &Self) -> bool—pub fn is_subset_of(self: &Self, other: &Dbm) -> Result<bool, Error>—pub fn past(self: Self) -> Dbm—pub fn try_constrain(self: Self, c: Constraint) -> Result<Dbm, Error>—pub fn try_constrain_all(self: Self, cs: &[Constraint], ws: &mut Workspace) -> Result<Dbm, Error>—pub fn try_extrapolate_max(self: Self, bounds: &MaxBounds, ws: &mut Workspace) -> Result<Dbm, Error>—pub fn try_free(self: Self, x: Variable) -> Result<Dbm, Error>—pub fn try_intersect(self: Self, other: &Dbm, ws: &mut Workspace) -> Result<Dbm, Error>—pub fn try_reset(self: Self, x: Variable, value: i32) -> Result<Dbm, Error>—pub fn try_reset_zero(self: Self, x: Variable) -> Result<Dbm, Error>—pub fn variables(self: &Self) -> usize—impl ops::extra_m::MaxBounds
pub fn get(self: &Self, x: Variable) -> Option<i32>—pub fn variables(self: &Self) -> usize—impl shared::SharedDbm
pub fn as_dbm(self: &Self) -> &Dbm—pub fn difference_bound(self: &Self, i: Clock, j: Clock) -> Result<Option<Bound>, Error>—pub fn dimension(self: &Self) -> usize—pub fn entails(self: &Self, c: &Constraint) -> Result<bool, Error>—pub fn future(self: Self) -> SharedDbm—pub fn intersects_constraint(self: &Self, c: &Constraint) -> Result<bool, Error>—pub fn into_dbm(self: Self) -> Dbm—pub fn is_empty(self: &Self) -> bool—pub fn is_subset_of(self: &Self, other: &SharedDbm) -> Result<bool, Error>—pub fn past(self: Self) -> SharedDbm—pub fn try_constrain(self: Self, c: Constraint) -> Result<SharedDbm, Error>—pub fn try_constrain_all(self: Self, cs: &[Constraint], ws: &mut Workspace) -> Result<SharedDbm, Error>—pub fn try_extrapolate_max(self: Self, bounds: &MaxBounds, ws: &mut Workspace) -> Result<SharedDbm, Error>—pub fn try_free(self: Self, x: Variable) -> Result<SharedDbm, Error>—pub fn try_intersect(self: Self, other: &SharedDbm, ws: &mut Workspace) -> Result<SharedDbm, Error>—pub fn try_reset(self: Self, x: Variable, value: i32) -> Result<SharedDbm, Error>—pub fn try_reset_zero(self: Self, x: Variable) -> Result<SharedDbm, Error>—pub fn variables(self: &Self) -> usize—