umontreal.iro.lecuyer.hups
Class CycleBasedPointSetBase2.CycleBasedPointSetBase2Iterator
java.lang.Object
umontreal.iro.lecuyer.hups.CycleBasedPointSet.CycleBasedPointSetIterator
umontreal.iro.lecuyer.hups.CycleBasedPointSetBase2.CycleBasedPointSetBase2Iterator
- All Implemented Interfaces:
- PointSetIterator, RandomStream
- Enclosing class:
- CycleBasedPointSetBase2
public class CycleBasedPointSetBase2.CycleBasedPointSetBase2Iterator
- extends CycleBasedPointSet.CycleBasedPointSetIterator
CycleBasedPointSetBase2.CycleBasedPointSetBase2Iterator
public CycleBasedPointSetBase2.CycleBasedPointSetBase2Iterator()
resetCurCycle
public void resetCurCycle(int index)
- Overrides:
resetCurCycle
in class CycleBasedPointSet.CycleBasedPointSetIterator
nextCoordinate
public double nextCoordinate()
- Description copied from interface:
PointSetIterator
- .
value of the current coordinate
NoSuchElementExceptionif no such coordinate is available
- Specified by:
nextCoordinate
in interface PointSetIterator
- Overrides:
nextCoordinate
in class CycleBasedPointSet.CycleBasedPointSetIterator
nextCoordinates
public void nextCoordinates(double[] p,
int dim)
- Description copied from interface:
PointSetIterator
- .
parray to be filled with the coordinates, starting at index 0
dnumber of coordinates to get
NoSuchElementExceptionif there are not enough
remaining coordinates in the current point
- Specified by:
nextCoordinates
in interface PointSetIterator
- Overrides:
nextCoordinates
in class CycleBasedPointSet.CycleBasedPointSetIterator
nextPoint
public int nextPoint(double[] p,
int dim)
- Description copied from interface:
PointSetIterator
- .
- Specified by:
nextPoint
in interface PointSetIterator
- Overrides:
nextPoint
in class CycleBasedPointSet.CycleBasedPointSetIterator
To submit a bug or ask questions, send an e-mail to
Pierre L'Ecuyer.