Package-level declarations

Generic actions implementations.

Types

Link copied to clipboard
abstract class AbstractAction<T> : Action<T>
An abstract class facility with some generic methods implemented.
Link copied to clipboard
This class offers the basic structures to provide operations with numeric concentrations on a single molecule.
Link copied to clipboard
An abstract class that factorizes code for multiple different movements.
Link copied to clipboard
Link copied to clipboard
abstract class AbstractMoveNode<T, P : Position<P>?> : AbstractAction<T>
This action moves a node inside a given environment.
Link copied to clipboard
Moves the node randomly.
Link copied to clipboard
Moves the node along the x axis up to coordinate getMaxX, with steps of size getDeltaX.
Link copied to clipboard
Movement towards a target defined as a concentration.
Link copied to clipboard
Removes the current node from the environment.
Link copied to clipboard
open class ToggleMolecule<T>(node: Node<T>, molecule: Molecule, concentration: T) : AbstractAction<T>

Treats molecule as a switch:

Link copied to clipboard
open class ToggleMoleculeRandomly<T>(node: Node<T>, randomGenerator: RandomGenerator, molecule: Molecule, concentration: T, odds: Double) : ToggleMolecule<T>

Treats molecule as a probabilistic switch: