Run Dijkstra's Algorithm on a List<Point> in C#
问题 I have a list of Point types in C#. I want to run Dijkstra's algorithm on this list of points where the first entry in the list is the starting location. Is there a way of doing this using an existing library? If such library doesn't exist, is there a way of calculating the distance between two points with x and y coordinates. For example, calculate the distance between point A (x coordinate =2, y coordinate = 4) and point B ((x coordinate =9, y coordinate = 7). I have used the ZedGraph