
public class RandomFactory extends Object
Random generator objects.
 It does not provide individual random numbers, but will create a random
 generator; either using a fixed seed or random seeded (default).
 
 TODO: allow global fixing of seed, to make whole experiments reproducible,
 without having to set every single seed.| Modifier and Type | Field and Description | 
|---|---|
| static RandomFactory | DEFAULTGlobal default factory | 
| private Long | seedSeed | 
| Constructor and Description | 
|---|
| RandomFactory(Long seed)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| static RandomFactory | get(Long seed)Factory method: Get a random factory for the given seed. | 
| Random | getRandom()Get a random generator. | 
public static RandomFactory DEFAULT
private Long seed
public RandomFactory(Long seed)
seed - Random seedpublic static RandomFactory get(Long seed)
seed - Seedpublic Random getRandom()