Boost C++ Libraries: Ticket #8427: Johnson APSP documentation is inaccurate https://svn.boost.org/trac10/ticket/8427 <p> Regarding documentation at </p> <p> <a href="http://www.boost.org/doc/libs/1_53_0/libs/graph/doc/johnson_all_pairs_shortest.html">http://www.boost.org/doc/libs/1_53_0/libs/graph/doc/johnson_all_pairs_shortest.html</a> </p> <p> The description of the function's named parameter weight_map specifies that the <a class="missing wiki">WeightMap</a>'s value must be "addable" to the value type of the <a class="missing wiki">DistanceMap</a>; this is unnecessarily restrictive, however, because the function also allows the user to specify the <a class="missing wiki">DistanceCombine</a> function (which only <em>defaults</em> to addition). </p> <p> It seems that the documentation's requirement for <a class="missing wiki">WeightMap</a>'s value type to be Addable should be removed. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8427 Trac 1.4.3 Jeremiah Willcock Wed, 10 Apr 2013 20:42:32 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8427#comment:1 https://svn.boost.org/trac10/ticket/8427#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83837" title="Removed unnecessary requirement; fixes #8427">[83837]</a>) Removed unnecessary requirement; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8427" title="#8427: Bugs: Johnson APSP documentation is inaccurate (closed: fixed)">#8427</a> </p> Ticket