Greg Stark <gsstark(at)mit(dot)edu> writes:
> The only thing that jumps out at me from the code itself is the use of
> rand() and srand() which seems unacceptable.
Yeah, (1) rand isn't a good random number generator and (2) fooling with
the main random number sequence is user-unfriendly. If you need a
private source of random numbers you might base it on erand48 like geqo
has done.
regards, tom lane