BiochemistryIncarnation

Factory for the biochemistry incarnation entities.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun createAction(randomGenerator: RandomGenerator, environment: Environment<Double, Euclidean2DPosition>, node: Node<Double>, reaction: Reaction<Double>, @Nullable additionalParameters: Any): Action<Double>
Creates an Action hosted by reaction, and by node (if any), in environment, using randomGenerator and parsing additionalParameters.
Link copied to clipboard
open fun createConcentration(@Nullable descriptor: Any): Double
Creates a new concentration of a specific concrete type, parsing descriptor.
Link copied to clipboard
open fun createCondition(randomGenerator: RandomGenerator, environment: Environment<Double, Euclidean2DPosition>, node: Node<Double>, reaction: Reaction<Double>, @Nullable additionalParameters: Any): Condition<Double>
Creates a Condition hosted by reaction, and by node (if any), in environment, using randomGenerator and parsing additionalParameters.
Link copied to clipboard
Parses s into a Molecule.
Link copied to clipboard
open fun createNode(randomGenerator: RandomGenerator, environment: Environment<Double, Euclidean2DPosition>, @Nullable parameter: Any): Node<Double>
Creates a Node for environment, using randomGenerator and parsing parameter.
Link copied to clipboard
open fun createNodeReaction(randomGenerator: RandomGenerator, environment: Environment<Double, Euclidean2DPosition>, node: Node<Double>, timeDistribution: TimeDistribution<Double>, @Nullable parameter: Any): NodeReaction<Double>
Creates a NodeReaction hosted by node in environment, scheduled by timeDistribution, using randomGenerator and parsing parameter.
Link copied to clipboard
open fun createReaction(randomGenerator: RandomGenerator, environment: Environment<Double, Euclidean2DPosition>, @Nullable parameter: Any): Reaction<Double>
Creates an environment-level Reaction in environment, using randomGenerator and parsing parameter.
Link copied to clipboard
Creates a TimeDistribution for a reaction hosted by node (if any) in environment, using randomGenerator and parsing parameter.
Link copied to clipboard
open fun readConcentration(node: Node<Double>, molecule: Molecule, property: String): Double
Extracts a numeric value from node, given a molecule and a property.
Link copied to clipboard
open fun toString(): String