public final class StopContainedOperator extends java.lang.Object implements StopOperator
StopOperator
returns true if the reached set contains the input AbstractState
.Constructor and Description |
---|
StopContainedOperator() |
Modifier and Type | Method and Description |
---|---|
boolean |
stop(AbstractState abstractState,
java.util.Collection<? extends AbstractState> reachedAbstractStates,
Precision precision)
The operator may decide based on the (generalized under the given
precision )
convergence. |
public boolean stop(AbstractState abstractState, java.util.Collection<? extends AbstractState> reachedAbstractStates, Precision precision)
StopOperator
precision
)
convergence. In this case it needs to look up the abstractState
in the reachedAbstractStates
. Otherwise, it can return true
if sufficient information is
collected, e.g., a safety property is violated.stop
in interface StopOperator