Skip to content

Commit 294e5ab

Browse files
authored
Update README.md
1 parent 6a05325 commit 294e5ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ graph.AddNode(2);
2222

2323
graph.Connect(1, 2, 5, "some custom information in edge"); //First node has key equal 1
2424
25-
ShortestPathResult result = graph.Dijkstra(0, 1); //result contains the shortest path
25+
ShortestPathResult result = graph.Dijkstra(1, 2); //result contains the shortest path
2626
2727
var path = result.GetPath();
2828
```

0 commit comments

Comments
 (0)