|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.hups.PointSet
umontreal.iro.lecuyer.hups.ContainerPointSet
umontreal.iro.lecuyer.hups.AntitheticPointSet
public class AntitheticPointSet
AntitheticPointSet
This container class provides antithetic points. That is, 1 - ui, j is returned in place of coordinate ui, j. To generate regular and antithetic variates with a point set p, e.g., for variance reduction, one can define an AntitheticPointSet object pa that contains p, and then generate the regular variates with p and the antithetic variates with pa.
Perhaps we should have a container of a stream rather than a container of a point set.
Constructor Summary | |
---|---|
AntitheticPointSet(PointSet P)
. |
Method Summary | |
---|---|
double |
getCoordinate(int i,
int j)
. |
PointSetIterator |
iterator()
. |
String |
toString()
. |
Methods inherited from class umontreal.iro.lecuyer.hups.ContainerPointSet |
---|
addRandomShift, addRandomShift, clearRandomShift, getDimension, getNumPoints, getOriginalPointSet, randomize |
Methods inherited from class umontreal.iro.lecuyer.hups.PointSet |
---|
addRandomShift, addRandomShift, formatPoints, formatPoints, formatPoints, formatPoints, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsBase, formatPointsNumbered, formatPointsNumbered, getStream, randomize, randomize, randomize, randomize, setStream, unrandomize |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AntitheticPointSet(PointSet P)
Method Detail |
---|
public double getCoordinate(int i, int j)
PointSet
getCoordinate
in class ContainerPointSet
public PointSetIterator iterator()
PointSet
iterator
in class ContainerPointSet
public String toString()
PointSet
toString
in class ContainerPointSet
|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |