edu.toronto.cs.davinci
Class DaVinciGraph
java.lang.Object
edu.toronto.cs.davinci.DaVinciGraph
public class DaVinciGraph
- extends java.lang.Object
This class representats a DaVinci graph as a list of terms. It
follows a Builder design pattern to allow construction of graphs
that can be dumped to DaVinci format
- Version:
- 1.0
- Author:
- Arie Gurfinkel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DaVinciGraph
public DaVinciGraph()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
node
public DaVinciGraph.FullNode node()
ref
public DaVinciGraph.RefNode ref(DaVinciGraph.FullNode node)
pad
public static java.lang.StringBuffer pad(int length,
java.lang.String s,
char character)
translateColour
public static java.lang.StringBuffer translateColour(java.lang.Object colour)
main
public static void main(java.lang.String[] args)
- Tester method