Package proguard.analysis.cpa.interfaces
Interface StopOperator<StateT extends AbstractState<StateT>>
- Type Parameters:
StateT- The type of the analyzed states.
- All Known Implementing Classes:
StopAlwaysOperator,StopContainedOperator,StopJoinOperator,StopNeverOperator,StopSepOperator
public interface StopOperator<StateT extends AbstractState<StateT>>
The
StopOperator decides if CpaAlgorithm should
stop.-
Method Summary
Modifier and TypeMethodDescriptionbooleanstop(StateT abstractState, Collection<StateT> reachedAbstractStates, Precision precision) The operator may decide based on the (generalized under the givenprecision) convergence.
-
Method Details
-
stop
The operator may decide based on the (generalized under the givenprecision) convergence. In this case it needs to look up theabstractStatein thereachedAbstractStates. Otherwise, it can returntrueif sufficient information is collected, e.g., a safety property is violated.
-