public class LCGPointSet extends CycleBasedPointSet
CycleBasedPointSet.CycleBasedPointSetIterator| Constructor and Description |
|---|
LCGPointSet(int n,
int a)
Constructs and stores the set of cycles for an LCG with
modulus n and multiplier a.
|
LCGPointSet(int b,
int e,
int c,
int a)
Constructs and stores the set of cycles for an LCG with
modulus
n = be + c and multiplier a.
|
| Modifier and Type | Method and Description |
|---|---|
int |
geta()
Returns the value of the multiplier a.
|
java.lang.String |
toString()
Formats a string that contains information about the point set.
|
addRandomShift, clearRandomShift, formatPoints, getCoordinate, getDimension, iteratoraddRandomShift, addRandomShift, addRandomShift, formatPoints, formatPoints, formatPoints, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsNumbered, formatPointsNumbered, getNumPoints, getStream, randomize, randomize, randomize, randomize, randomize, setStream, unrandomizepublic LCGPointSet(int n,
int a)
n - required number of points and modulus of the LCGa - generator a of the LCGpublic LCGPointSet(int b,
int e,
int c,
int a)
public java.lang.String toString()
PointSettoString in class CycleBasedPointSetpublic int geta()
To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.