public static class ThreadSpeedTest.EvaluationThread
extends java.lang.Thread
SerializableExpression,
LightWeightComponentSet| Constructor and Description |
|---|
EvaluationThread(int index,
Jep baseJep,
Node baseExpression,
java.lang.String varName,
double minValue,
double maxValue,
int numItts)
Construct a thread.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Evaluates the expression numItts times.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic EvaluationThread(int index,
Jep baseJep,
Node baseExpression,
java.lang.String varName,
double minValue,
double maxValue,
int numItts)
throws JepException
new Jep(new LightWeightComponentSet(baseJep))
to create a local Jep instance and
(new ImportationVisitor(localJep)).deepCopy(baseExpression)
to create a local copy of the expression.index - the number of this threadbaseJep - the base Jep instancebaseExpression - the expressionvarName - name of the variableminValue - minimum value for variablemaxValue - maximum value for variablenumItts - number of iterationsJepExceptionCopyright © 2018 Singular Systems http://www.singularsys.com/jep