|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ParameterizedDESystem
This class defines a differential equation system that contains parameters
whose values influence its behavior. Parameters can be any double values, but
it is expected to have an identical number of String
identifiers and
double values, i.e., each parameter value being associated with a unique
identifier. Implementing classes provide methods to manipulate the current
parameter configuration of the system.
Method Summary | |
---|---|
int |
getParameterCount()
Gives the number of parameters in the ParameterizedDESystem . |
String[] |
getParameterIdentifiers()
It is assumed that each parameter value in the system is associated with a unique identifier, which can be used to address it in numerical calculations. |
double[] |
getParameterValues()
This method allows you to access all current values of the parameters within the ParameterizedDESystem in form of a double array. |
void |
setParameters(double[] values)
With this method it is possible to change the values of particular parameters. |
Methods inherited from interface org.simulator.math.odes.DESystem |
---|
containsEventsOrRules, getIdentifiers, getPositiveValueCount, setDelaysIncluded |
Methods inherited from interface org.apache.commons.math.ode.FirstOrderDifferentialEquations |
---|
computeDerivatives, getDimension |
Method Detail |
---|
int getParameterCount()
ParameterizedDESystem
. The
number returned here must be identical to the length of the arrays
returned by the methods getParameterIdentifiers()
AND
getParameterValues()
. Otherwise, the implementation might show
unexpected behavior.
getParameterIdentifiers()
,
getParameterValues()
String[] getParameterIdentifiers()
ParameterizedDESystem
.
getParameterCount()
,
getParameterValues()
double[] getParameterValues()
ParameterizedDESystem
in form of a double array. The
length of the returned array must be identical with the value returned by
DESystem.getPositiveValueCount()
and also with the number of identifiers
given by getParameterIdentifiers()
getParameterCount()
,
getParameterIdentifiers()
void setParameters(double[] values)
getParameterCount()
, but this does not mean that all
parameters have to be changed when calling this method. For instance, you
can obtain the current values of all parameters by calling
getParameterValues()
. Within this array you could change some
values of interest and subsequently pass the array to this method.
values
- the new values for all parameters.getParameterCount()
|
Generated at April 19 2013 Version 1.3 Revision 424 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |