swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Randon number generator


From: sabeeha
Subject: Randon number generator
Date: Wed, 05 Apr 2000 15:09:45 -0500

hi,
I have just started using swarm and i have this problem that i  used
uniform distributions to generate random numbers(like in heatbugs), now i
want to change the seed of my generator for different experiments. I have
used the uniform distributions in many of my objects. for example this is
the kind of code i have used:

 k=[uniformIntRand getIntegerWithMin: 0 withMax: numAgents-1];

 thankyou for your help
-sabeeha 


                  ==================================
   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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]