Document: SCL: An Artificial Chemistry in Swarm
3.3.6 Emission
3.3 Reactions
3.3.4 Bond Decay
Absorption is initiated by a primary L particle,
and is implemented as follows:
- If the primary L particle already has an
absorbed link (i.e. it is strictly an L
particle) then the reaction terminates.
- A bernoulli random variable is evaluated with
probability parameter absorptionProbability
(the rate parameter for the reaction). If this
evaluates as NO, the reaction terminates.
- A random neighbor is chosen from the default
neighborhood (neighborParticle). If this is
not an S particle, the reaction
terminates.
- neighborParticle is replaced with a
hole.
- The primary L particle is marked as having an
absorbed substrate--i.e. it changes to the
L
form. That completes the absorption
reaction.
3.3.6 Emission
3.3 Reactions
3.3.4 Bond Decay
Document: SCL: An Artificial Chemistry in Swarm
Copyright © 1997 All Rights Reserved.
Timestamp: Tue Dec 31 19:40:38 GMT 1996
mcmullin@eeng.dcu.ie