|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.cuni.jagrlib.RandomStatic
public class RandomStatic
Simple static pseudo-random generators. Mostly LCG (Linear Congruential Generators).
| Field Summary | |
|---|---|
protected static long |
BITS_31
|
protected static long |
BITS_32
|
| Constructor Summary | |
|---|---|
RandomStatic()
|
|
| Method Summary | |
|---|---|
static long |
ibmRandu(long v)
LCG pseudo-random generator: IBM randu. |
static long |
ibmRanduMax()
max + 1 for: IBM randu. |
static long |
maple(long v)
LCG pseudo-random generator from Maple. |
static long |
mapleMax()
max + 1 for Maple. |
static long |
numericRecipes(long v)
LCG pseudo-random generator from "Numeric Recipes in C". |
static long |
numericRecipesMax()
max + 1 for: "Numeric Recipes in C". |
static long |
parkMiller(long v)
LCG pseudo-random generator: minimal standard LCG. |
static long |
parkMillerMax()
max + 1 for minimal standard LCG. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final long BITS_32
protected static final long BITS_31
| Constructor Detail |
|---|
public RandomStatic()
| Method Detail |
|---|
public static final long numericRecipes(long v)
v - Random seed.
numericRecipesMax()public static final long numericRecipesMax()
public static final long ibmRandu(long v)
v - Random seed.
ibmRanduMax()public static final long ibmRanduMax()
public static final long parkMiller(long v)
v - Random seed.
parkMillerMax()public static final long parkMillerMax()
public static final long maple(long v)
v - Random seed.
mapleMax()public static final long mapleMax()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||