Documentation ¶
Overview ¶
Package sp returns the shortest path in the graph. If the graph contains the negative edges, it runs the Bellman-Ford algorithms. Otherwise, it runs Dijkstra algorithm.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.