Modify

Ticket #8427 (closed Bugs: fixed)

Opened 13 months ago

Last modified 13 months ago

Johnson APSP documentation is inaccurate

Reported by: Luis G. Torres <lgtorres42@…> Owned by: jewillco
Milestone: To Be Determined Component: graph
Version: Boost 1.53.0 Severity: Cosmetic
Keywords: johnson Cc:

Description

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.

Attachments

Change History

comment:1 Changed 13 months ago by jewillco

  • Status changed from new to closed
  • Resolution set to fixed

(In [83837]) Removed unnecessary requirement; fixes #8427

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.