add Classes for event-driven DES

This commit is contained in:
Alexander Dörr 2010-02-04 15:46:17 +00:00
parent 7fc968ae34
commit 18c772f61c
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,16 @@
/**
*
*/
package eva2.tools.math.des;
/**
* This Class represents an RKSolver for event-driven DES
*
* @author <a href="mailto:a.doerr@uni-tuebingen.de">Alexander D&ouml;rr</a>
* @date 2010-02-04
*
*/
public abstract class AbstractDESSolver implements DESSolver {
}

View File

@ -0,0 +1,26 @@
/**
*
*/
package eva2.tools.math.des;
/**
* This Class represents an event-driven DES
*
* @author <a href="mailto:a.doerr@uni-tuebingen.de">Alexander D&ouml;rr</a>
* @date 2010-02-04
*
*/
public interface EventDESystem extends DESystem {
/**
* Returns an array with delays (entries >=0) for the
* events triggered either by the time t or by the concentrations
* of the species stored in Y. The new values for the species
* are stored in res. The positions in the array returned by this method
* correspond to the positions in Y/res.
*
* @return Returns an array with delays for the change of concentration due to events
*/
public double[] processEvents(double t, double Y[], double res[]);
}