org.simulator.math.odes
Class AdamsBashforthSolver

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.AdamsBashforthSolver
All Implemented Interfaces:
java.io.Serializable, org.apache.commons.math.ode.events.EventHandler, DelayValueHolder, DESSolver

public class AdamsBashforthSolver
extends FirstOrderSolver

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

Since:
0.9
Version:
$Rev: 146 $
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 class org.simulator.math.odes.AbstractDESSolver
listenerList
 
Fields inherited from interface org.apache.commons.math.ode.events.EventHandler
CONTINUE, RESET_DERIVATIVES, RESET_STATE, STOP
 
Constructor Summary
AdamsBashforthSolver()
          default constructor
AdamsBashforthSolver(AdamsBashforthSolver adamsSolver)
          Clone constructor
AdamsBashforthSolver(double stepSize)
           
AdamsBashforthSolver(double stepSize, boolean nonnegative)
           
 
Method Summary
 AdamsBashforthSolver clone()
           
 void createIntegrator()
          initialization function of the integrator
 java.lang.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, checkSolution, checkSolution, computeDelayedValue, computeNextState, eventOccurred, firePropertyChange, g, getSerialversionuid, getStepSize, inBetweenSteps, initResultMatrix, initResultMatrix, initResultMatrix, isIncludeIntermediates, isNonnegative, isUnstable, numSteps, 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

AdamsBashforthSolver

public AdamsBashforthSolver()
default constructor


AdamsBashforthSolver

public AdamsBashforthSolver(AdamsBashforthSolver adamsSolver)
Clone constructor

Parameters:
adamsSolver -

AdamsBashforthSolver

public AdamsBashforthSolver(double stepSize)
Parameters:
stepSize -

AdamsBashforthSolver

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

clone

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

createIntegrator

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

Specified by:
createIntegrator in class FirstOrderSolver

getName

public java.lang.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.