|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Random
org.statcato.random.SampleFromVector
public class SampleFromVector
A random sampler for a given vector, with or without replacement.
| Constructor Summary | |
|---|---|
SampleFromVector(java.util.Vector<Cell> vector,
boolean replace)
|
|
| Method Summary | |
|---|---|
Cell |
nextSample()
|
| Methods inherited from class java.util.Random |
|---|
next, nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SampleFromVector(java.util.Vector<Cell> vector,
boolean replace)
| Method Detail |
|---|
public Cell nextSample()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||