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

Members list

Concise view

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

Attributes

p

Vector of rates for the 8 reactions

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

Attributes

p

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

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

Attributes

p

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

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

Attributes

p

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

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

Attributes

p

Vector of rates for the 3 reactions

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

Attributes

p

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

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

Attributes

p

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

Returns:

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