Object

smfsb

Spatial

Related Doc: package smfsb

Permalink

object Spatial

All functions and utilities relating to spatial simulation

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Spatial
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def cle1d(n: Spn[DoubleState], d: DoubleState, dt: Double = 0.01): (GenSeq[DoubleState], Time, Time) ⇒ GenSeq[DoubleState]

    Permalink

    The 1d spatial CLE algorithm

    The 1d spatial CLE algorithm

    n

    A Spn[DoubleState] model for simulation

    d

    A vector of diffusion coefficients - one for each species

    dt

    Time step of the simulation algorithm

    returns

    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

  6. def cle2d(n: Spn[DoubleState], d: DoubleState, dt: Double = 0.01): (PMatrix[DoubleState], Time, Time) ⇒ PMatrix[DoubleState]

    Permalink

    The 2d spatial CLE algorithm

    The 2d spatial CLE algorithm

    n

    A Spn[DoubleState] model for simulation

    d

    A vector of diffusion coefficients - one for each species

    dt

    Time step of the simulation algorithm

    returns

    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

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def euler1d(n: Spn[DoubleState], d: DoubleState, dt: Double = 0.01): (GenSeq[DoubleState], Time, Time) ⇒ GenSeq[DoubleState]

    Permalink

    The 1d spatial Euler algorithm

    The 1d spatial Euler algorithm

    n

    A Spn[DoubleState] model for simulation

    d

    A vector of diffusion coefficients - one for each species

    dt

    Time step of the simulation algorithm

    returns

    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

  11. def euler2d(n: Spn[DoubleState], d: DoubleState, dt: Double = 0.01): (PMatrix[DoubleState], Time, Time) ⇒ PMatrix[DoubleState]

    Permalink

    The 2d spatial Euler algorithm

    The 2d spatial Euler algorithm

    n

    A Spn[DoubleState] model for simulation

    d

    A vector of diffusion coefficients - one for each species

    dt

    Time step of the simulation algorithm

    returns

    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

  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def gillespie1d(n: Spn[IntState], d: DoubleState, minH: Double = 1e-20, maxH: Double = 1e6): (GenSeq[IntState], Time, Time) ⇒ GenSeq[IntState]

    Permalink

    The 1d spatial Gillespie algorithm

    The 1d spatial Gillespie algorithm

    n

    A Spn[IntState] model for simulation

    d

    A vector of diffusion coefficients - one for each species

    minH

    Threshold for treating hazard as zero

    maxH

    Threshold for terminating simulation early

    returns

    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

  15. def gillespie2d(n: Spn[IntState], d: DoubleState, minH: Double = 1e-20, maxH: Double = 1e6): (PMatrix[IntState], Time, Time) ⇒ PMatrix[IntState]

    Permalink

    The 2d spatial Gillespie algorithm

    The 2d spatial Gillespie algorithm

    n

    A Spn[IntState] model for simulation

    d

    A vector of diffusion coefficients - one for each species

    minH

    Threshold for treating hazard as zero

    maxH

    Threshold for terminating simulation early

    returns

    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

  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def plotTs1d[S](ts: Ts[GenSeq[S]])(implicit arg0: State[S]): Unit

    Permalink

    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.

    ts

    Output from a 1d spatial time series simulation

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped