org.simulator.math.odes
Class AdamsMoultonSolver

java.lang.Object
  extended by org.simulator.math.odes.AbstractDESSolver
      extended by org.simulator.math.odes.AdaptiveStepsizeIntegrator
          extended by org.simulator.math.odes.FirstOrderSolver
              extended by org.simulator.math.odes.AdamsMoultonSolver
All Implemented Interfaces:
Serializable, EventHandler, DelayValueHolder, DESSolver

public class AdamsMoultonSolver
extends FirstOrderSolver

This class is a wrapper for the Adams-Moulton solver in the Apache Math Library.

Since:
0.9
Version:
$Rev: 203 $
Author:
Roland Keller
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.simulator.math.odes.FirstOrderSolver
integrator
 
Fields inherited from class org.simulator.math.odes.AdaptiveStepsizeIntegrator
absTol, relTol
 
Fields inherited from interface org.apache.commons.math.ode.events.EventHandler
CONTINUE, RESET_DERIVATIVES, RESET_STATE, STOP
 
Constructor Summary
AdamsMoultonSolver()
           
AdamsMoultonSolver(AdamsMoultonSolver adamsSolver)
          clone constructor
AdamsMoultonSolver(double stepSize)
           
AdamsMoultonSolver(double stepSize, boolean nonnegative)
           
 
Method Summary
 AdamsMoultonSolver clone()
           
protected  void createIntegrator()
          initialization function of the integrator
 String getName()
          This gives a human-readable name of this solver that can be displayed in a graphical user interface.
 
Methods inherited from class org.simulator.math.odes.FirstOrderSolver
computeChange, getIntegrator, hasSolverEventProcessing, setStepSize
 
Methods inherited from class org.simulator.math.odes.AdaptiveStepsizeIntegrator
getAbsTol, getRelTol, setAbsTol, setRelTol
 
Methods inherited from class org.simulator.math.odes.AbstractDESSolver
additionalResults, addPropertyChangeListener, computeDelayedValue, eventOccurred, firePropertyChange, g, getSerialversionuid, getStepSize, inBetweenSteps, initResultMatrix, initResultMatrix, initResultMatrix, isIncludeIntermediates, isNonnegative, isUnstable, processEvents, processEventsAndRules, processRules, removePropertyChangeListener, reset, resetState, setIncludeIntermediates, setNonnegative, setUnstableFlag, solve, solve, solve, solve
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdamsMoultonSolver

public AdamsMoultonSolver()

AdamsMoultonSolver

public AdamsMoultonSolver(AdamsMoultonSolver adamsSolver)
clone constructor

Parameters:
adamsSolver -

AdamsMoultonSolver

public AdamsMoultonSolver(double stepSize)
Parameters:
stepSize -

AdamsMoultonSolver

public AdamsMoultonSolver(double stepSize,
                          boolean nonnegative)
Parameters:
stepSize -
the - nonnegative flag of the super class @see org.sbml.simulator.math.odes.AbstractDESSolver
Method Detail

clone

public AdamsMoultonSolver clone()
Specified by:
clone in interface DESSolver
Specified by:
clone in class FirstOrderSolver
Returns:
the cloned solver

createIntegrator

protected void createIntegrator()
Description copied from class: FirstOrderSolver
initialization function of the integrator

Specified by:
createIntegrator in class FirstOrderSolver

getName

public String getName()
Description copied from class: AbstractDESSolver
This gives a human-readable name of this solver that can be displayed in a graphical user interface.

Specified by:
getName in class AbstractDESSolver
Returns:
A name that describes the underlying algorithm.