pub struct ZCSModelCheckerContext<'a> {
pub(crate) ctx: &'a SMTBddContext,
pub(crate) heuristics: ZCSModelCheckerHeuristics,
pub(crate) ta: &'a IntervalThresholdAutomaton,
pub(crate) spec: &'a DisjunctionTargetConfig,
pub(crate) print_spurious_ce: bool,
}Expand description
This struct contains all the necessary configurations when using the symbolic model checker (ZCS model checker)
Fields§
§ctx: &'a SMTBddContextused smt and bdd libraries
heuristics: ZCSModelCheckerHeuristicsunderlying heuristics
ta: &'a IntervalThresholdAutomatonunderlying TA
spec: &'a DisjunctionTargetConfigunderlying specification
print_spurious_ce: boolindicates if the symbolic model checker should print spurious counterexamples
Implementations§
Source§impl<'a> ZCSModelCheckerContext<'a>
impl<'a> ZCSModelCheckerContext<'a>
Sourcepub(crate) fn new(
ctx: &'a SMTBddContext,
heuristics: ZCSModelCheckerHeuristics,
ta: &'a IntervalThresholdAutomaton,
spec: &'a DisjunctionTargetConfig,
) -> Self
pub(crate) fn new( ctx: &'a SMTBddContext, heuristics: ZCSModelCheckerHeuristics, ta: &'a IntervalThresholdAutomaton, spec: &'a DisjunctionTargetConfig, ) -> Self
creates a new symbolic model checker context
Sourcepub(crate) fn smt_bdd_context(&self) -> &SMTBddContext
pub(crate) fn smt_bdd_context(&self) -> &SMTBddContext
returns the SMTBddContext
Sourcepub(crate) fn heuristics(&self) -> ZCSModelCheckerHeuristics
pub(crate) fn heuristics(&self) -> ZCSModelCheckerHeuristics
returns the heuristics
Sourcepub(crate) fn print_spurious_ce(&self) -> bool
pub(crate) fn print_spurious_ce(&self) -> bool
returns if spurious counterexamples should be printed
Auto Trait Implementations§
impl<'a> Freeze for ZCSModelCheckerContext<'a>
impl<'a> !RefUnwindSafe for ZCSModelCheckerContext<'a>
impl<'a> !Send for ZCSModelCheckerContext<'a>
impl<'a> !Sync for ZCSModelCheckerContext<'a>
impl<'a> Unpin for ZCSModelCheckerContext<'a>
impl<'a> !UnwindSafe for ZCSModelCheckerContext<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more