Commit 012787ec authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Add `dag` parameter to shortest_distance()/shortest_path()/all_shortest_paths()

This enables linear-time computation of shortest distances on DAGs that
also allows for negative weights.
parent 7342a3ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment