|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Random
gggt.eg.dst.Gaussian
public class Gaussian
The Gaussian class.
| Constructor Summary | |
|---|---|
Gaussian()
Constructor with var equals to 1. |
|
Gaussian(double var)
Constructor with a var parametter. |
|
| Method Summary | |
|---|---|
double |
getVar()
To return the var value. |
double |
nextValue()
To return a double according a gaussian probability. |
| Methods inherited from class java.util.Random |
|---|
nextBoolean, nextBytes, nextDouble, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeed |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Gaussian(double var)
public Gaussian()
| Method Detail |
|---|
public double getVar()
public double nextValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||