pub struct LtlModelChecker {
pub kripke: KripkeStructure,
}Expand description
LTL model checker: automaton-theoretic approach via Büchi automata.
Fields§
§kripke: KripkeStructureThe Kripke structure to check.
Implementations§
Source§impl LtlModelChecker
impl LtlModelChecker
Sourcepub fn new(kripke: KripkeStructure) -> Self
pub fn new(kripke: KripkeStructure) -> Self
Create a new LTL model checker for the given Kripke structure.
Sourcepub fn check_ltl(&self, formula: &LtlFormula) -> bool
pub fn check_ltl(&self, formula: &LtlFormula) -> bool
Check whether the Kripke structure satisfies the LTL formula. This is a placeholder that always returns true for trivially-safe formulas.
Sourcepub fn find_counterexample(
&self,
formula: &LtlFormula,
) -> Option<CounterExample>
pub fn find_counterexample( &self, formula: &LtlFormula, ) -> Option<CounterExample>
Attempt to find a counterexample for the given LTL formula.
Sourcepub fn synthesize_strategy(&self, _formula: &LtlFormula) -> Option<String>
pub fn synthesize_strategy(&self, _formula: &LtlFormula) -> Option<String>
Synthesize a strategy (stub).
Trait Implementations§
Source§impl Clone for LtlModelChecker
impl Clone for LtlModelChecker
Source§fn clone(&self) -> LtlModelChecker
fn clone(&self) -> LtlModelChecker
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 LtlModelChecker
impl RefUnwindSafe for LtlModelChecker
impl Send for LtlModelChecker
impl Sync for LtlModelChecker
impl Unpin for LtlModelChecker
impl UnsafeUnpin for LtlModelChecker
impl UnwindSafe for LtlModelChecker
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