AddJunctionInNeighbor

class AddJunctionInNeighbor<P : Position<out P>?> : AbstractNeighborAction<Double>

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

Parameters

<P>

Position type

Constructors

Link copied to clipboard
open fun AddJunctionInNeighbor(environment: Environment<Double, P>, node: CellNode<P>, junction: Junction, randomGenerator: RandomGenerator)

Functions

Link copied to clipboard
open fun cloneAction(node: Node<Double>, reaction: Reaction<Double>): AddJunctionInNeighbor<P>
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>)
Create the junction that links the target node and the node when this action is executed.
Link copied to clipboard
fun getContext(): Context
abstract fun getContext(): Context
Link copied to clipboard
open fun getNode(): CellNode<P>
Link copied to clipboard
fun getOutboundDependencies(): ListSet<out Dependency>
Link copied to clipboard
open fun toString(): String