Package com.singularsys.extensions.xjep
Class XMonitoringEvaluator
java.lang.Object
com.singularsys.jep.standard.FastEvaluator
com.singularsys.jep.misc.MonitoringEvaluator
com.singularsys.extensions.xjep.XMonitoringEvaluator
- All Implemented Interfaces:
Evaluator,GenericVisitor<Object,,Void, EvaluationException> JepComponent,Serializable
Evaluator which uses equations of variables.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.singularsys.jep.misc.MonitoringEvaluator
MonitoringEvaluator.CountAndTime, MonitoringEvaluator.GetWithException<T>, MonitoringEvaluator.Type -
Field Summary
Fields inherited from class com.singularsys.jep.standard.FastEvaluator
trapInfinity, trapNaN, trapNullValues, trapUnsetValues -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.singularsys.jep.misc.MonitoringEvaluator
clear, evaluate, formatTabbedTable, getCallTable, getCallTree, getConstantCallCounts, getFunctionCallCounts, getLightWeightInstance, getMaxDepth, getNodeCallCounts, getNumCalls, getOperatorCallCounts, getTotalInstanceTime, getVariableCallCounts, init, justifiedCallTable, justifiedCallTree, measure, visitConstant, visitFunMethods inherited from class com.singularsys.jep.standard.FastEvaluator
eval, isTrapInfinity, isTrapNaN, isTrapNullValues, isTrapUnsetValues, makeException, nodeAccept, setTrapInfinity, setTrapNaN, setTrapNullValues, setTrapUnsetValues, visit, visit, visit, visitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.singularsys.jep.GenericVisitor
makeException, visit, visitChildren
-
Constructor Details
-
XMonitoringEvaluator
-
-
Method Details
-
isForce
public boolean isForce()Whether to force re-evaluation of sub-equations. -
setForce
public void setForce(boolean force) Whether to force re-evaluation of sub-equations. If theforceparameter is true will always use the equation. Ifforceis false then it only uses the equation is the variable does not have a valid value. -
visitVar
Evaluates a variable, it will calculate the value using variables equation if necessary. If theforceparameter is true will always use the equation. Ifforceis false then it only uses the equation is the variable does not have a valid value.- Overrides:
visitVarin classMonitoringEvaluator- Throws:
EvaluationException
-