COIN-OR::LEMON - Graph Library

Custom Query (545 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (154 - 156 of 545)

Ticket Resolution Summary Owner Reporter
#312 done Also check ReferenceMapTag in concept checks Peter Kovacs Peter Kovacs
#315 done Hide the traits class parameters from the doc Peter Kovacs Peter Kovacs
Description

The last template parameter of many algorithm classes (Bfs, BfsVisit, Dfs, DfsVisit, Dijkstra, BellmanFord, Preflow, Circulation, MinCostArborescence) is a traits class. It is always shown in the doc, but it is typically not documented. This could be misleading, since the paramater seems to be mandatory.

A good solution would be to hide all these template parameters entirely.

This ticket is a follow-up of #179.

#319 done Infinite capacities in Preflow Peter Kovacs Peter Kovacs
Description

If you run Preflow on a network in which the source node has some outgoing arcs of infinite capacity (represented by either the infinity() or the max() value of the type), then it will most likely cause problems, since the algorithm saturates these arcs.

Thus we should do one the followings:

  1. Add a warning about this problem to the doc of the class and the dimacs solver.
  2. Support infinite capacities in the algorithm (and in the dimacs solver as well). We could search for a finite cut and replace the infinite capacities on the outgoing arcs of the source node with the value of the found cut if such a cut exists. Otherwise the max. flow value is infinite.
  3. A possible combination would be to choose the first solution and create a wrapper function/class for Preflow that supports infinite capacities applying the second solution.
Note: See TracQuery for help on using queries.