Simulation Core Library

org.simulator.math.odes
Interface DelayValueHolder

All Superinterfaces:
Serializable
All Known Subinterfaces:
SBMLValueHolder
All Known Implementing Classes:
AbstractDESSolver, AdamsBashforthSolver, AdamsMoultonSolver, AdaptiveStepsizeIntegrator, DormandPrince54Solver, DormandPrince853Solver, EulerMethod, FirstOrderSolver, GraggBulirschStoerSolver, HighamHall54Solver, RosenbrockSolver, RungeKutta_EventSolver, SBMLinterpreter

public interface DelayValueHolder
extends Serializable

This interface describes a value holder that can compute values with delay.

Version:
$Rev: 454 $
Author:
Roland Keller

Method Summary
 double computeDelayedValue(double time, String id, DESystem DES, double[] initialValues, int yIndex)
          Returns the value for the element with the given id at a time point in the past, where the time gives the amount of time in the past.
 

Method Detail

computeDelayedValue

double computeDelayedValue(double time,
                           String id,
                           DESystem DES,
                           double[] initialValues,
                           int yIndex)
Returns the value for the element with the given id at a time point in the past, where the time gives the amount of time in the past.

Parameters:
time - the time point (in the past) at which the value is to be computed for the element with the given id.
id - the id of the delayed value
DES - the DESystem
initialValues - the initialValues of the DES
yIndex - the index corresponding to the id in the vector of the DES
Returns:
the computed value for the element with the given identifier at the time point in the past.

Generated at March 17 2014
Version 1.4 Revision 453