|
JAGA Homepage | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Basis for all Random Number Generators to be used in JAGA. JAGA uses an RNG specified in parameters rather the a system RNG. This allowes to reproduce results by specifying a predictable RNG (e.g. by using the same seed for the Java-RNG).
Project: JAGA - Java API for Genetic Algorithms.
Company: University College London and JAGA.Org (http://www.jaga.org).
Copyright: (c) 2004 by G. Paperin.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, ONLY if you include a note of the original
author(s) in any redistributed/modified copy.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
or see http://www.gnu.org/licenses/gpl.html
| Method Summary | |
|---|---|
boolean |
nextBoolean()
|
byte |
nextByte()
|
byte |
nextByte(byte minInclusive,
byte maxExclusive)
|
double |
nextDouble()
|
double |
nextDouble(double minInclusive,
double maxExclusive)
|
float |
nextFloat()
|
float |
nextFloat(float minInclusive,
float maxExclusive)
|
double |
nextGaussian()
|
double |
nextGaussian(double mean,
double stdDev)
|
int |
nextInt()
|
int |
nextInt(int minInclusive,
int maxExclusive)
|
long |
nextLong()
|
long |
nextLong(long minInclusive,
long maxExclusive)
|
void |
setSeed(long seed)
|
| Method Detail |
|---|
void setSeed(long seed)
boolean nextBoolean()
byte nextByte()
byte nextByte(byte minInclusive,
byte maxExclusive)
int nextInt()
int nextInt(int minInclusive,
int maxExclusive)
long nextLong()
long nextLong(long minInclusive,
long maxExclusive)
float nextFloat()
float nextFloat(float minInclusive,
float maxExclusive)
double nextDouble()
double nextDouble(double minInclusive,
double maxExclusive)
double nextGaussian()
double nextGaussian(double mean,
double stdDev)
|
JAGA Homepage | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||