Dijkstra’s shortest path algorithm
问题 The following is algorithm summary given to us by our professor. What is the parent of a node in a graph as referred to in step 3? I'm a little confused as I though that the nodes only had neighbors and doesn't have a parent? My second question is about step 3, "pick up the index’th record in stack." Since a stack only allows you to view the top, I'm not sure what it means by picking up the index'th record? Dijkstra’s shortest path: Step 0: if s == d, stop. Step 1: current node c= s, c.length