Cloneable
, Serializable
AbstractDESSolver
, AdamsBashforthSolver
, AdamsMoultonSolver
, AdaptiveStepsizeIntegrator
, DormandPrince54Solver
, DormandPrince853Solver
, EulerMethod
, FirstOrderSolver
, GraggBulirschStoerSolver
, HighamHall54Solver
, RosenbrockSolver
, RungeKutta_EventSolver
public interface DESSolver extends Cloneable, Serializable
Modifier and Type | Method | Description |
---|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener) |
Add PropertyChangedListener to this Solver
|
DESSolver |
clone() |
|
void |
firePropertyChange(double oldValue,
double newValue) |
Tell each listener that property value changed.
|
int |
getKiSAOterm() |
For details about the Kinetic Simulation Algorithm Ontology (KiSAO) see
http://biomodels.net/kisao/.
|
double |
getStepSize() |
Obtain the currently set integration step size.
|
boolean |
isIncludeIntermediates() |
If this method returns
true , intermediate results that may
originate from a RichDESystem are included into the
MultiTable that contains the result of a numerical integration. |
boolean |
isUnstable() |
Method to check whether the solution of the numerical integration
procedure contains
Double.NaN values. |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
remove PropertyChangedListener to this Solver
|
void |
setIncludeIntermediates(boolean includeIntermediates) |
Allows switching whether or not intermediate results should be included
into the
MultiTable of the result. |
void |
setStepSize(double stepSize) |
Set the integration step size.
|
MultiTable |
solve(DESystem DES,
double[] initialValues,
double[] timepoints) |
Solves the given differential equation system with the step size h and
the number of steps as given starting at the value x.
|
MultiTable |
solve(DESystem DES,
double[] initialValues,
double timeBegin,
double timeEnd) |
Solves the given differential equation system
|
MultiTable |
solve(DESystem DES,
double[] initialValues,
double x,
double h,
int steps) |
Solves the given differential equation system with the step size h and
the number of steps as given starting at the value x.
|
MultiTable |
solve(DESystem DES,
MultiTable.Block timeSeriesInitConditions,
double[] initialValues) |
Solves the given
DESystem using new initial conditions in each
time step. |
void addPropertyChangeListener(PropertyChangeListener listener)
listener
- DESSolver clone()
void firePropertyChange(double oldValue, double newValue)
oldValue
- newValue
- int getKiSAOterm()
double getStepSize()
boolean isIncludeIntermediates()
true
, intermediate results that may
originate from a RichDESystem
are included into the
MultiTable
that contains the result of a numerical integration.boolean isUnstable()
Double.NaN
values.void removePropertyChangeListener(PropertyChangeListener listener)
listener
- void setIncludeIntermediates(boolean includeIntermediates)
MultiTable
of the result.includeIntermediates
- if true
, intermediate results are included into the
result.void setStepSize(double stepSize)
stepSize
- MultiTable solve(DESystem DES, double[] initialValues, double timeBegin, double timeEnd) throws org.apache.commons.math.ode.DerivativeException
DES
- The differential equation system to be solved.initialValues
- Return value at the start point.timeBegin
- timeEnd
- org.apache.commons.math.ode.DerivativeException
- if something's wrong...MultiTable solve(DESystem DES, double[] initialValues, double x, double h, int steps) throws org.apache.commons.math.ode.DerivativeException
DES
- The differential equation system to be solved.initialValues
- Return value at the start point.x
- Start argument.h
- Step size.steps
- Number of steps.org.apache.commons.math.ode.DerivativeException
- if something's wrong...MultiTable solve(DESystem DES, double[] initialValues, double[] timepoints) throws org.apache.commons.math.ode.DerivativeException
DES
- The differential equation system to be solved.initialValues
- Return value at the start point.timepoints
- The timepoints for which the result should be returnedorg.apache.commons.math.ode.DerivativeException
- if something's wrong...MultiTable solve(DESystem DES, MultiTable.Block timeSeriesInitConditions, double[] initialValues) throws org.apache.commons.math.ode.DerivativeException
DESystem
using new initial conditions in each
time step. The given MultiTable
contains the expected
solution of the solver at certain time points. The solver has the task to
re-initialize the integration procedure in each given time point using
the initial values from this state.DES
- The DESystem
to be simulated.timeSeriesInitConditions
- A time series of initial conditions for each time point. In
some cases the dimension of the given DESystem
may
exceed the number of columns in this given time-series. Thus,
for the initialization of the simulation a full vector of
initial values is required and must be passed to this method
as a separate double array.initialValues
- An array of all initial values. This array may exceed the
number of columns in the given MultiTable.Block
but its length
must equal the dimension of the given DESystem
.MultiTable
containing a time series of the
same dimension as given by the DESystem
and simulated
values at each time point.org.apache.commons.math.ode.DerivativeException
Copyright © 2007–2018. All rights reserved.