Class Graph

java.lang.Object
org.apache.uima.internal.util.Graph

public class Graph extends Object
A simple graph class.
See Also:
  • Field Details

  • Constructor Details

    • Graph

      public Graph()
  • Method Details

    • getRoot

      public GraphNode getRoot()
      Returns:
      The root of the graph.
    • setRoot

      public void setRoot(GraphNode root)
      Set the root of the graph.
      Parameters:
      root - The root node.
    • getNodeCode

      protected static int getNodeCode(GraphNode n, Vector<GraphNode> nodes)
    • collectNodes

      public static void collectNodes(GraphNode n, Vector<GraphNode> nodes)