pub struct RemoveUnusedVariables {}Expand description
Preprocessor that removes unused variables from the threshold automaton
Implementations§
Source§impl RemoveUnusedVariables
impl RemoveUnusedVariables
fn get_unused_variables( ta: &GeneralThresholdAutomaton, ) -> impl Iterator<Item = &Variable>
fn remove_actions_using_variables(r: &mut Rule, vars: &[Variable])
Trait Implementations§
Source§impl Default for RemoveUnusedVariables
impl Default for RemoveUnusedVariables
Source§impl<S: TargetSpec, C: ModelCheckerContext> Preprocessor<GeneralThresholdAutomaton, S, C> for RemoveUnusedVariables
impl<S: TargetSpec, C: ModelCheckerContext> Preprocessor<GeneralThresholdAutomaton, S, C> for RemoveUnusedVariables
Auto Trait Implementations§
impl Freeze for RemoveUnusedVariables
impl RefUnwindSafe for RemoveUnusedVariables
impl Send for RemoveUnusedVariables
impl Sync for RemoveUnusedVariables
impl Unpin for RemoveUnusedVariables
impl UnwindSafe for RemoveUnusedVariables
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