SSJ
V. labo.

umontreal.iro.lecuyer.hups
Class CycleBasedPointSetBase2.CycleBasedPointSetBase2Iterator

java.lang.Object
  extended by umontreal.iro.lecuyer.hups.CycleBasedPointSet.CycleBasedPointSetIterator
      extended by umontreal.iro.lecuyer.hups.CycleBasedPointSetBase2.CycleBasedPointSetBase2Iterator
All Implemented Interfaces:
PointSetIterator, RandomStream
Enclosing class:
CycleBasedPointSetBase2

public class CycleBasedPointSetBase2.CycleBasedPointSetBase2Iterator
extends CycleBasedPointSet.CycleBasedPointSetIterator


Constructor Summary
CycleBasedPointSetBase2.CycleBasedPointSetBase2Iterator()
           
 
Method Summary
 double nextCoordinate()
          .
 void nextCoordinates(double[] p, int dim)
          .
 int nextPoint(double[] p, int dim)
          .
 void resetCurCycle(int index)
           
 
Methods inherited from class umontreal.iro.lecuyer.hups.CycleBasedPointSet.CycleBasedPointSetIterator
formatState, hasNextCoordinate, nextDouble, resetCurCoordIndex, resetCurPointIndex, resetToNextPoint, setCurCoordIndex, setCurPointIndex
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface umontreal.iro.lecuyer.rng.RandomStream
toString
 

Constructor Detail

CycleBasedPointSetBase2.CycleBasedPointSetBase2Iterator

public CycleBasedPointSetBase2.CycleBasedPointSetBase2Iterator()
Method Detail

resetCurCycle

public void resetCurCycle(int index)
Overrides:
resetCurCycle in class CycleBasedPointSet.CycleBasedPointSetIterator

nextCoordinate

public double nextCoordinate()
Description copied from interface: PointSetIterator
. \begin{tabb}
 Returns the current coordinate $u_{i,j}$\ and advances to the next...
 ...s), it throws a
 \externalclass{java.util}{NoSuchElementException}.
 \end{tabb}
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
. \begin{tabb}
 Returns the next \texttt{d} coordinates of the current point in \t...
 ...t{NoSuchElementException} is thrown, as in \method{nextCoordinate}{}.
 \end{tabb}
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
. \begin{tabb}
 Same as \method{nextPoint (p, 0, d)}{}.
 \end{tabb}

Specified by:
nextPoint in interface PointSetIterator
Overrides:
nextPoint in class CycleBasedPointSet.CycleBasedPointSetIterator

SSJ
V. labo.

To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.