org.simulator.sbml.astnode
Class RateRuleValue
java.lang.Object
org.simulator.sbml.astnode.RuleValue
org.simulator.sbml.astnode.RateRuleValue
public class RateRuleValue
- extends RuleValue
This class can compute and store the value of a rate rule together with the
variable of the rule.
- Version:
- $Rev: 454 $
- Author:
- Roland Keller
Method Summary |
void |
processRule(double[] changeRate,
double[] Y,
double time)
Processes the rule and saves the new value of the corresponding variable in the changeRate vector. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RateRuleValue
public RateRuleValue(ASTNodeValue nodeObject,
int index)
- Parameters:
nodeObject
- index
-
RateRuleValue
public RateRuleValue(ASTNodeValue nodeObject,
int index,
Species sp,
int compartmentIndex,
boolean hasZeroSpatialDimensions,
SBMLValueHolder valueHolder)
- Constructor for a rule with a species as variable
- Parameters:
nodeObject
- index
- sp
- compartmentIndex
- hasZeroSpatialDimensions
- valueHolder
-
RateRuleValue
public RateRuleValue(ASTNodeValue nodeObject,
int index,
List<Integer> speciesIndices,
SBMLValueHolder valueHolder)
- Constructor for a rule with a compartment as variable
- Parameters:
nodeObject
- index
- speciesIndices
- valueHolder
-
processRule
public void processRule(double[] changeRate,
double[] Y,
double time)
- Processes the rule and saves the new value of the corresponding variable in the changeRate vector.
- Parameters:
changeRate
- Y
- time
-