COIN-OR::LEMON - Graph Library

Custom Query (496 matches)


Show under each result:

Results (7 - 9 of 496)

1 2 3 4 5 6 7 8 9 10 11 12 13
Ticket Resolution Summary Owner Reporter
#602 done Platform independent pseudo random sequences alpar alpar

LEMON's random generator is based on the Mersenne Twister algoritm and it is optimized to 32 and 64 bit architecture. This is fine, except when someone want to obtain reproducible results (for a given initial seed) on each platform. The attached patch provides the following solution to this.

The original Random class becomes a template and goes to the _random_bits namespace, then three typedefs are defined:

  • Random is exactly the same as the class Random was before,
  • Random32 is the 32 bit version (on all platform) and
  • Random64 is the 64 bit version (on all platform).

This solution is fully backward compatible and the only drawback I can see is the documentation - one has to visit the template version to see the detailed API.

What do you think, is the documentation is acceptable in this form? If not, what would be a better solution?

#601 wontfix Code examples are ugly with Doxygen 1.8.5 kpeter kpeter

The documentation of release 1.3.1 was generated using Doxygen 1.8.5, which seems to have a bug that leading '*' characters are displayed in the code examples, for example,

Compare it to the documentation of release 1.3, which was generated using Doxygen 1.8.2.

Maybe the latest Doxygen version is also fine.

#600 fixed Missing #include in capacity_scaling.h kpeter kpeter

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.

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