Neighbor Has Concentration
constructor(reaction: NodeReaction<T>, environment: Environment<T, *>, target: Molecule, concentration: T)
Parameters
reaction
the reaction owning this condition, whose node is evaluated.
environment
the environment containing the node and its neighborhood.
target
the molecule to check in the neighborhood
concentration
the target concentration of the molecule to be checked in the neighborhood
Type Parameters
T
the type of concentration