All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----edu.cornell.lassp.houle.RngPack.RandomElement
|
+----edu.cornell.lassp.houle.RngPack.RandomShuffle
RandomShuffle markov=new RandomShuffle(new RandomJava(),32)This example creates a new RandomShuffle that shuffles the output of RandomJava (which uses the Math.random() generator built into Java) using a 32 number shuffle deck.
Source code is available.
public RandomShuffle(RandomElement chaney,
int ds)
public double raw()
All Packages Class Hierarchy This Package Previous Next Index