Boost logo

Boost :

From: oliver.frick_at_[hidden]
Date: 2001-05-11 13:45:46

To my surprise I just found that BGL utility funtion
random_number() uses the C standard rand() function, which is
then used by random_vertex(). Furthermore it processes the
random number by applying modulus N, something that is
considered numerically dangerous by many. I would suggest
that a RNG object from the boost random library could be
passed to random_vertex().

Oliver Frick

Boost list run by bdawes at, gregod at, cpdaniel at, john at