RemoveJunctionInCell

class RemoveJunctionInCell : AbstractNeighborAction<Double>

Represent the action of removing a junction between the current node and a neighbor. This action only remove the junction reference inside this node, the neighbor totally ignore that a junction has been removed. This is a part of the junction removal process. See RemoveJunctionInNeighbor for the other part of the process

Constructors

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

Functions

Link copied to clipboard
open fun cloneAction(node: Node<Double>, reaction: Reaction<Double>): RemoveJunctionInCell
abstract fun cloneAction(p: Node<T>, p1: Reaction<T>): Action<T>
Link copied to clipboard
open fun execute()
If no target node is given DO NOTHING.
abstract fun execute()

open fun execute(targetNode: Node<Double>)
Removes the junction that links the node where this action is executed and the target node.
Link copied to clipboard
fun getContext(): Context
abstract fun getContext(): Context
Link copied to clipboard
open fun getNode(): CellNode<out Any>
Link copied to clipboard
fun getOutboundDependencies(): ListSet<out Dependency>
Link copied to clipboard
open fun toString(): String