|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.hups.PointSet
umontreal.iro.lecuyer.hups.CycleBasedPointSet
umontreal.iro.lecuyer.hups.LCGPointSet
public class LCGPointSet
LCGPointSet
Implements a recurrence-based point set defined via a linear congruential recurrence of the form xi = axi-1mod n and ui = xi/n. The implementation is done by storing the values of ui over the set of all cycles of the recurrence.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class umontreal.iro.lecuyer.hups.CycleBasedPointSet |
---|
CycleBasedPointSet.CycleBasedPointSetIterator |
Constructor Summary | |
---|---|
LCGPointSet(int n,
int a)
. |
|
LCGPointSet(int b,
int e,
int c,
int a)
. |
Method Summary | |
---|---|
int |
geta()
. |
String |
toString()
. |
Methods inherited from class umontreal.iro.lecuyer.hups.CycleBasedPointSet |
---|
addRandomShift, clearRandomShift, formatPoints, getCoordinate, getDimension, iterator |
Methods inherited from class umontreal.iro.lecuyer.hups.PointSet |
---|
addRandomShift, addRandomShift, addRandomShift, formatPoints, formatPoints, formatPoints, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsNumbered, formatPointsNumbered, getNumPoints, getStream, randomize, randomize, randomize, randomize, randomize, setStream, unrandomize |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LCGPointSet(int n, int a)
public LCGPointSet(int b, int e, int c, int a)
Method Detail |
---|
public String toString()
PointSet
toString
in class CycleBasedPointSet
public int geta()
|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |