uk.ac.ed.inf.mois

PythonProcess

abstract class PythonProcess extends Process

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PythonProcess
  2. Process
  3. VarConversions
  4. BaseProcess
  5. Annotation
  6. VarContainer
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PythonProcess(name: String)

Type Members

  1. class Dimension extends AnyRef

    Needed for NetCDF et al.

    Needed for NetCDF et al. TODO: explain better

    Definition Classes
    BaseProcess
  2. implicit class DoubleVarMap extends AnyRef

    implicit utility class for extra operations on a group of DoubleVars

    implicit utility class for extra operations on a group of DoubleVars

    Definition Classes
    VarConversions
  3. type F = (Double, Double, Seq[DoubleVar]) ⇒ Unit

  4. case class Python(module: String) extends Dynamic with Product with Serializable

  5. case class py(vs: DoubleVar*) extends Product with Serializable

    Attributes
    protected

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. final def <<<(right: VarContainer): Unit

    Definition Classes
    VarContainer
    Annotations
    @inline()
  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. final def >>>(right: VarContainer): Unit

    Definition Classes
    VarContainer
    Annotations
    @inline()
  6. def Boolean(meta: VarMeta): BooleanVar

    Definition Classes
    VarContainer
  7. object Dimension

    Definition Classes
    BaseProcess
  8. def Double(meta: VarMeta): DoubleVar

    Definition Classes
    VarContainer
  9. def Float(meta: VarMeta): FloatVar

    Definition Classes
    VarContainer
  10. def Int(meta: VarMeta): IntVar

    Definition Classes
    VarContainer
  11. def Long(meta: VarMeta): LongVar

    Definition Classes
    VarContainer
  12. implicit def String2Meta(s: String): VarMeta

    Definition Classes
    VarContainer
    Annotations
    @inline()
  13. implicit def Var2Meta(v: Var[_]): VarMeta

    Definition Classes
    VarConversions
    Annotations
    @inline()
  14. def addBasicAnnotations: Unit

    Automatically annotate the process with its software name and version

    Automatically annotate the process with its software name and version

    Attributes
    protected
    Definition Classes
    BaseProcess
  15. def addStepHandler(sh: StepHandler): Unit

    Add a StepHandler to the list

    Add a StepHandler to the list

    sh

    the step handler, evidently

    Definition Classes
    BaseProcess
  16. def addVar(nv: BooleanVar): BooleanVar

    Definition Classes
    VarContainer
  17. def addVar(nv: DoubleVar): DoubleVar

    Definition Classes
    VarContainer
  18. def addVar(nv: FloatVar): FloatVar

    Definition Classes
    VarContainer
  19. def addVar(nv: LongVar): LongVar

    Definition Classes
    VarContainer
  20. def addVar(nv: IntVar): IntVar

    Definition Classes
    VarContainer
  21. def allVars: Map[VarMeta, Var[_]]

    Definition Classes
    VarContainer
  22. def annotate(k: String, v: Any): Unit

    Add an annotation

    Add an annotation

    Definition Classes
    Annotation
  23. val annotations: Map[String, Any]

    Definition Classes
    Annotation
  24. def apply(t: Double, tau: Double): Unit

    A wrapper around the user defined step function to calculate changes.

    A wrapper around the user defined step function to calculate changes. This wrapper is the main way that the step function should be called and it has the additional responsibility of calling any StepHandlers.

    t

    the time at the beginning of the step

    tau

    the size of the step (delta-t)

    Definition Classes
    BaseProcess
  25. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  26. val boolVars: VarMap[Boolean, BooleanVar]

    Definition Classes
    VarContainer
  27. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. val dimensions: Map[Var[_], Int]

    a list of dimensions and their size/index

    a list of dimensions and their size/index

    Definition Classes
    BaseProcess
  29. val doubleVars: VarMap[Double, DoubleVar]

    Definition Classes
    VarContainer
  30. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  32. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  33. def finish: Unit

    Finish hook.

    Finish hook. Expected to be called once at the end of theprocess. Finishes the step handlers. Remember to call super.finish if you override this!

    Definition Classes
    BaseProcess
  34. val floatVars: VarMap[Float, FloatVar]

    Definition Classes
    VarContainer
  35. def fromJSON(s: String): Seq[Var[_]]

    Parses a JSON string and adds all variable definitions that it finds to this VarContainer.

    Parses a JSON string and adds all variable definitions that it finds to this VarContainer.

    returns

    the Seq of added variables.

    Definition Classes
    VarContainer
  36. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  37. implicit def getVarValue[T](v: Var[T]): T

    Definition Classes
    VarConversions
    Annotations
    @inline()
  38. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  39. def init(t: Double): Unit

    Initialisation hook.

    Initialisation hook. Expected to be called once before the process runs for the first time. Initialises step handlers and adds basic annotations. Remember to call super.init(t) if you override this!

    t

    the time at the beginning of the simulation

    Definition Classes
    BaseProcess
  40. val intVars: VarMap[Int, IntVar]

    Definition Classes
    VarContainer
  41. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  42. def leftMerge(right: VarContainer): Unit

    Definition Classes
    VarContainer
  43. def leftUpdate(right: VarContainer): Unit

    Definition Classes
    VarContainer
  44. val longVars: VarMap[Long, LongVar]

    Definition Classes
    VarContainer
  45. val name: String

    a process is required to have a name (XXX: really? why?)

    a process is required to have a name (XXX: really? why?)

    Definition Classes
    ProcessBaseProcess
  46. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  47. final def notify(): Unit

    Definition Classes
    AnyRef
  48. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  49. def reset(t: Double): Unit

    Reset hook.

    Reset hook. May be called as necessary. Resets the step handlers. May be overridden in sub-classes to reset internal state. Rember to call super.reset(t) if you do this!

    t

    the new time

    Definition Classes
    BaseProcess
  50. def state: Seq[Var[_]]

    All variables defined in this BaseProcess.

    All variables defined in this BaseProcess.

    Definition Classes
    BaseProcess
  51. def step(t: Double, tau: Double): Unit

    This function takes the state from where it is at time t to where it is at t + tau.

    This function takes the state from where it is at time t to where it is at t + tau. This must be supplied by concrete sub-classes. Except for testing, it is always called via the BaseProcess.apply method so that any StepHandlers also get executed.

    t

    the time at the beginning of the step

    tau

    the size of the step (delta-t)

    Definition Classes
    PythonProcessBaseProcess
  52. val stepHandlers: ArrayBuffer[StepHandler]

    the list of handlers that run after each step

    the list of handlers that run after each step

    Definition Classes
    BaseProcess
  53. def stringPrefix: String

    Definition Classes
    ProcessBaseProcess
  54. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  55. def toJSON: String

    Creates a JSON string with all variables in this VarContainer.

    Creates a JSON string with all variables in this VarContainer.

    Definition Classes
    VarContainer
  56. def toString(): String

    Definition Classes
    BaseProcess → AnyRef → Any
  57. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Process

Inherited from VarConversions

Inherited from BaseProcess

Inherited from Annotation

Inherited from VarContainer

Inherited from AnyRef

Inherited from Any

Ungrouped