|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.linguistics.kif.Graph
public class Graph
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 |
|---|
public Graph()
| Method Detail |
|---|
public static java.util.ArrayList createGraph(KB kb,
java.lang.String term,
java.lang.String relation,
int above,
int below,
java.lang.String indentChars)
kb - the knowledge base being graphedterm - the term in the KB being graphedrelation - the binary relation that is used to forms the arcs in
the graph.above - the number of levels above the given term in the graphbelow - the number of levels below the given term in the graphindentChars - a String of characters to be used for indenting the
terms
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||