public class AssignmentRuleValue extends RuleValue
AssignmentRule
together with the variable of the rule.compartmentIndex, hasOnlySubstanceUnits, hasZeroSpatialDimensions, index, isSetInitialAmount, isSetInitialConcentration, isSpecies, nodeObject, value, valueHolder
Constructor | Description |
---|---|
AssignmentRuleValue(ASTNodeValue nodeObject,
int index) |
|
AssignmentRuleValue(ASTNodeValue nodeObject,
int index,
org.sbml.jsbml.Species sp,
int compartmentIndex,
boolean hasZeroSpatialDimensions,
SBMLValueHolder valueHolder) |
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 | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIndex, getValue, processAssignmentVariable
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)
nodeObject
- index
- sp
- compartmentIndex
- hasZeroSpatialDimensions
- valueHolder
- public boolean processRule(double[] Y, double time, boolean changeY)
Y
- time
- changeY
- public String getSpeciesReferenceID()
public org.sbml.jsbml.ASTNode getMath()
Copyright © 2007–2018. All rights reserved.