SpnModels

smfsb.SpnModels
object SpnModels

Some example SPN models, each of which can be instantiated with either discrete or continous states.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
SpnModels.type

Members list

Value members

Concrete methods

def ar[S : State](c: DenseVector[Double]): Spn[S]

A simple auto-regulatory network model

A simple auto-regulatory network model

Value parameters

p

Vector of rates for the 8 reactions

Attributes

Returns

An Spn object, which can be passed into a Step function, for example

def id[S : State](p: DenseVector[Double]): Spn[S]

Imigration-death model

Imigration-death model

Value parameters

p

Vector of rates for the 2 reactions (imigration and death)

Attributes

Returns

An Spn object, which can be passed into a Step function, for example

def lv[S : State](p: DenseVector[Double]): Spn[S]

Lotka-Volterra model

Lotka-Volterra model

Value parameters

p

Vector of rates for the 3 reactions (prey reproduction, predator-prey interaction, predator death)

Attributes

Returns

An Spn object, which can be passed into a Step function, for example

def lv4[S : State](p: DenseVector[Double]): Spn[S]

4-parameter Lotka-Volterra model

4-parameter Lotka-Volterra model

Value parameters

p

Vector of rates for the 4 reactions (prey reproduction, prey consumption, predator reproduction, predator death)

Attributes

Returns

An Spn object, which can be passed into a Step function, for example

def mm[S : State](p: DenseVector[Double]): Spn[S]

Michaelis-Menten enzyme kinetics model

Michaelis-Menten enzyme kinetics model

Value parameters

p

Vector of rates for the 3 reactions

Attributes

Returns

An Spn object, which can be passed into a Step function, for example

def seir[S : State](p: DenseVector[Double]): Spn[S]

SEIR model

SEIR model

Value parameters

p

Vector of rates for the 3 reactions (S->E, E->I, and I->R)

Attributes

Returns

An Spn object, which can be passed into a Step function, for example

def sir[S : State](p: DenseVector[Double]): Spn[S]

SIR model

SIR model

Value parameters

p

Vector of rates for the 2 reactions (S->I and I->R)

Attributes

Returns

An Spn object, which can be passed into a Step function, for example