Package it.unibo.alchemist.model.implementations.actions

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
abstract class AbstractActionOnSingleMolecule<T> : AbstractAction<T>
This class offers the basic structures to provide operations with numeric concentrations on a single molecule.
Link copied to clipboard
abstract class AbstractConfigurableMoveNode<T, P : Position<P>?> : AbstractMoveNode<T, P>
An abstract class that factorizes code for multiple different movements.
Link copied to clipboard
abstract class AbstractLocalAction<T> : AbstractAction<T>
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
class BrownianMove<T, P : Position<P>?> : AbstractMoveNode<T, P>
Moves the node randomly.
Link copied to clipboard
class MoveForwardAndTeleport<T, P : Position2D<P>?> : AbstractMoveNode<T, P>
Moves the node along the x axis up to coordinate getMaxX, with steps of size getDeltaX.
Link copied to clipboard
class MoveToTarget<T, P : Position2D<P>?> : AbstractConfigurableMoveNode<T, P>
Movement towards a target defined as a concentration.
Link copied to clipboard
class RemoveNode<T> : AbstractAction<T>
Removes the current node from the environment.
Link copied to clipboard
class SetLocalMoleculeConcentration<T> : AbstractActionOnSingleMolecule<T>
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: