org.jscience.linguistics.kif
Class Graph

java.lang.Object
  extended by org.jscience.linguistics.kif.Graph

public class Graph
extends java.lang.Object

Handle operations for creating a graphical representation of partial ordering relations. Supports Graph.jsp.


Constructor Summary
Graph()
           
 
Method Summary
static java.util.ArrayList createGraph(KB kb, java.lang.String term, java.lang.String relation, int above, int below, java.lang.String indentChars)
          Create a ArrayList with a set of terms comprising a hierarchy Each term String will be prefixed with an appropriate number of indentChars.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Graph

public Graph()
Method Detail

createGraph

public static java.util.ArrayList createGraph(KB kb,
                                              java.lang.String term,
                                              java.lang.String relation,
                                              int above,
                                              int below,
                                              java.lang.String indentChars)
Create a ArrayList with a set of terms comprising a hierarchy Each term String will be prefixed with an appropriate number of indentChars.

Parameters:
kb - the knowledge base being graphed
term - the term in the KB being graphed
relation - the binary relation that is used to forms the arcs in the graph.
above - the number of levels above the given term in the graph
below - the number of levels below the given term in the graph
indentChars - a String of characters to be used for indenting the terms
Returns:
DOCUMENT ME!