C
C#9mo ago
Lilac

✅ How to Implement Dijkstra Algorithm using C#

Hey guys, I'm doing a project that requires me to get Dijkstra Algorithm working in C#. Can you recommend any tutorials or written guide on how to do this?
6 Replies
Pobiega
Pobiega9mo ago
I don't think Dijkstra in C# has any particular nuances that differ from other languages. You should be able to get something working by literally translating the pseudocode from Wikipedia, assuming you know basic C#
Lilac
LilacOP9mo ago
well, my friend actually has done the copy paste for me but I want to kinda understand it because we also need to make a winform for it and just looking at my friend's code won't get me anywhere
Pobiega
Pobiega9mo ago
honestly, https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm is a very good starting point. Go there, scroll down to the "Algorithm" section and read the lovely explanantion, and watch the animated gif that shows its progress
Lilac
LilacOP9mo ago
thank you I will check it out
MODiX
MODiX9mo ago
Use the /close command to mark a forum thread as answered
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server