Interface NodeAcceptance<N>

Type Parameters:
N - node class
All Known Subinterfaces:
AcceptanceGraph<N,E>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface NodeAcceptance<N>
Node acceptance concept, for Graphs that represent a structure for deciding acceptance or rejection.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks whether a node is an accepting node.
  • Method Details

    • isAcceptingNode

      boolean isAcceptingNode(N node)
      Checks whether a node is an accepting node.
      Parameters:
      node - the node
      Returns:
      true if the given node is an accepting node, false otherwise.