Incarnation

interface Incarnation<T, P : Position<out P>?>(source)

Parameters

<T>

Concentration type

<P>

Concentration type

Functions

Link copied to clipboard
abstract fun createAction(randomGenerator: RandomGenerator, environment: Environment<T, P>, @Nullable node: Node<T>, time: TimeDistribution<T>, actionable: Actionable<T>, @Nullable additionalParameters: Any): Action<T>
Link copied to clipboard
abstract fun createConcentration(): T
abstract fun createConcentration(@Nullable descriptor: Any): T
Creates a new concentration object of a specific concrete type.
Link copied to clipboard
abstract fun createCondition(randomGenerator: RandomGenerator, environment: Environment<T, P>, @Nullable node: Node<T>, time: TimeDistribution<T>, actionable: Actionable<T>, @Nullable additionalParameters: Any): Condition<T>
Link copied to clipboard
abstract fun createMolecule(s: String): Molecule
Parses a String, and provides a Molecule.
Link copied to clipboard
abstract fun createNode(randomGenerator: RandomGenerator, environment: Environment<T, P>, @Nullable parameter: Any): Node<T>
Link copied to clipboard
abstract fun createReaction(randomGenerator: RandomGenerator, environment: Environment<T, P>, node: Node<T>, timeDistribution: TimeDistribution<T>, @Nullable parameter: Any): Reaction<T>
Link copied to clipboard
abstract fun createTimeDistribution(randomGenerator: RandomGenerator, environment: Environment<T, P>, @Nullable node: Node<T>, @Nullable parameter: Any): TimeDistribution<T>
Link copied to clipboard
abstract fun getProperty(node: Node<T>, molecule: Molecule, property: String): Double
Given a Node, a Molecule and a property expressed as a String, returns a numeric value.