pgRouting / pgrouting

Repository contains pgRouting library. Development branch is "develop", stable branch is "master"
https://pgrouting.org
GNU General Public License v2.0
1.12k stars 364 forks source link

max_flow algorithms #733

Closed cvvergara closed 7 years ago

cvvergara commented 7 years ago

Naming of parameters:

instead of use
source_vertex start_vid
destination_vertex end_vid
source_vertices start_vids
destination_vertices end_vids
sink_vertex end_vids
sink_vertices end_vids

objective: to have as much consistency with other pgRouting functions

cvvergara commented 7 years ago

Documentation mentions:

capacity    ANY-INTEGER     Capacity of the edge (source, target). Must be positive.
reverse_capacity    ANY-INTEGER     (optional) Weight of the edge (target, source). Must be positive or null.

In other routing functions when the edge is not part of the graph it is done by negative values not null values.