|
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.DigitalNetBase2 umontreal.iro.lecuyer.hups.DigitalSequenceBase2
public abstract class DigitalSequenceBase2
This abstract class describes methods specific to digital sequences in base 2.
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 | |
---|---|
DigitalSequenceBase2()
|
Method Summary | |
---|---|
abstract void |
extendSequence(int k)
Increases the number of points to n = 2k 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. |
DigitalNetBase2 |
toNet()
Transforms this digital sequence into a digital net without changing the coordinates of the points. |
DigitalNetBase2 |
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.DigitalNet |
---|
eraseOriginalGeneratorMatrices, resetGeneratorMatrices, unrandomize |
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 DigitalSequenceBase2()
Method Detail |
---|
public abstract void extendSequence(int k)
k
- there will be 2^k pointspublic DigitalNetBase2 toNet()
public DigitalNetBase2 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 |