Click here to Skip to main content
Licence 
First Posted 23 Dec 2002
Views 78,630
Bookmarked 22 times

prim's algorithm

By | 23 Dec 2002 | Article
a graphical implementation for prim's algorithm
it's a graphical implementation for prim's algorithm ,

Introduction

prim's algorithm is an algorithm to calculate the shotest route simply , if we hace alot of nodes called A,B,C,D,.... and every node has links to other each link has a cost. if we wanna calculate the best way to go to have less cost. we implement this algorithm: choose any node randomly,say A and get the minimum link for it,for example this link to C. then we have nodes A,C and try to find the least cost link for both and so on. this application has two classes node and link. how to use the program simply type any name in the name textbox then press a click on the screen and so on to insert nodes as u like then choose from the combo boxes any two nodes,and type the distance. then press insert link button. if u wanna modify the drag using drag and drop. just check the modify check box and drag the graph. has a nice time....... :)

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Sameh Ahmed

Web Developer

Egypt Egypt

Member

i'm a student in FCIS Ain Shams University
my hobbies is programing with C#,C++.
GDI+,And Networking.
i like programing world..


Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
General[Message Deleted] Pinmemberahmedsayed_ig3:29 16 Dec '05  
General[Message Deleted] PinmemberSameh Ahmed13:29 17 Dec '05  
General[Message Deleted] PinmemberSameh Ahmed13:30 17 Dec '05  
GeneralRe: Very Poor PinmemberSameh Ahmed13:39 17 Dec '05  
QuestionWhen will people check their links? Pinmemberleppie6:35 25 Dec '02  
AnswerRe: When will people check their links? PinmemberSameh Ahmed7:41 25 Dec '02  
GeneralInteresting PinmemberChristian Graus13:26 24 Dec '02  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120517.1 | Last Updated 24 Dec 2002
Article Copyright 2002 by Sameh Ahmed
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid