public class DBase extends Object implements DoubleEvaluator
| Constructor and Description |
|---|
DBase(AbstractDVal dv) |
| Modifier and Type | Method and Description |
|---|---|
double |
evalD(HashMap<String,Double> valHM) |
double |
evalptr(HashMap<String,DoublePointer> valptrHM) |
double |
evalptr(HashMap<String,DoublePointer> valptrHM,
HashMap<String,DoublePointer> v2HM) |
String |
getExpressionString() |
String |
getReversePolishExpressionString() |
AbstractDVal |
getRoot() |
String |
getSimpleValueName() |
boolean |
isTrivial() |
DBase |
makeCopy() |
DBase |
makePrefixedCopy(String pfx,
HashSet<String> stetHS) |
void |
substituteVariableWith(String vnm,
String pth) |
String |
toString() |
boolean |
variablesIn(HashSet<String> known) |
public DBase(AbstractDVal dv)
public AbstractDVal getRoot()
public String getExpressionString()
getExpressionString in interface DoubleEvaluatorpublic String getReversePolishExpressionString()
getReversePolishExpressionString in interface DoubleEvaluatorpublic double evalD(HashMap<String,Double> valHM)
evalD in interface DoubleEvaluatorpublic double evalptr(HashMap<String,DoublePointer> valptrHM) throws RuntimeError
evalptr in interface DoubleEvaluatorRuntimeErrorpublic double evalptr(HashMap<String,DoublePointer> valptrHM, HashMap<String,DoublePointer> v2HM)
evalptr in interface DoubleEvaluatorpublic DBase makeCopy()
public DBase makePrefixedCopy(String pfx, HashSet<String> stetHS)
makePrefixedCopy in interface DoubleEvaluatorpublic void substituteVariableWith(String vnm, String pth)
substituteVariableWith in interface DoubleEvaluatorpublic boolean variablesIn(HashSet<String> known)
variablesIn in interface DoubleEvaluatorpublic boolean isTrivial()
isTrivial in interface DoubleEvaluatorpublic String getSimpleValueName()
getSimpleValueName in interface DoubleEvaluatorCopyright © 2019. All rights reserved.