|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NeedsRandomGenerator
Implementing this interfaces enables injection of seeded
RandomGenerator -instances.
In distributed environments it's important to have the random-generators
seeded correctly (differently) to avoid correlations between the generated
random numbers on different machines. The Framework injects correctly seeded
RandomGenerator objects in all components of an
OptimizerConfiguration.
OptimizerConfiguration.injectRandomGenerator(RandomGenerator)| Method Summary | |
|---|---|
void |
setRandomGenerator(org.apache.commons.math.random.RandomGenerator randomGenerator)
Injects a RandomGenerator instance. |
| Method Detail |
|---|
void setRandomGenerator(org.apache.commons.math.random.RandomGenerator randomGenerator)
RandomGenerator instance.
randomGenerator - the new RandomGenerator instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||