|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--fr.jussieu.gla.wasa.core.ProblemItem
|
+--fr.jussieu.gla.wasa.core.RandomConfigurator
The base class for a Configurator which assigns random values to Buisness Objects states.
| Constructor Summary | |
RandomConfigurator(Problem problem)
Adds automatically the newly created instance to the given Problem. |
|
| Method Summary | |
abstract void |
configure(float randomRatio)
This method is aimed at configuring buisness objects with a certain randomRatio rate. |
protected java.util.Random |
getRandom()
Returns the Engine randomizer. |
boolean |
shouldConfigure(float randomRatio)
Returns true with a rate equal to randomRatio. |
| Methods inherited from class fr.jussieu.gla.wasa.core.ProblemItem |
getName, getProblem, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RandomConfigurator(Problem problem)
| Method Detail |
protected final java.util.Random getRandom()
public final boolean shouldConfigure(float randomRatio)
public abstract void configure(float randomRatio)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||