public class ExperimentUtils extends Object
Constructor and Description |
---|
ExperimentUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
ensureThreadSafety(Experiment exp)
Makes sure that the experiment uses a threadsafe setup.
|
protected static void |
ensureThreadSafety(Experiment exp,
Evaluator evaluator)
Makes sure that the experiment uses a threadsafe setup.
|
protected static boolean |
isMultiThreaded(Experiment exp,
Evaluator evaluator)
Checks whether an Evaluator implements
ThreadLimiter and uses multi-threading. |
protected static boolean isMultiThreaded(Experiment exp, Evaluator evaluator)
ThreadLimiter
and uses multi-threading.exp
- the experiment to check/updateevaluator
- the current evaluator to checkprotected static void ensureThreadSafety(Experiment exp, Evaluator evaluator)
exp
- the experiment to check/updateevaluator
- the current evaluator to checkpublic static void ensureThreadSafety(Experiment exp)
exp
- the experiment to check/updateCopyright © 2017. All Rights Reserved.