public abstract class AbstractSymbolEvaluator extends java.lang.Object implements ISymbolEvaluator
Constructor and Description |
---|
AbstractSymbolEvaluator() |
Modifier and Type | Method and Description |
---|---|
IExpr |
apfloatEval(ISymbol symbol,
EvalEngine engine)
Numerical evaluation of a symbol
|
IExpr |
evaluate(ISymbol symbol)
Symbolic evaluation of a symbol
|
IExpr |
numericEval(ISymbol symbol)
Numerical evaluation of a symbol
|
void |
setUp(ISymbol symbol)
This method will be called every time a new ISymbol will be created.
|
public IExpr evaluate(ISymbol symbol)
ISymbolEvaluator
evaluate
in interface ISymbolEvaluator
symbol
- the symbol which should be evaluatednull
,
if evaluation isn't possiblepublic IExpr numericEval(ISymbol symbol)
ISymbolEvaluator
numericEval
in interface ISymbolEvaluator
symbol
- the symbol which should be evaluatednull
,
if evaluation isn't possiblepublic IExpr apfloatEval(ISymbol symbol, EvalEngine engine)
ISymbolEvaluator
apfloatEval
in interface ISymbolEvaluator
symbol
- the symbol which should be evaluatedengine
- TODOnull
,
if evaluation isn't possiblepublic void setUp(ISymbol symbol)
IEvaluator
setUp
in interface IEvaluator
symbol
- the symbol which should be set up