V
- the graph vertex typeE
- the graph edge typePrimMinimumSpanningTree
instead.@Deprecated public class PrimMinimumSpanningTree<V,E> extends Object implements MinimumSpanningTree<V,E>
Constructor and Description |
---|
PrimMinimumSpanningTree(Graph<V,E> g)
Deprecated.
Create and execute a new instance of Prim's algorithm.
|
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 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.