pub struct DropUnsatisfiableRules {}Expand description
Preprocessor that drops rules where the guards are unsatisfiable
This preprocessor encodes the resilience condition of the threshold automaton into an SMT solver and checks whether rule guards are satisfiable.
If a rule guard is unsatisfiable, the rule is removed from the threshold automaton.
This preprocessing step is useful for machine generated threshold automata or if the resilience condition is complex. As it uses an SMT solver, it can be very expensive.
Implementations§
Trait Implementations§
Source§impl Default for DropUnsatisfiableRules
impl Default for DropUnsatisfiableRules
Source§impl<T: ModifiableThresholdAutomaton, S: TargetSpec, C: ModelCheckerContext + ProvidesSMTSolverBuilder> Preprocessor<T, S, C> for DropUnsatisfiableRules
impl<T: ModifiableThresholdAutomaton, S: TargetSpec, C: ModelCheckerContext + ProvidesSMTSolverBuilder> Preprocessor<T, S, C> for DropUnsatisfiableRules
Auto Trait Implementations§
impl Freeze for DropUnsatisfiableRules
impl RefUnwindSafe for DropUnsatisfiableRules
impl Send for DropUnsatisfiableRules
impl Sync for DropUnsatisfiableRules
impl Unpin for DropUnsatisfiableRules
impl UnwindSafe for DropUnsatisfiableRules
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