DelayValueHolder
, Serializable
SBMLinterpreter
public interface SBMLValueHolder extends DelayValueHolder, Serializable
SBMLValueHolder
is necessary to provide the current values for
Compartment
s, Species
, Parameter
s, and
SpeciesReference
s 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 ASTNode
s.Modifier and Type | Method | Description |
---|---|---|
double |
getCurrentCompartmentSize(String id) |
Returns the size of the compartment with the given id.
|
double |
getCurrentCompartmentValueOf(String speciesId) |
Returns the size of the compartment of the species with the given id.
|
double |
getCurrentParameterValue(String id) |
Returns the value of the parameter with the given id.
|
double |
getCurrentSpeciesValue(String id) |
Returns the value of the species with the given id.
|
double |
getCurrentStoichiometry(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(String id) |
Returns the current value of the SBase with the given id.
|
computeDelayedValue
double getCurrentCompartmentSize(String id)
id
- double getCurrentCompartmentValueOf(String speciesId)
speciesId
- double getCurrentParameterValue(String id)
id
- double getCurrentSpeciesValue(String id)
id
- double getCurrentStoichiometry(String id)
id
- double getCurrentTime()
double getCurrentValueOf(String id)
id
- double getCurrentValueOf(int position)
position
- Copyright © 2007–2018. All rights reserved.