org.civi.graph
Class GraphModeler
java.lang.Object
org.civi.graph.GraphModeler
- public class GraphModeler
- extends java.lang.Object
This class generates a graph. It is possible to add a document, a keyword or a
edge.
- Author:
- Michael Scholz
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphModeler
public GraphModeler()
getGraph
public Graph getGraph()
addDocument
public Vertex addDocument(CiviDocument doc)
addKeyword
public Vertex addKeyword(CiviKeyword kw)
addEdge
public Edge addEdge(Vertex v1,
Vertex v2,
float weight)