ToggleMoleculeRandomly
constructor(reaction: NodeReaction<T>, randomGenerator: RandomGenerator, molecule: Molecule, concentration: T, odds: Double)
Parameters
reaction
the reaction owning this action, whose node contains the molecule to toggle
molecule
the molecule to toggle
concentration
the concentration to use for the "on" state
Type Parameters
T
the concentration type