|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.graph.algorithm.MinimumSpanningTree
This algorithm computes a minimum spanning tree for a given (connected) graph. The output graph has equivalent nodes and a subset of the original edges.
| Constructor Summary | |
MinimumSpanningTree()
Constructs a new stateless instance of the MinimumSpanningTree algorithm. |
|
| Method Summary | |
Graph |
apply(Graph input)
Outputs a new graph that is a tree. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MinimumSpanningTree()
MinimumSpanningTree algorithm.
| Method Detail |
public Graph apply(Graph input)
throws GraphException
apply in interface TransformAlgorithminput - the input Graph to examine, may not be
null.
GraphException - if the construction of the output
Graph failed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||