25package umontreal.ssj.hups;
27import umontreal.ssj.rng.RandomStream;
This is the interface for iterators that permit one to go through the points of a PointSet and the su...
void resetCurCoordIndex()
Equivalent to setCurCoordIndex(0).
void nextCoordinates(double[] p, int d)
Returns in p the next d coordinates of the current point and advances the current coordinate index by...
int nextPoint(double[] p, int d)
Same as nextPoint(p, 0, d).
int getCurPointIndex()
Returns the index of the current point.
int getCurCoordIndex()
Returns the index of the current coordinate.
boolean hasNextPoint()
Returns true if there is a next point.
void resetCurPointIndex()
Equivalent to setCurPointIndex(0).
void setCurPointIndex(int i)
Resets the current point index to and the current coordinate index to zero.
int nextPoint(double[] p, int fromDim, int d)
Returns in p the next d coordinates of the current point, starting at coordinate fromDim (i....
boolean hasNextCoordinate()
Returns true if the current point has another coordinate.
void setCurCoordIndex(int j)
Sets the current coordinate index to , so that the next calls to nextCoordinate or nextCoordinates wi...
int resetToNextPoint()
Increases the current point index by 1 and returns its new value.
double nextCoordinate()
Returns the current coordinate and advances to the next one.
This interface defines the basic structures to handle multiple streams of uniform (pseudo)random numb...