public class RateRuleValue extends RuleValue
Constructor and Description |
---|
RateRuleValue(ASTNodeValue nodeObject,
int index,
List<Integer> speciesIndices,
SBMLValueHolder valueHolder,
String variable)
Constructor for a rule with a compartment as variable
|
RateRuleValue(ASTNodeValue nodeObject,
int index,
org.sbml.jsbml.Species sp,
int compartmentIndex,
boolean hasZeroSpatialDimensions,
SBMLValueHolder valueHolder,
String variable,
boolean isAmount)
Constructor for a rule with a species as variable
|
RateRuleValue(ASTNodeValue nodeObject,
int index,
String variable) |
Modifier and Type | Method and Description |
---|---|
String |
getVariable() |
void |
processRule(double[] changeRate,
double[] Y,
double time)
Processes the rule and saves the new value of the corresponding variable in the changeRate
vector.
|
void |
setCompartmentRateRule(RateRuleValue compartmentRateRule) |
getIndex, getNodeObject, getValue
public RateRuleValue(ASTNodeValue nodeObject, int index, String variable)
nodeObject
- index
- public RateRuleValue(ASTNodeValue nodeObject, int index, org.sbml.jsbml.Species sp, int compartmentIndex, boolean hasZeroSpatialDimensions, SBMLValueHolder valueHolder, String variable, boolean isAmount)
nodeObject
- index
- sp
- compartmentIndex
- hasZeroSpatialDimensions
- valueHolder
- variable
- isAmount
- public RateRuleValue(ASTNodeValue nodeObject, int index, List<Integer> speciesIndices, SBMLValueHolder valueHolder, String variable)
nodeObject
- index
- speciesIndices
- valueHolder
- public String getVariable()
public void processRule(double[] changeRate, double[] Y, double time)
changeRate
- Y
- time
- public void setCompartmentRateRule(RateRuleValue compartmentRateRule)
Copyright © 2007–2021. All rights reserved.