public class RuleValue extends Object
| Constructor and Description |
|---|
RuleValue(ASTNodeValue nodeObject,
int index) |
RuleValue(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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex()
Returns the index of the variable in the Y vector of the value holder.
|
ASTNodeValue |
getNodeObject() |
double |
getValue()
Returns the value of the rule.
|
public RuleValue(ASTNodeValue nodeObject, int index)
nodeObject - index - public RuleValue(ASTNodeValue nodeObject, int index, org.sbml.jsbml.Species sp, int compartmentIndex, boolean hasZeroSpatialDimensions, SBMLValueHolder valueHolder, boolean isAmount)
nodeObject - index - sp - compartmentIndex - hasZeroSpatialDimensions - valueHolder - public double getValue()
public int getIndex()
public ASTNodeValue getNodeObject()
Copyright © 2007–2021. All rights reserved.