ssa.d {GillespieSSA}R Documentation

Direct method (D)

Description

Direct method implementation of the SSA as described by Gillespie (1977).

Usage

ssa.d(a,nu)

Arguments

a vector of evaluated propensity functions.
nu state-change matrix.

Details

Performs one time step using the Direct method. Intended to be invoked by ssa.

Value

A list with two elements, 1) the time leap (tau) and 2) the realized state change vector (nu_j).

References

Gillespie (1977)

See Also

GillespieSSA-package, ssa

Examples

## Not intended to be invoked stand alone

[Package GillespieSSA version 0.5-0 Index]