Interface ShrinkableAutomaton<S,​I,​T,​SP,​TP>

    • Method Detail

      • unlinkState

        static <S,​I,​T,​SP,​TP> void unlinkState​(MutableAutomaton<S,​I,​T,​SP,​TP> automaton,
                                                                      S state,
                                                                      @Nullable S replacement,
                                                                      Collection<I> inputs)
      • removeState

        default void removeState​(S state)
        removes a state from the automaton.
        Parameters:
        state - state to be removed
      • removeState

        void removeState​(S state,
                         @Nullable S replacement)
        Removes a state from the automaton. All ingoing transitions to this state are redirected to the given replacement state. If a null replacement is given, then this method behaves like the above removeState(Object).
        Parameters:
        state - the state to remove
        replacement - the replacement state, or null