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 Object implements StopOperator<StateT>
This StopOperator returns true if the reached set contains the input AbstractState.
  • Constructor Details

    • StopContainedOperator

      public StopContainedOperator()
  • Method Details

    • stop

      public boolean stop(StateT abstractState, Collection<StateT> reachedAbstractStates, Precision precision)
      Description copied from interface: StopOperator
      The operator may decide based on the (generalized under the given 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.
      Specified by:
      stop in interface StopOperator<StateT extends AbstractState<StateT>>