|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgrapht.graph.AbstractGraph<V,E>
org.jgrapht.graph.AbstractBaseGraph<V,E>
org.jgrapht.graph.SimpleGraph<VStrahler,E>
org.javanetworkanalyzer.model.StrahlerTree<E>
E - Edge class.public class StrahlerTree<E>
A tree for use in the Strahler algorithm.
| Constructor Summary | |
|---|---|
StrahlerTree(Class<? extends E> edgeClass)
|
|
StrahlerTree(org.jgrapht.EdgeFactory<VStrahler,E> ef)
|
|
| Method Summary | |
|---|---|
E |
addEdge(int source,
int target)
Add an edge from the vertex with id source to the vertex with id target. |
VStrahler |
getRootVertex()
Return the root vertex. |
VStrahler |
getVertex(int id)
Get the vertex with the given id. |
void |
setRootVertex(int id)
Set the root vertex as the vertex with the given id. |
| Methods inherited from class org.jgrapht.graph.AbstractBaseGraph |
|---|
addEdge, addEdge, addVertex, clone, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, incomingEdgesOf, inDegreeOf, isAllowingLoops, isAllowingMultipleEdges, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setEdgeSetFactory, setEdgeWeight, vertexSet |
| Methods inherited from class org.jgrapht.graph.AbstractGraph |
|---|
assertVertexExist, containsEdge, equals, hashCode, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toString, toStringFromSets |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jgrapht.UndirectedGraph |
|---|
degreeOf |
| Methods inherited from interface org.jgrapht.Graph |
|---|
addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet |
| Constructor Detail |
|---|
public StrahlerTree(Class<? extends E> edgeClass)
AbstractBaseGraphpublic StrahlerTree(org.jgrapht.EdgeFactory<VStrahler,E> ef)
AbstractBaseGraph| Method Detail |
|---|
public VStrahler getVertex(int id)
id - Id.
public void setRootVertex(int id)
id - Id.public VStrahler getRootVertex()
public E addEdge(int source,
int target)
source - Source id.target - Target Id.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||