Interface GraphIterator.NodeAcceptor<T extends DirectedGraphNode>

Enclosing class:
GraphIterator

public static interface GraphIterator.NodeAcceptor<T extends DirectedGraphNode>
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    acceptNode(T node, int depth)
    Used while searching.
  • Method Details

    • acceptNode

      boolean acceptNode(T node, int depth)
      Used while searching. If this method returns false for a certain node, then this node is not added to the search result and the search does not continue along this node.
      Parameters:
      edge -
      Returns: