LsaCountNeighborsAction

constructor(environment: Environment<List<ILsaMolecule>, *>, reaction: NodeReaction<List<ILsaMolecule>>, moleculeToCount: ILsaMolecule, countVariable: HashString, randomGenerator: RandomGenerator)


constructor(environment: Environment<List<ILsaMolecule>, *>, reaction: NodeReaction<List<ILsaMolecule>>, moleculeToCount: ILsaMolecule, countVariable: String, randomGenerator: RandomGenerator)

Builds the action with the name of the counting variable as String.