FollowTarget

open class FollowTarget<T, P : Position<P>>(environment: Environment<T, P>, node: Node<T>, val targetMolecule: Molecule) : TargetSelectionStrategy<T, P> (source)

Strategy that reads the value of a "target" molecule and tries to interpret it as a coordinate.

Type Parameters

T

the concentration type

P

the position type

Constructors

Link copied to clipboard
constructor(environment: Environment<T, P>, node: Node<T>, targetMolecule: Molecule)

Properties

Link copied to clipboard
open override val target: P
Link copied to clipboard

the target molecule used to determine the destination

Functions

Link copied to clipboard
open override fun cloneIfNeeded(destination: Node<T>, reaction: Reaction<T>): FollowTarget<T, P>
Link copied to clipboard
open override fun getTarget(): P