COIN-OR::LEMON - Graph Library

Custom Query (512 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (13 - 15 of 512)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#17 fixed Revise debug modes and exceptions Balazs Dezso Alpar Juttner
Description

We should revise the debug modes and organizations of the exceptions. We need clear rules in which cases should we throw extensions.

#18 fixed non-template functions in grid_ugraph.h Alpar Juttner Mihaly Barasz
Description

In grid_ugraph.h there are some global functions defined at the end (indexMap(), rowMap() and colMap()). These are not template functions, so they should only be declared there and defined in their own .cc file. Otherwise the linker would give an error if this header is included in multiple files (which are to be linked in one binary).

#19 fixed Global rnd object is not seedable/randomizable Balazs Dezso Mihaly Barasz
Description

random.h provides a global instance of Random, which is indeed convenient, but pretty much useless now. As there is no way to provide a seed for it. So you'll get the same sequence every time you run your program.

I suggest to create a seed(...) method(s) to the Random class, which would reseed the sequence.

Please, also consider the possibility to implement some kind of randomize() method, to seed the sequence by pid of the process, timeofday etc. Sure, this is not cryptographically secure, but very convenient for doing simulations...

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