The 1d spatial CLE algorithm
The 1d spatial CLE algorithm
A Spn[DoubleState]
model for simulation
A vector of diffusion coefficients - one for each species
Time step of the simulation algorithm
A function with type signature (x0: GenSeq[DoubleState], t0: Time, deltat: Time) => GenSeq[DoubleState]
which will simulate the state of the system at time t0+deltat
given initial state x0
and initial time t0
The 2d spatial CLE algorithm
The 2d spatial CLE algorithm
A Spn[DoubleState]
model for simulation
A vector of diffusion coefficients - one for each species
Time step of the simulation algorithm
A function with type signature (x0: PMatrix[DoubleState], t0: Time, deltat: Time) => PMatrix[DoubleState]
which will simulate the state of the system at time t0+deltat
given initial state x0
and initial time t0
The 1d spatial Euler algorithm
The 1d spatial Euler algorithm
A Spn[DoubleState]
model for simulation
A vector of diffusion coefficients - one for each species
Time step of the simulation algorithm
A function with type signature (x0: GenSeq[DoubleState], t0: Time, deltat: Time) => GenSeq[DoubleState]
which will simulate the state of the system at time t0+deltat
given initial state x0
and initial time t0
The 2d spatial Euler algorithm
The 2d spatial Euler algorithm
A Spn[DoubleState]
model for simulation
A vector of diffusion coefficients - one for each species
Time step of the simulation algorithm
A function with type signature (x0: PMatrix[DoubleState], t0: Time, deltat: Time) => PMatrix[DoubleState]
which will simulate the state of the system at time t0+deltat
given initial state x0
and initial time t0
The 1d spatial Gillespie algorithm
The 1d spatial Gillespie algorithm
A Spn[IntState]
model for simulation
A vector of diffusion coefficients - one for each species
Threshold for treating hazard as zero
Threshold for terminating simulation early
A function with type signature (x0: GenSeq[IntState], t0: Time, deltat: Time) => GenSeq[IntState]
which will simulate the state of the system at time t0+deltat
given initial state x0
and initial time t0
The 2d spatial Gillespie algorithm
The 2d spatial Gillespie algorithm
A Spn[IntState]
model for simulation
A vector of diffusion coefficients - one for each species
Threshold for treating hazard as zero
Threshold for terminating simulation early
A function with type signature (x0: PMatrix[IntState], t0: Time, deltat: Time) => PMatrix[IntState]
which will simulate the state of the system at time t0+deltat
given initial state x0
and initial time t0
Plot the output of a 1d time series simulation.
Plot the output of a 1d time series simulation. Called solely for the side-effect of rendering a plot on the console.
Output from a 1d spatial time series simulation
All functions and utilities relating to spatial simulation