public class ConditionalDBase extends Object implements DoubleEvaluator
| Constructor and Description |
|---|
ConditionalDBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCondition(BooleanEvaluator be,
DoubleEvaluator de) |
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() |
String |
getSimpleValueName() |
boolean |
isTrivial() |
ConditionalDBase |
makeCopy() |
ConditionalDBase |
makePrefixedCopy(String pfx,
HashSet<String> stetHS) |
void |
substituteVariableWith(String vnm,
String pth) |
String |
toString() |
boolean |
variablesIn(HashSet<String> known) |
public void addCondition(BooleanEvaluator be, DoubleEvaluator de)
public 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 ConditionalDBase makeCopy()
public ConditionalDBase 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 String getExpressionString()
getExpressionString in interface DoubleEvaluatorpublic String getReversePolishExpressionString()
getReversePolishExpressionString in interface DoubleEvaluatorpublic boolean isTrivial()
isTrivial in interface DoubleEvaluatorpublic String getSimpleValueName()
getSimpleValueName in interface DoubleEvaluatorCopyright © 2019. All rights reserved.