public class AssignmentRuleValue extends RuleValue
AssignmentRule
together with the
variable of the rule.Constructor and Description |
---|
AssignmentRuleValue(ASTNodeValue nodeObject,
int index) |
AssignmentRuleValue(ASTNodeValue nodeObject,
int index,
org.sbml.jsbml.Species sp,
int compartmentIndex,
boolean hasZeroSpatialDimensions,
SBMLValueHolder valueHolder,
boolean isAmount)
Constructor for rules that refer to a species
|
AssignmentRuleValue(ASTNodeValue nodeObject,
String speciesReferenceID,
Map<String,Double> stoichiometricCoefHash)
Constructor for rules that refer to a species reference
|
Modifier and Type | Method and Description |
---|---|
org.sbml.jsbml.ASTNode |
getMath() |
String |
getSpeciesReferenceID()
Returns the id of the species reference (if present), null otherwise.
|
boolean |
processRule(double[] Y,
double time,
boolean changeY)
Processes the rule and saves the new value of the corresponding variable in the Y vector if
changeY is set to true.
|
getIndex, getNodeObject, getValue
public AssignmentRuleValue(ASTNodeValue nodeObject, int index)
nodeObject
- index
- public AssignmentRuleValue(ASTNodeValue nodeObject, String speciesReferenceID, Map<String,Double> stoichiometricCoefHash)
nodeObject
- speciesReferenceID
- stoichiometricCoefHash
- public AssignmentRuleValue(ASTNodeValue nodeObject, int index, org.sbml.jsbml.Species sp, int compartmentIndex, boolean hasZeroSpatialDimensions, SBMLValueHolder valueHolder, boolean isAmount)
nodeObject
- index
- sp
- compartmentIndex
- hasZeroSpatialDimensions
- valueHolder
- isAmount
- public boolean processRule(double[] Y, double time, boolean changeY)
Y
- time
- changeY
- public String getSpeciesReferenceID()
public org.sbml.jsbml.ASTNode getMath()
Copyright © 2007–2021. All rights reserved.