ProtelisIncarnation

Parameters

position type

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Constants and utilities for the Protelis incarnation.

Link copied to clipboard

An ExecutionEnvironment that can read and shadow the content of a Node, but cannot modify it. This is used to prevent badly written properties from interacting with the simulation flow.

Functions

Link copied to clipboard
open override fun createAction(randomGenerator: <Error class: unknown class>, environment: Environment<Any, P>, node: Node<Any>?, time: TimeDistribution<Any>, actionable: Actionable<Any>, additionalParameters: Any?): Action<Any>
Link copied to clipboard
open override fun createConcentration(): Any?
open override fun createConcentration(descriptor: Any?): Any?

Creates a new concentration object of a specific concrete type.

Link copied to clipboard
open override fun createCondition(randomGenerator: <Error class: unknown class>, environment: Environment<Any, P>, node: Node<Any>?, time: TimeDistribution<Any>, actionable: Actionable<Any>, additionalParameters: Any?): Condition<Any>
Link copied to clipboard
open override fun createMolecule(s: String?): Molecule

Parses a String, and provides a Molecule.

Link copied to clipboard
open override fun createNode(randomGenerator: <Error class: unknown class>, environment: Environment<Any, P>, parameter: Any?): Node<Any>
Link copied to clipboard
open override fun createReaction(randomGenerator: <Error class: unknown class>, environment: Environment<Any, P>, node: Node<Any>, timeDistribution: TimeDistribution<Any>, parameter: Any?): Reaction<Any>
Link copied to clipboard
open override fun createTimeDistribution(randomGenerator: <Error class: unknown class>, environment: Environment<Any, P>, node: Node<Any>?, parameter: Any?): TimeDistribution<Any>
Link copied to clipboard
open override fun getProperty(node: Node<Any>, molecule: Molecule, property: String?): Double

Given a Node, a Molecule and a property expressed as a String, returns a numeric value. If a numeric value is not deducible, Double.NaN is returned.

Link copied to clipboard
open override fun toString(): String