C
C#8mo 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
Pobiega8mo 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
LilacOP8mo 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
Pobiega8mo 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
LilacOP8mo ago
thank you I will check it out
MODiX
MODiX8mo ago
Use the /close command to mark a forum thread as answered
Unknown User
Unknown User8mo ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server