mirror of
https://github.com/boostorg/graph.git
synced 2026-02-27 17:12:11 +00:00
updated to dijkstra change
[SVN r11009]
This commit is contained in:
@@ -53,10 +53,10 @@ namespace boost {
|
||||
Weight)
|
||||
{
|
||||
typedef typename property_traits<Weight>::value_type W;
|
||||
detail::min_operation summarize;
|
||||
detail::_project2nd<W,W> extend;
|
||||
dijkstra_shortest_paths(G, s, params.distance_summarize(summarize).
|
||||
distance_extend(extend));
|
||||
std::less<W> compare;
|
||||
detail::_project2nd<W,W> combine;
|
||||
dijkstra_shortest_paths(G, s, params.distance_compare(compare).
|
||||
distance_combine(combine));
|
||||
}
|
||||
} // namespace detail
|
||||
|
||||
|
||||
Reference in New Issue
Block a user