|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectBasicGraphBuilder
BasicDirectedGraphBuilder
public class BasicDirectedGraphBuilder
An implementation of GraphBuilder used to build directed graphs.
DirectedGraph| Constructor Summary | |
|---|---|
BasicDirectedGraphBuilder()
|
|
| Method Summary | |
|---|---|
void |
addEdge(Edge edge)
Adds a directed edge to the graph. |
Edge |
buildEdge(Node nodeA,
Node nodeB)
Builds a directed edge. |
protected Graph |
buildGraph()
Creates a directed graph object. |
Node |
buildNode()
Builds a directed node. |
| Methods inherited from class BasicGraphBuilder |
|---|
addNode, clone, getEdges, getGraph, getNodes, importGraph, removeEdge, removeEdges, removeNode, removeNodes |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicDirectedGraphBuilder()
| Method Detail |
|---|
public Node buildNode()
buildNode in interface GraphBuilderbuildNode in class BasicGraphBuilderDirectedNode,
GraphBuilder.buildNode()
public Edge buildEdge(Node nodeA,
Node nodeB)
buildEdge in interface GraphBuilderbuildEdge in class BasicGraphBuildernodeA - Adjacent node to edge.nodeB - Adjacent node to edge.
DirectedEdge,
GraphBuilder#buildEdge()public void addEdge(Edge edge)
addEdge in interface GraphBuilderaddEdge in class BasicGraphBuilderedge - Edge to be added to graph.DirectedEdge,
GraphBuilder.addEdge(Edge)protected Graph buildGraph()
buildGraph in class BasicGraphBuilder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||