public class RpThreadSpeed extends ThreadSpeedTest
Modifier and Type | Class and Description |
---|---|
static class |
RpThreadSpeed.RpeEvaluationThread
A thread which evaluates an expression multiple times using RpEval.
|
ThreadSpeedTest.EvaluationThread
base, baseJep, MAX_LOOPS, MAX_THREADS, N_TERMS, TOTAL_ITTS, varName
Constructor and Description |
---|
RpThreadSpeed(java.lang.String expression,
java.lang.String varName) |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
java.lang.Thread |
makeThread(int index,
double min,
double max,
int nItts)
Make a thread to evaluate an expression multiple times.
|
analyize, getExpression, go, loop
public RpThreadSpeed(java.lang.String expression, java.lang.String varName) throws ParseException
ParseException
public java.lang.Thread makeThread(int index, double min, double max, int nItts) throws JepException
ThreadSpeedTest
ThreadSpeedTest.EvaluationThread
makeThread
in class ThreadSpeedTest
index
- the number of this threadmin
- minimum value for variablemax
- maximum value for variablenItts
- number of iterationsJepException
public static void main(java.lang.String[] args)
args
- Copyright © 2018 Singular Systems http://www.singularsys.com/jep