Package proguard.analysis.cpa.defaults
Class StopAlwaysOperator<StateT extends AbstractState<StateT>>
java.lang.Object
proguard.analysis.cpa.defaults.StopAlwaysOperator<StateT>
- Type Parameters:
StateT- The type of the analyzed states.
- All Implemented Interfaces:
StopOperator<StateT>
public final class StopAlwaysOperator<StateT extends AbstractState<StateT>>
extends Object
implements StopOperator<StateT>
This
StopOperator always returns true, i.e., it can be used for a single pass of the
analysis.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstop(StateT abstractState, Collection<StateT> reachedAbstractStates, Precision precision) The operator may decide based on the (generalized under the givenprecision) convergence.
-
Constructor Details
-
StopAlwaysOperator
public StopAlwaysOperator()
-
-
Method Details
-
stop
public boolean stop(StateT abstractState, 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>>
-