swarm-support
[Top][All Lists]
Advanced

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

[Swarm-Support] Random Number Generator


From: Emerson Aguiar Noronha
Subject: [Swarm-Support] Random Number Generator
Date: Tue, 27 Jan 2009 14:23:26 -0200 (BRST)
User-agent: SquirrelMail/1.4.6 [CVS]-0.cvs20050812.1.fc3

Hello,

I´m doing a study about the swarm.random´s distribution objects to use in
my research. I´m try to generate a random sequence using
UniformUnsignedDist with the rng´s standard object.

But i´m getting a strange number sequence. For a experiment with a hundred
sequence, a lot of number is the same, for example, ten times 245, 560,
890. But when I ran in debug mode with breakpoints in the first line
above, it´s dosen´t happen. The sequence seems conform with the
distribution.

In this teste i´m using:

UniformUnsignedDist dist = new
UniformUnsignedDistImpl(Globals.env.globalZone);

dist.getUnsignedWithMin$withMax(0, 1000);

I´ve studied some documents written by Johnson, Paul. And if someone could
indicate some additional material about the use of swarm.random library.

thank for all of you.

-- 
Emerson A. Noronha
Master Degree - Federal University of ABC(UFABC)
Santo André / Brazil


------------------------------------------------------------------
Serviço de Webmail da UFABC.
Apoio: Núcleo de Tecnologia da Informação UFABC 
http://www.ufabc.edu.br/



reply via email to

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