|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ValueHolder
A ValueHolder is necessary to provide the current values for
Compartments, Species, Parameters, and
SpeciesReferences at simulation time. It also grants access
to the current simulation time. In this way, it is possible to separate
the interpretation and simulation of a Model from the pure evaluation
of ASTNodes.
| Method Summary | |
|---|---|
double |
getCurrentCompartmentSize(java.lang.String id)
Returns the size of the compartment with the given id. |
double |
getCurrentCompartmentValueOf(java.lang.String speciesId)
Returns the size of the compartment of the species with the given id. |
double |
getCurrentParameterValue(java.lang.String id)
Returns the value of the parameter with the given id. |
double |
getCurrentSpeciesValue(java.lang.String id)
Returns the value of the species with the given id. |
double |
getCurrentStoichiometry(java.lang.String id)
Returns the value of the stoichiometry of the species reference with the given id. |
double |
getCurrentTime()
Returns the current simulation time. |
double |
getCurrentValueOf(int position)
Returns the current value of the Y vector at the given position. |
double |
getCurrentValueOf(java.lang.String id)
Returns the current value of the SBase with the given id. |
| Methods inherited from interface org.simulator.math.odes.DelayValueHolder |
|---|
computeDelayedValue |
| Method Detail |
|---|
double getCurrentCompartmentSize(java.lang.String id)
id -
double getCurrentCompartmentValueOf(java.lang.String speciesId)
speciesId -
double getCurrentParameterValue(java.lang.String id)
id -
double getCurrentSpeciesValue(java.lang.String id)
id -
double getCurrentStoichiometry(java.lang.String id)
id -
double getCurrentTime()
time -
double getCurrentValueOf(java.lang.String id)
id -
double getCurrentValueOf(int position)
position -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||