Subject: [Boost-bugs] [Boost C++ Libraries] #8427: Johnson APSP documentation is inaccurate
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-04-10 20:37:39
#8427: Johnson APSP documentation is inaccurate
---------------------------------------------------+------------------------
Reporter: Luis G. Torres <lgtorres42@â¦> | Owner: jewillco
Type: Bugs | Status: new
Milestone: To Be Determined | Component: graph
Version: Boost 1.53.0 | Severity: Cosmetic
Keywords: johnson |
---------------------------------------------------+------------------------
Regarding documentation at
http://www.boost.org/doc/libs/1_53_0/libs/graph/doc/johnson_all_pairs_shortest.html
The description of the function's named parameter weight_map specifies
that the WeightMap's value must be "addable" to the value type of the
DistanceMap; this is unnecessarily restrictive, however, because the
function also allows the user to specify the DistanceCombine function
(which only ''defaults'' to addition).
It seems that the documentation's requirement for WeightMap's value type
to be Addable should be removed.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8427> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:12 UTC