LsaChangeArgument

constructor(environment: Environment<List<ILsaMolecule>, out Any>, node: ILsaNode, listTarget: Array<String>, targetVariable: String, random: RandomGenerator)

Builds a new action that test neighbors which contain in their lsaSpace an lsaMolecule matching {target,Type}. The effect of this Action is to add to the matches map the variable PreferredType (the most present type in neighborhood). The execution has no effect on influenced molecule of reaction.

Parameters

environment

The environment to use

node

The source node

listTarget

Gradients list

targetVariable

Variable name

random

Random engine