StateT - The type of the analyzed states.public interface StopOperator<StateT extends AbstractState<StateT>>
StopOperator decides if CpaAlgorithm should
stop.| Modifier and Type | Method and Description |
|---|---|
boolean |
stop(StateT abstractState,
java.util.Collection<StateT> reachedAbstractStates,
Precision precision)
The operator may decide based on the (generalized under the given
precision)
convergence. |
boolean stop(StateT abstractState, java.util.Collection<StateT> reachedAbstractStates, Precision precision)
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.