pub enum LTLFormula {
Atom(String),
Not(Box<LTLFormula>),
And(Box<LTLFormula>, Box<LTLFormula>),
Or(Box<LTLFormula>, Box<LTLFormula>),
Next(Box<LTLFormula>),
Globally(Box<LTLFormula>),
Finally(Box<LTLFormula>),
Until(Box<LTLFormula>, Box<LTLFormula>),
}Expand description
Linear temporal logic (LTL) formula.
Variants§
Atom(String)
Not(Box<LTLFormula>)
And(Box<LTLFormula>, Box<LTLFormula>)
Or(Box<LTLFormula>, Box<LTLFormula>)
Next(Box<LTLFormula>)
Globally(Box<LTLFormula>)
Finally(Box<LTLFormula>)
Until(Box<LTLFormula>, Box<LTLFormula>)
Implementations§
Source§impl LTLFormula
impl LTLFormula
pub fn atom(s: &str) -> Self
pub fn safety(phi: LTLFormula) -> Self
pub fn liveness(phi: LTLFormula) -> Self
pub fn is_temporal(&self) -> bool
pub fn depth(&self) -> usize
Trait Implementations§
Source§impl Clone for LTLFormula
impl Clone for LTLFormula
Source§fn clone(&self) -> LTLFormula
fn clone(&self) -> LTLFormula
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 moreAuto Trait Implementations§
impl Freeze for LTLFormula
impl RefUnwindSafe for LTLFormula
impl Send for LTLFormula
impl Sync for LTLFormula
impl Unpin for LTLFormula
impl UnsafeUnpin for LTLFormula
impl UnwindSafe for LTLFormula
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