Class StopAlwaysOperator

  • All Implemented Interfaces:
    StopOperator

    public final class StopAlwaysOperator
    extends java.lang.Object
    implements StopOperator
    This StopOperator always returns true, i.e., it can be used for a single pass of the analysis.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean stop​(AbstractState abstractState, java.util.Collection<? extends AbstractState> reachedAbstractStates, Precision precision)
      The operator may decide based on the (generalized under the given precision) convergence.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StopAlwaysOperator

        public StopAlwaysOperator()
    • Method Detail

      • stop

        public boolean stop​(AbstractState abstractState,
                            java.util.Collection<? extends AbstractState> 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