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
class ProtectedExecutionEnvironment(node: Node<*>) : <ERROR CLASS> ERROR CLASS: Symbol not found for ExecutionEnvironment

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
abstract fun createAction(randomGenerator: org/apache/commons/math3/random/RandomGenerator??, environment: Environment<Any?, P?>?, node: Node<Any?>?, time: TimeDistribution<Any?>?, actionable: Actionable<Any?>?, additionalParameters: Any?): Action<Any?>?
open override fun createAction(randomGenerator: ERROR CLASS: Symbol not found for RandomGenerator, 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
abstract fun createCondition(randomGenerator: org/apache/commons/math3/random/RandomGenerator??, environment: Environment<Any?, P?>?, node: Node<Any?>?, time: TimeDistribution<Any?>?, actionable: Actionable<Any?>?, additionalParameters: Any?): Condition<Any?>?
open override fun createCondition(randomGenerator: ERROR CLASS: Symbol not found for RandomGenerator, 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
abstract fun createNode(randomGenerator: org/apache/commons/math3/random/RandomGenerator??, environment: Environment<Any?, P?>?, parameter: Any?): Node<Any?>?
open override fun createNode(randomGenerator: ERROR CLASS: Symbol not found for RandomGenerator, environment: Environment<Any, P>, parameter: Any?): Node<Any>
Link copied to clipboard
abstract fun createReaction(randomGenerator: org/apache/commons/math3/random/RandomGenerator??, environment: Environment<Any?, P?>?, node: Node<Any?>?, timeDistribution: TimeDistribution<Any?>?, parameter: Any?): Reaction<Any?>?
open override fun createReaction(randomGenerator: ERROR CLASS: Symbol not found for RandomGenerator, environment: Environment<Any, P>, node: Node<Any>, timeDistribution: TimeDistribution<Any>, parameter: Any?): Reaction<Any>
Link copied to clipboard
abstract fun createTimeDistribution(randomGenerator: org/apache/commons/math3/random/RandomGenerator??, environment: Environment<Any?, P?>?, node: Node<Any?>?, parameter: Any?): TimeDistribution<Any?>?
open override fun createTimeDistribution(randomGenerator: ERROR CLASS: Symbol not found for RandomGenerator, 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