|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object urv.omolsr.util.GraphUtils<N,W>
public class GraphUtils<N,W>
This class is used to compute the minimum spanning tree for a network graph, that represents a multicast group. We find this tree using the Prim's Algorithm.
Field Summary | |
---|---|
(package private) Weight |
dummyWeight
|
Constructor Summary | |
---|---|
GraphUtils()
|
Method Summary | |
---|---|
NetworkGraph<N,W> |
computeMinimumSpanningTree(NetworkGraph<N,W> graph,
N source)
Computes a minimum spanning tree for the specified graph and source node |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final Weight dummyWeight
Constructor Detail |
---|
public GraphUtils()
Method Detail |
---|
public NetworkGraph<N,W> computeMinimumSpanningTree(NetworkGraph<N,W> graph, N source)
graph
- A network graphsource
- The source node to compute the tree from
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |