Lsa Random Neighbor Action
Constructors
Link copied to clipboard
constructor(node: ILsaNode, molecule: ILsaMolecule, environment: Environment<List<ILsaMolecule>, out Any>, randomGenerator: RandomGenerator)
Builds a new action in a neighborhood.
Functions
Link copied to clipboard
abstract fun cloneAction(node: Node<List<ILsaMolecule>>, reaction: Reaction<List<ILsaMolecule>>): ILsaAction
abstract fun cloneAction(node: Node<List<ILsaMolecule>>, reaction: Reaction<List<ILsaMolecule>>): LsaAbstractAction
This method allows to clone this action on a new node.
open fun cloneAction(node: Node<List<ILsaMolecule>>, reaction: Reaction<List<ILsaMolecule>>): LsaRandomNeighborAction
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
How to override: if you intend your action to influence any reaction with compatible context, return null.
Link copied to clipboard