|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Simulator
Method Summary | |
---|---|
org.objectweb.proactive.core.util.wrapper.BooleanWrapper |
autorun(Simulator sim)
Ask the simulator to run, pulling tasks from sim and merging them back in as they complete. |
OptionSet |
getOptionSet()
Returns the OptionSet entry state: any exit state: unchanged |
State |
getState()
Returns the current state entry state: any exit state: unchanged |
void |
init(Algorithm alg,
Asset asset)
Sets up the Simulator with an algorithm and an asset. |
void |
init(OptionSet optionSet)
Sets up the Simulator with an algorithm and an asset. |
void |
merge(Simulator sim)
Adds the results of another simulator to this Simulator. |
org.objectweb.proactive.core.util.wrapper.IntWrapper |
offload(Simulator sim)
Offer a number of the queued iterations to another simulator. |
void |
reset()
Resets Simulator to initial (cleared) state. |
void |
restart()
Clears the current results to restart the Simulator with the original Algorithm and Asset (cleared of Performance and Price results). |
void |
seed(Simulator sim)
Seeds the current Simulator from the state of another Simulator. |
void |
simulate()
Do a simulation on the asset with the given parameters and using all remaining iterations entry state: READY or RUNNING exit state: DONE |
org.objectweb.proactive.core.util.wrapper.IntWrapper |
simulate(java.lang.Integer iterations)
Attempt to simulate up to "iterations", return actual number completed. |
Method Detail |
---|
void init(OptionSet optionSet)
alg
- asset
- void init(Algorithm alg, Asset asset)
alg
- asset
- void simulate()
org.objectweb.proactive.core.util.wrapper.IntWrapper simulate(java.lang.Integer iterations)
iterations
-
org.objectweb.proactive.core.util.wrapper.BooleanWrapper autorun(Simulator sim)
org.objectweb.proactive.core.util.wrapper.IntWrapper offload(Simulator sim)
void merge(Simulator sim)
sim
- void seed(Simulator sim)
sim
- void reset()
void restart()
OptionSet getOptionSet()
State getState()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |