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>>
TheStopOperator
decides ifCpaAlgorithm
should stop.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
stop(StateT abstractState, java.util.Collection<StateT> reachedAbstractStates, Precision precision)
The operator may decide based on the (generalized under the givenprecision
) convergence.
-
-
-
Method Detail
-
stop
boolean stop(StateT abstractState, java.util.Collection<StateT> reachedAbstractStates, Precision precision)
The operator may decide based on the (generalized under the givenprecision
) convergence. In this case it needs to look up theabstractState
in thereachedAbstractStates
. Otherwise, it can returntrue
if sufficient information is collected, e.g., a safety property is violated.
-
-