public class ArgStopOperator extends java.lang.Object implements StopOperator
StopOperator delegates the decision to the wrapped stop operator.| Modifier and Type | Field and Description |
|---|---|
protected StopOperator |
wrappedStopOperator |
| Constructor and Description |
|---|
ArgStopOperator(StopOperator wrappedStopOperator)
Create a wrapper stop operator around the given
StopOperator. |
| 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. |
protected final StopOperator wrappedStopOperator
public ArgStopOperator(StopOperator wrappedStopOperator)
StopOperator.wrappedStopOperator - a stop operator to be wrapped.public boolean stop(AbstractState abstractState, java.util.Collection<? extends AbstractState> reachedAbstractStates, Precision precision)
StopOperatorprecision) 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