AddJunctionInCell

Represent the action of add a junction between the current node and a neighbor. This action only create the junction reference inside this node, the neighbor totally ignore that a junction has been created. This is a part of the junction creation process. See AddJunctionInNeighbor for the other part of the process

Constructors

Link copied to clipboard
constructor(environment: Environment<Double, out Any>, node: Node<Double>, junction: Junction, randomGenerator: RandomGenerator)

Functions

Link copied to clipboard
abstract fun cloneAction(p: Node<T>, p1: Reaction<T>): Action<T>
open fun cloneAction(node: Node<Double>, reaction: Reaction<Double>): AddJunctionInCell
Link copied to clipboard
abstract fun execute()

open fun execute()
If no target node is given DO NOTHING.
open fun execute(targetNode: Node<Double>)
Create the junction that links the node where this action is executed and the target node.
Link copied to clipboard
abstract fun getContext(): Context
Link copied to clipboard
Link copied to clipboard
open fun toString(): String