org.systemsbiology.chem
Class SymbolEvaluatorChem
java.lang.Object
org.systemsbiology.math.SymbolEvaluator
org.systemsbiology.chem.SymbolEvaluatorChem
- All Implemented Interfaces:
- Cloneable
- public final class SymbolEvaluatorChem
- extends SymbolEvaluator
Symbol Evaluator class used for chemical simulations.
- Author:
- Stephen Ramsey
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SymbolEvaluatorChem
public SymbolEvaluatorChem(boolean pUseExpressionValueCaching,
SymbolEvaluationPostProcessor pSymbolEvaluationPostProcessor,
ReservedSymbolMapper pReservedSymbolMapper,
HashMap pSymbolsMap)
getReservedSymbolMapper
public ReservedSymbolMapper getReservedSymbolMapper()
setLocalSymbolsMap
public void setLocalSymbolsMap(HashMap pLocalSymbolsMap)
setTime
public void setTime(double pTime)
getTime
public double getTime()
getExpressionValue
public Expression getExpressionValue(Symbol pSymbol)
throws DataNotFoundException
- Description copied from class:
SymbolEvaluator
- Returns null if the symbol corresponds to a numeric value; or
returns the Expression if the symbol corresponds to an Expression;
or throws an exception if the symbol is not defined.
- Specified by:
getExpressionValue in class SymbolEvaluator
- Throws:
DataNotFoundException
getUnindexedValue
public double getUnindexedValue(Symbol pSymbol)
throws DataNotFoundException,
IllegalStateException
- Specified by:
getUnindexedValue in class SymbolEvaluator
- Throws:
DataNotFoundException
IllegalStateException
hasValue
public boolean hasValue(Symbol pSymbol)
- Description copied from class:
SymbolEvaluator
- Returns true if the object has a
Value defined,
or false otherwise.
- Specified by:
hasValue in class SymbolEvaluator
- Returns:
- true if the object has a
Value defined,
or false otherwise.
getSymbol
public Symbol getSymbol(String pSymbolName)