|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jgap.impl.CauchyRandomGenerator
public class CauchyRandomGenerator
Cauchy probability density function (cumulative distribution function).
| Constructor Summary | |
|---|---|
CauchyRandomGenerator()
Defaults to location = 0.0 and scale = 1.0. |
|
CauchyRandomGenerator(double a_location,
double a_scale)
|
|
| Method Summary | |
|---|---|
double |
getCauchyStandardDeviation()
|
boolean |
nextBoolean()
Returns the next pseudorandom, uniformly distributed boolean value from this random number generator's sequence. |
double |
nextCauchy()
Calculate Cumulative Cauchy distribution function. |
double |
nextDouble()
Returns the next pseudorandom, uniformly distributed double value between 0.0 and 1.0 from this random number generator's sequence. |
float |
nextFloat()
Returns the next pseudorandom, uniformly distributed float value between 0.0 and 1.0 from this random number generator's sequence. |
int |
nextInt()
Returns the next pseudorandom, uniformly distributed int value from this random number generator's sequence. |
int |
nextInt(int a_ceiling)
Returns a pseudorandom, uniformly distributed int value between 0 (inclusive) and the specified value (exclusive), drawn from this random number generator's sequence. |
long |
nextLong()
Returns the next pseudorandom, uniformly distributed long value from this random number generator's sequence. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CauchyRandomGenerator()
public CauchyRandomGenerator(double a_location,
double a_scale)
a_location - cauchy parameter, 0 is standarda_scale - cauchy parameter, 1 is standard| Method Detail |
|---|
public int nextInt()
RandomGenerator
nextInt in interface RandomGeneratorpublic int nextInt(int a_ceiling)
RandomGenerator
nextInt in interface RandomGeneratora_ceiling - the upper boundary excluded
public long nextLong()
RandomGenerator
nextLong in interface RandomGeneratorpublic double nextDouble()
RandomGenerator
nextDouble in interface RandomGeneratorpublic float nextFloat()
RandomGenerator
nextFloat in interface RandomGeneratorpublic boolean nextBoolean()
RandomGenerator
nextBoolean in interface RandomGeneratorpublic double nextCauchy()
public double getCauchyStandardDeviation()
|
JGAP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||