Documentation of 'org.jgrapht.alg.PrimMinimumSpanningTree' Java class
PrimMinimumSpanningTree
org.jgrapht.alg

Class PrimMinimumSpanningTree<V,E>

  • Type Parameters:
    V - the graph vertex type
    E - the graph edge type
    All Implemented Interfaces:
    MinimumSpanningTree<V,E>

    Deprecated. 

    @Deprecated
    public class PrimMinimumSpanningTree<V,E>
    extends java.lang.Object
    implements MinimumSpanningTree<V,E>
    An implementation of Prim's algorithm that finds a minimum spanning tree/forest subject to connectivity of the supplied weighted undirected graph. The algorithm was developed by Czech mathematician V. Jarník and later independently by computer scientist Robert C. Prim and rediscovered by E. Dijkstra.
    Since:
    Mar 5, 2013
    • Constructor Detail

      • PrimMinimumSpanningTree

        public PrimMinimumSpanningTree(Graph<V,E> g)
        Deprecated. 
        Create and execute a new instance of Prim's algorithm.
        Parameters:
        g - the input graph

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.