org.civi.graph
Class GraphModeler

java.lang.Object
  extended byorg.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

Constructor Summary
GraphModeler()
           
 
Method Summary
 Vertex addDocument(CiviDocument doc)
           
 Edge addEdge(Vertex v1, Vertex v2, float weight)
           
 Vertex addKeyword(CiviKeyword kw)
           
 Graph getGraph()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphModeler

public GraphModeler()
Method Detail

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)