[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
random number seed
From: |
Andre Costa |
Subject: |
random number seed |
Date: |
Thu, 5 Apr 2001 12:54:33 +0930 (CST) |
Hi,
is there a simple way to change the random number seed used
when
Globals.env.uniformDblRand.getDoubleWithMin$withMax(a, b);
is called ? I have tried a few things with no success, but it seems that
it may be easier
to just create an instance of
UniformDoubleDistImpl
with a generator of choice, and whose seed I set myself.
Is this infact the easiest way to go, or can I change somehing in Globals
instead ?
thanks
Andre Costa
---------------------------------------------------------------------
Andre Costa
Research Student
Teletraffic Research Centre Telephone: (08) 8303 3237
Department of Applied Mathematics Fax: (08) 8303 4395
University of Adelaide Email:address@hidden
South Australia 5005
----------------------------------------------------------------------
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.