Serializable
, Cloneable
, DelayValueHolder
, DESSolver
public class EulerMethod extends AbstractDESSolver
clonedSolver, PROGRESS
Constructor | Description |
---|---|
EulerMethod() |
default constructor
|
EulerMethod(double stepSize) |
|
EulerMethod(double stepSize,
boolean nonnegative) |
|
EulerMethod(EulerMethod eulerMethod) |
clone constructor
|
Modifier and Type | Method | Description |
---|---|---|
EulerMethod |
clone() |
|
double[] |
computeChange(DESystem DES,
double[] yPrev,
double t,
double stepSize,
double[] change,
boolean steadyState) |
Computes the change for a given system at the current time with the
current setting for the integration step size.
|
int |
getKiSAOterm() |
For details about the Kinetic Simulation Algorithm Ontology (KiSAO) see
http://biomodels.net/kisao/.
|
String |
getName() |
This gives a human-readable name of this solver that can be displayed in
a graphical user interface.
|
protected boolean |
hasSolverEventProcessing() |
additionalResults, addPropertyChangeListener, computeDelayedValue, computeSteadyState, eventOccurred, firePropertyChange, g, getSerialversionuid, getStepSize, inBetweenSteps, initResultMatrix, initResultMatrix, initResultMatrix, isIncludeIntermediates, isNonnegative, isUnstable, processEvents, processEventsAndRules, processRules, removePropertyChangeListener, reset, resetState, setIncludeIntermediates, setNonnegative, setStepSize, setUnstableFlag, solve, solve, solve, solve, steadystate
public EulerMethod()
public EulerMethod(double stepSize)
stepSize
- public EulerMethod(double stepSize, boolean nonnegative)
stepSize
- nonnegative
- the nonnegative flag of the super classAbstractDESSolver
public EulerMethod(EulerMethod eulerMethod)
eulerMethod
- public String getName()
AbstractDESSolver
getName
in class AbstractDESSolver
public double[] computeChange(DESystem DES, double[] yPrev, double t, double stepSize, double[] change, boolean steadyState) throws org.apache.commons.math.ode.DerivativeException
AbstractDESSolver
computeChange
in class AbstractDESSolver
DES
- The system to be simulated.yPrev
- The current state of the system.t
- The current simulation time.stepSize
- The current integration step size.change
- The vector for the resulting change of the system.org.apache.commons.math.ode.DerivativeException
public EulerMethod clone()
clone
in interface DESSolver
clone
in class AbstractDESSolver
protected boolean hasSolverEventProcessing()
hasSolverEventProcessing
in class AbstractDESSolver
public int getKiSAOterm()
DESSolver
Copyright © 2007–2018. All rights reserved.