Modify

Opened 5 years ago

Closed 5 years ago

#8427 closed Bugs (fixed)

Johnson APSP documentation is inaccurate

Reported by: Luis G. Torres <lgtorres42@…> Owned by: Jeremiah Willcock
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 (0)

Change History (1)

comment:1 Changed 5 years ago by Jeremiah Willcock

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jeremiah Willcock.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.