15 Dec
2004
15 Dec
'04
9:02 p.m.
On Dec 8, 2004, at 7:26 AM, Rui Carvalho wrote:
Hi,
I must be missing something basic as my use of random_vertex returns always the same vertex each time I run the code (which is listed below).
Help would be much appreciated. I'm using MSVC 7.1 and boost 1.32 on windows XP.
The generators in the Random library are deterministic, so they should always return the results. Seed the generator with something more "random" (like the result of time(0)) to get some randomness. Doug