Exforsys
+ Reply to Thread
Results 1 to 3 of 3

wat's prim's algorithm?

This is a discussion on wat's prim's algorithm? within the C and C++ forums, part of the Programming Talk category; im a fresher! i wanna knw the prim's algorithm binary trees , graphs can u send me some programs on ...

  1. #1
    larsa is offline Junior Member Array
    Join Date
    Feb 2008
    Answers
    1

    wat's prim's algorithm?

    im a fresher! i wanna knw the prim's algorithm binary trees , graphs can u send me some programs on it! IN C language!


  2. #2
    Sandhya.Kishannag is offline Member Array
    Join Date
    Feb 2012
    Answers
    66
    Prim's algorithm is an algorithm in graph theory that finds a minimum spanning tree for a connected weighted graph. This means it finds a subset of the edges that forms a tree that includes every vertex, where the total weight of all the edges in the tree is minimized.

    For program check the link "Can you give the prim's algorithm program in c"


  3. #3
    Sandhya.Kishannag is offline Member Array
    Join Date
    Feb 2012
    Answers
    66
    Prim's algorithm finds minimum spanning tree for a connected weighted undirected graph. This means it finds a subset of the edges that forms a tree that includes every vertex, where the total weight of all the edges in the tree is minimized.The algorithm was developed by Robert C. Prim in 1957 and rediscovered by Edsger Dijkstra in 1959. Therefore it is also sometimes called the DJP algorithm.

    For c program check the link Prim's algorithm in C


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...