Click here to Skip to main content
15,916,215 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
need a c# code for dijkistra algorithm (shortest path fider using linked list)
with the explanation of the code
soon plz

[edit]Tags only - OriginalGriff[/edit]
Posted
Updated 20-Dec-10 9:06am
v2
Comments
OriginalGriff 20-Dec-10 15:05pm    
Change your user id - never post your email to any public forum, unless you really like spam.
Sergey Alexandrovich Kryukov 20-Dec-10 15:12pm    
Ok, I guess this is what you need: http://en.wikipedia.org/wiki/Dijkstra_algorithm
Is that correct?

If so, what's the problem? The code sample is nearly literally shows what you need; so, did you try this? and if you did but something goes wrong, what seems to be a problem?
Manfred Rudolf Bihy 20-Dec-10 15:28pm    
He couldn't even spell "dijkstra" maybe that's why his search failed :)
Sergey Alexandrovich Kryukov 20-Dec-10 15:53pm    
Right, Manfred, this is funny. To me, this lowercase-only style already hints some attitude. However, it could be just personal style.

Even though many people would be ready to sit down and write and test the algorithm in minutes, I doubt anyone will bother, unless lomve-4ever@live.com will not provide satisfactory answer to my questions. Anyone really need to convince people to do the job and hope it will be useful for community. Otherwise, not only the question can be ignored, but it can be removed as inappropriate.
Sergey Alexandrovich Kryukov 20-Dec-10 15:54pm    
Also, if lomve-4ever@live.com is a real address, this is an invitation of spam. My advice is to change the username as soon as possible.

1 solution

Asking questions:

Rule 1: Don't ask for the codez. That annoys people because it shows a total lack of effort.

Rule 2: Don't ask for it quickly. Your priorities are not ours, it annoys people because it shows you left your homework too late.

Rule 3: Use Google or Bing. A very quick, three word search gave the source code you are looking for as the top hit. I wonder if you can guess which three words they were? Hint: one of them was "C#"
 
Share this answer
 
Comments
Smithers-Jones 21-Dec-10 3:31am    
Dammit Griff, what kind of help is that - one of them is "C#"! How will lomve-4ever ever find out what the other two words are?
:-)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900