BrownianMove

class BrownianMove<T, P : Position<P>?> : AbstractMoveNode<T, P>

Moves the node randomly.

Parameters

<T>

Concentration type

<P>

Constructors

Link copied to clipboard
open fun BrownianMove(environment: Environment<T, P>, node: Node<T>, randomGenerator: RandomGenerator, range: Double)

Functions

Link copied to clipboard
open fun cloneAction(node: Node<T>, reaction: Reaction<T>): Action<T>
Link copied to clipboard
open fun execute()
Detects if the move is in absolute or relative coordinates, then calls the correct method on the Environment.
abstract fun execute()
Link copied to clipboard
fun getContext(): Context
abstract fun getContext(): Context
Link copied to clipboard
open fun getNextPosition(): P
Link copied to clipboard
fun getOutboundDependencies(): ListSet<out Dependency>
How to override: if you intend your action to influence any reaction with compatible context, return null.
abstract fun getOutboundDependencies(): ListSet<out Dependency>
Link copied to clipboard
open fun toString(): String