|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PointSetRandomization
PointSetRandomization
This interface is used to randomize a umontreal.iro.lecuyer.hupsPointSet. One can implement method randomizePointSet in any way. This method must use an internal umontreal.iro.lecuyer.rngRandomStream. This stream can be set in the constructor, but the methods getStream and setStreamRandomStream must be implemented.
The method randomizePointSet must be implemented using combinations of the randomization methods from the point set such as umontreal.iro.lecuyer.hupsPointSetaddRandomShift, umontreal.iro.lecuyer.hupsDigitalNetleftMatrixScramble, umontreal.iro.lecuyer.hupsDigitalNetstripedMatrixScramble, ...
If more than one PointSetRandomization is applied to the same point set, the randomizations will concatenate if they are of different types, but only the last of each type will remain.
There should be examples to illustrate how this works and how to use it.
Method Summary | |
---|---|
RandomStream |
getStream()
. |
void |
randomize(PointSet p)
. |
void |
setStream(RandomStream stream)
. |
Method Detail |
---|
void randomize(PointSet p)
void setStream(RandomStream stream)
RandomStream getStream()
|
SSJ V. labo. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |