Dear All,
I'm implementing Gillespie's direct method for stochastic simulation:
I'm loosely following the API for the now-orphaned R package GillespieSSA:
In Julia, the analogous function call is something like the following.
function ssa(x0::Vector{Int64},a::Vector{Expr},nu::Matrix{Float64,2},parms::Expr,tf::Float64,ignore_negative_state::Bool,console_interval::Int64,census_interval::Int64,verbose::Bool,max_wall_time::Float64)
However, as I've never done metaprogramming in Julia before, I was wondering whether anyone had any input to make the model definition as clean as possible (i.e. without cluttering the syntax with symbols, while not polluting the environment)?
Best
Simon