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 DoubleEvaluator
public double evalptr(HashMap<String,DoublePointer> valptrHM) throws RuntimeError
evalptr
in interface DoubleEvaluator
RuntimeError
public double evalptr(HashMap<String,DoublePointer> valptrHM, HashMap<String,DoublePointer> v2HM)
evalptr
in interface DoubleEvaluator
public ConditionalDBase makeCopy()
public ConditionalDBase makePrefixedCopy(String pfx, HashSet<String> stetHS)
makePrefixedCopy
in interface DoubleEvaluator
public void substituteVariableWith(String vnm, String pth)
substituteVariableWith
in interface DoubleEvaluator
public boolean variablesIn(HashSet<String> known)
variablesIn
in interface DoubleEvaluator
public String getExpressionString()
getExpressionString
in interface DoubleEvaluator
public String getReversePolishExpressionString()
getReversePolishExpressionString
in interface DoubleEvaluator
public boolean isTrivial()
isTrivial
in interface DoubleEvaluator
public String getSimpleValueName()
getSimpleValueName
in interface DoubleEvaluator
Copyright © 2019. All rights reserved.