net.sourceforge.cilib.math.random.generator.quasi
Class Sobol
java.lang.Object
java.util.Random
net.sourceforge.cilib.math.random.generator.Random
net.sourceforge.cilib.math.random.generator.quasi.QuasiRandom
net.sourceforge.cilib.math.random.generator.quasi.Sobol
- All Implemented Interfaces:
- Serializable, Cloneable
public class Sobol
- extends QuasiRandom
Implementation adapted from http://people.scs.fsu.edu/~burkardt/f_src/sobol/sobol.html.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sobol
public Sobol()
Sobol
public Sobol(long seed)
setSeed
public void setSeed(long seed)
- Overrides:
setSeed
in class Random
getClone
public Sobol getClone()
- Description copied from class:
Random
- Create a cloned copy of the current object and return it. In general
the created copy will be a deep copy of the provided instance. As
a result this operation an be quite expensive if used incorrectly.
- Specified by:
getClone
in interface Cloneable
- Specified by:
getClone
in class Random
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
next
protected int next(int bits)
- Overrides:
next
in class Random
nextPoint
public double[] nextPoint()
- Specified by:
nextPoint
in class QuasiRandom
Copyright © 2009 CIRG. All Rights Reserved.