se.lth.cs.nlp.nlputils.deptree
Class DepGraph
java.lang.Object
  
se.lth.cs.nlp.nlputils.deptree.DepGraph
public class DepGraph
- extends Object
 
A dependency graph consisting of an array of nodes.
 
 The first node should be a dummy root node.
- Author:
 
  - Richard Johansson (richard@cs.lth.se)
 
 
 
| 
Method Summary | 
 void | 
print()
 
          Prints the graph to stdout. | 
 void | 
print(PrintWriter out)
 
          Prints the graph to a writer. | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
nodes
public DepNode[] nodes
- The array of nodes.
 
DepGraph
public DepGraph()
print
public void print()
- Prints the graph to stdout.
 
 
print
public void print(PrintWriter out)
- Prints the graph to a writer.
- Parameters:
 out - the writer.