pub struct DropSelfLoops {}Expand description
Preprocessor that drops self loops from the threshold automaton if the transition rule has no effect on the shared variables
This threshold automaton preprocessor removes self loops from the threshold automaton if the transition rule has no effect on the shared variables.
Such a self loop does not change the location of any process, nor does it change the valuations of any shared variables. Therefore, it can be safely removed from the threshold automaton.
Implementations§
Source§impl DropSelfLoops
impl DropSelfLoops
Trait Implementations§
Source§impl Default for DropSelfLoops
impl Default for DropSelfLoops
Source§impl<T: ModifiableThresholdAutomaton, S: TargetSpec, C: ModelCheckerContext> Preprocessor<T, S, C> for DropSelfLoops
impl<T: ModifiableThresholdAutomaton, S: TargetSpec, C: ModelCheckerContext> Preprocessor<T, S, C> for DropSelfLoops
Auto Trait Implementations§
impl Freeze for DropSelfLoops
impl RefUnwindSafe for DropSelfLoops
impl Send for DropSelfLoops
impl Sync for DropSelfLoops
impl Unpin for DropSelfLoops
impl UnwindSafe for DropSelfLoops
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