COIN-OR::LEMON - Graph Library

Custom Query (511 matches)


Show under each result:

Results (19 - 21 of 511)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Ticket Resolution Summary Owner Reporter
#600 fixed Missing #include in capacity_scaling.h Peter Kovacs Peter Kovacs

The attached patch adds a missing #include to capacity_scaling.h. RangeMap is used in this source file, so maps.h is also required for using it.

#599 fixed Typo in code example Peter Kovacs Antal Nemes

During refreshing my experience with this nice library, I found a little typo in a code example of the documentation. A variable is declared with a name cm, but used as cap, resulting in non compiling code.

Due to the simplicity of the issue this is just cosmetic change.

#598 fixed ObserverProxy implementation bug Alpar Juttner Alpar Juttner

From lemon-users by Pierre M:


Thank you to develop and share the Lemon graph library.

By curiosity I have ran the code analyzer from Visual Studio on the Lemon library.

And it found some strange things in lemon/list_graph.hpp:

In all the ObserverProxy implementations we can see something like:

virtual void add(const std::vector<Node>& nodes) {
          for (int i = nodes.size() - 1; i >= 0; ++i) {

The increment step of the loop must be -- and not ++ !!

This error appears 18 times and must be fixed!

I'm using Lemon 1.3 and I have checked on the current mercurials files, the error is still there in the trunk.

Regards/ Cordialement, Pierre M

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Note: See TracQuery for help on using queries.