|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object umontreal.iro.lecuyer.hups.PointSet umontreal.iro.lecuyer.hups.DigitalNet umontreal.iro.lecuyer.hups.DigitalSequence
public abstract class DigitalSequence
This abstract class describes methods specific to digital sequences.
Concrete classes must implement the extendSequence
method
that increases the number of points of the digital sequence.
Calling the methods toNet
or toNetShiftCj
will transform the digital sequence into a digital net, which has
a fixed number of points n.
Constructor Summary | |
---|---|
DigitalSequence()
|
Method Summary | |
---|---|
abstract void |
extendSequence(int k)
Increases the number of points to n = bk from now on. |
PointSetIterator |
iteratorShift()
Similar to iterator , except that the first coordinate
of the points is i/n, the second coordinate is obtained via
the generating matrix
C0, the next one via
C1,
and so on. |
PointSetIterator |
iteratorShiftNoGray()
This iterator shifts all coordinates of each point one position to the right and sets the first coordinate of point i to i/n, so that the points enumerated with this iterator have one more dimension. |
DigitalNet |
toNet()
Transforms this digital sequence into a digital net without changing the coordinates of the points. |
DigitalNet |
toNetShiftCj()
Transforms this digital sequence into a digital net by adding one dimension and shifting all coordinates by one position. |
Methods inherited from class umontreal.iro.lecuyer.hups.PointSet |
---|
addRandomShift, addRandomShift, formatPoints, formatPoints, formatPoints, formatPoints, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsNumbered, formatPointsNumbered, getDimension, getNumPoints, getStream, randomize, randomize, randomize, randomize, randomize, setStream |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DigitalSequence()
Method Detail |
---|
public abstract void extendSequence(int k)
k
- there will be b^k pointspublic DigitalNet toNet()
public DigitalNet toNetShiftCj()
public PointSetIterator iteratorShift()
iterator
, except that the first coordinate
of the points is i/n, the second coordinate is obtained via
the generating matrix
C0, the next one via
C1,
and so on. Thus, this iterator shifts all coordinates of each point
one position to the right and sets the first coordinate of point i
to i/n, so that the points enumerated with this iterator have one more
dimension. A digital shift, if present, will have one more dimension also.
This iterator uses the Gray code.
public PointSetIterator iteratorShiftNoGray()
|
SSJ V. 2.6.2. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |