|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.simulator.sbml.astnode.RuleValue
org.simulator.sbml.astnode.AssignmentRuleValue
public class AssignmentRuleValue
This class can compute and store the value of an AssignmentRule
together with the variable of the rule.
| Field Summary |
|---|
| Fields inherited from class org.simulator.sbml.astnode.RuleValue |
|---|
compartmentIndex, hasOnlySubstanceUnits, hasZeroSpatialDimensions, index, isSetInitialAmount, isSetInitialConcentration, isSpecies, nodeObject, value, valueHolder |
| Constructor Summary | |
|---|---|
AssignmentRuleValue(ASTNodeValue nodeObject,
int index)
|
|
AssignmentRuleValue(ASTNodeValue nodeObject,
int index,
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 |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.simulator.sbml.astnode.RuleValue |
|---|
getIndex, getValue, processAssignmentVariable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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,
Species sp,
int compartmentIndex,
boolean hasZeroSpatialDimensions,
SBMLValueHolder valueHolder)
nodeObject - index - sp - compartmentIndex - hasZeroSpatialDimensions - valueHolder - | Method Detail |
|---|
public boolean processRule(double[] Y,
double time,
boolean changeY)
Y - time - changeY -
public String getSpeciesReferenceID()
public ASTNode getMath()
|
Generated at March 17 2014 Version 1.4 Revision 453 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||