Class TimeSeriesExperiment

java.lang.Object
  extended by TimeSeriesExperiment

public class TimeSeriesExperiment
extends java.lang.Object

Time course experiments, see documentation for details.

Author:
Thomas Schaffter (firstname.name@gmail.com)

Constructor Summary
TimeSeriesExperiment()
          Constructor
 
Method Summary
 double getMaxt()
           
 int getNumTimePoints()
           
 SdeSolver getSolver()
           
 cern.colt.matrix.DoubleMatrix2D getTimeSeries()
           
 void init(int numTimePoints)
          Instantiate the different variables _before_ simulate the experiment
 void integrate()
          Numerical integration
static void main(java.lang.String[] args)
          libSDE demo: integration of the function defined by the class TestFunction with the help of one of the SDEs solvers made available.
 void printAll(java.net.URL target)
          Wrapper for printTrajectories()
 void printTrajectories(java.net.URL target, cern.colt.matrix.DoubleMatrix2D timeSeries, cern.colt.matrix.DoubleMatrix1D timeScale)
          Write time series data with the time scale into file.
 void run()
          Run the experiment
 void setMaxt(double maxt)
           
 void setNumTimePoints(int numTimePoints)
           
 void setSolver(SdeSolver solver)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeSeriesExperiment

public TimeSeriesExperiment()
Constructor

Method Detail

main

public static void main(java.lang.String[] args)
libSDE demo: integration of the function defined by the class TestFunction with the help of one of the SDEs solvers made available.


init

public void init(int numTimePoints)
Instantiate the different variables _before_ simulate the experiment


run

public void run()
Run the experiment


integrate

public void integrate()
Numerical integration


printAll

public void printAll(java.net.URL target)
Wrapper for printTrajectories()


printTrajectories

public void printTrajectories(java.net.URL target,
                              cern.colt.matrix.DoubleMatrix2D timeSeries,
                              cern.colt.matrix.DoubleMatrix1D timeScale)
                       throws java.io.IOException,
                              java.lang.Exception
Write time series data with the time scale into file.

Throws:
java.io.IOException
java.lang.Exception

setNumTimePoints

public void setNumTimePoints(int numTimePoints)

getNumTimePoints

public int getNumTimePoints()

getTimeSeries

public cern.colt.matrix.DoubleMatrix2D getTimeSeries()

setSolver

public void setSolver(SdeSolver solver)

getSolver

public SdeSolver getSolver()

setMaxt

public void setMaxt(double maxt)

getMaxt

public double getMaxt()