Package proguard.analysis.cpa.defaults
Class StopContainedOperator<StateT extends AbstractState<StateT>>
- java.lang.Object
-
- proguard.analysis.cpa.defaults.StopContainedOperator<StateT>
-
- Type Parameters:
StateT- The type of the analyzed states.
- All Implemented Interfaces:
StopOperator<StateT>
public final class StopContainedOperator<StateT extends AbstractState<StateT>> extends java.lang.Object implements StopOperator<StateT>
ThisStopOperatorreturns true if the reached set contains the inputAbstractState.
-
-
Constructor Summary
Constructors Constructor Description StopContainedOperator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanstop(StateT abstractState, java.util.Collection<StateT> reachedAbstractStates, Precision precision)The operator may decide based on the (generalized under the givenprecision) convergence.
-
-
-
Method Detail
-
stop
public boolean stop(StateT abstractState, java.util.Collection<StateT> reachedAbstractStates, Precision precision)
Description copied from interface:StopOperatorThe 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.- Specified by:
stopin interfaceStopOperator<StateT extends AbstractState<StateT>>
-
-