V
- the graph vertex typeE
- the graph edge typeKruskalMinimumSpanningTree
instead.@Deprecated public class KruskalMinimumSpanningTree<V,E> extends Object implements MinimumSpanningTree<V,E>
Constructor and Description |
---|
KruskalMinimumSpanningTree(Graph<V,E> graph)
Deprecated.
Creates and executes a new KruskalMinimumSpanningTree algorithm instance.
|
Modifier and Type | Method and Description |
---|---|
Set<E> |
getMinimumSpanningTreeEdgeSet()
Deprecated.
Returns edges set constituting the minimum spanning tree/forest
|
double |
getMinimumSpanningTreeTotalWeight()
Deprecated.
Returns total weight of the minimum spanning tree/forest.
|
public KruskalMinimumSpanningTree(Graph<V,E> graph)
graph
- the graph to be searchedpublic Set<E> getMinimumSpanningTreeEdgeSet()
MinimumSpanningTree
getMinimumSpanningTreeEdgeSet
in interface MinimumSpanningTree<V,E>
public double getMinimumSpanningTreeTotalWeight()
MinimumSpanningTree
getMinimumSpanningTreeTotalWeight
in interface MinimumSpanningTree<V,E>
Copyright © 2017. All rights reserved.