LsaCountNeighborsAction
Builds a new action that counts neighbors which contain in their lsaSpace an lsaMolecule matching mol. The effect of this Action is to add to the matches list the variable countVar. The execution has no effect on the set of influenced molecules for the reaction.
Parameters
The environment to use
The source node
The IlsaMolecule instance you want to search in neighbor lsa space.
The String representing the name of the counting var. (to add to a matches map)
Random engine
Builds a new action that counts neighbors which contain in their lsaSpace an lsaMolecule matching mol. The effect of this Action is to add to the matches list the variable countVar. The execution has no effect on the set of influenced molecules for the reaction.
Parameters
The environment to use
The source node
The IlsaMolecule instance you want to search in neighbor lsa space.
The String representing the name of the counting var. (to add to the matches map)
Random engine