Is Dijkstra's algorithm for directed or undirected graphs?
I keep trying to google this, but the results I'm finding are just adding to my confusion. It seems that it can be possibly used for both? If so, which is it designed for by default and what needs to change to make it work the non-default way (whether that be directed or undirected)? Edit: for reference, I had a problem last semester where I was given a list like this (airports): AER,KZN,1.8835 ASF,KZN,1.3005 ASF,MRV,1.1204 CEK,KZN,1.9263 CEK,OVB,1.6733 DME,KZN,1.7892 DME,NBC,2.2319 DME,UUA,2.3786 EGO,KGD,1.4649 EGO,KZN,1.2603 GYD,NBC,2.0755 I was told it was directed, and asked to find the