Interface AcceptorTS<S,​I>

    • Method Detail

      • accepts

        default boolean accepts​(Iterable<? extends I> input)
        Determines whether the given input word is accepted by this acceptor.
        Parameters:
        input - the input word.
        Returns:
        true if the input word is accepted, false otherwise.
      • isAccepting

        boolean isAccepting​(S state)
        Checks whether the given state is accepting.
        Parameters:
        state - the state
        Returns:
        true if the state is accepting, false otherwise.
      • isAccepting

        boolean isAccepting​(Collection<? extends S> states)
      • getSuccessor

        default S getSuccessor​(S transition)
        Description copied from interface: TransitionSystem
        Retrieves the successor state of a given transition.
        Specified by:
        getSuccessor in interface TransitionSystem<S,​I,​S>
        Parameters:
        transition - the transition.
        Returns:
        the successor state.