RemoveJunctionInNeighbor

Represent the action of removing a junction between a neighbor and the current node. This action only remove the junction reference inside the neighbor node, the current one totally ignore that a junction has been removed. This is a part of the junction removal process. See RemoveJunctionInCell 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(node: Node<T>, reaction: Reaction<T>): Action<T>
This method allows to clone this action on a new node.
Link copied to clipboard
open fun execute()
If no target node is given DO NOTHING.
open fun execute(targetNode: Node<Double>)
Execute the action on the given target node.
Link copied to clipboard
Link copied to clipboard
fun getOutboundDependencies(): ListSet<? extends Dependency>
How to override: if you intend your action to influence any reaction with compatible context, return null.
Link copied to clipboard
open fun toString(): String