umontreal.iro.lecuyer.hups
Class DigitalSequence.DigitalNetIteratorShiftGenerators
java.lang.Object
umontreal.iro.lecuyer.hups.PointSet.DefaultPointSetIterator
umontreal.iro.lecuyer.hups.DigitalNet.DigitalNetIterator
umontreal.iro.lecuyer.hups.DigitalSequence.DigitalNetIteratorShiftGenerators
- All Implemented Interfaces:
- PointSetIterator, RandomStream
- Enclosing class:
- DigitalSequence
protected class DigitalSequence.DigitalNetIteratorShiftGenerators
- extends DigitalNet.DigitalNetIterator
Method Summary |
void |
init()
|
void |
init2()
|
int |
resetToNextPoint()
Increases the current point index by 1 and returns its new value. |
void |
setCurPointIndex(int i)
Resets the current point index to i and the current coordinate
index to zero. |
Methods inherited from class umontreal.iro.lecuyer.hups.PointSet.DefaultPointSetIterator |
formatState, getCurCoordIndex, getCurPointIndex, hasNextCoordinate, hasNextPoint, nextArrayOfDouble, nextArrayOfInt, nextCoordinates, nextInt, nextPoint, outOfBounds, resetCurCoordIndex, resetNextSubstream, resetStartStream, resetStartSubstream, setAntithetic, setCurCoordIndex |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DigitalSequence.DigitalNetIteratorShiftGenerators
public DigitalSequence.DigitalNetIteratorShiftGenerators()
init
public void init()
- Overrides:
init
in class DigitalNet.DigitalNetIterator
init2
public void init2()
setCurPointIndex
public void setCurPointIndex(int i)
- Description copied from interface:
PointSetIterator
- Resets the current point index to i and the current coordinate
index to zero. If i is larger or equal to the number of points,
an exception will not be raised here, but only later if we
ask for a new coordinate or point.
- Specified by:
setCurPointIndex
in interface PointSetIterator
- Overrides:
setCurPointIndex
in class DigitalNet.DigitalNetIterator
- Parameters:
i
- new index of the current point
resetToNextPoint
public int resetToNextPoint()
- Description copied from interface:
PointSetIterator
- Increases the current point index by 1 and returns its new value.
If there is no more point, an exception will be raised only if we
ask for a new coordinate or point later on.
- Specified by:
resetToNextPoint
in interface PointSetIterator
- Overrides:
resetToNextPoint
in class DigitalNet.DigitalNetIterator
- Returns:
- index of the new current point
To submit a bug or ask questions, send an e-mail to
Pierre L'Ecuyer.