Document: SCL: An Artificial Chemistry in Swarm

next 3.3.5 Absorption
up 3.3 Reactions
gif 3.3.3 Bonding

3.3.4 Bond Decay

Bond decay can happen either as a spontaneous reaction, or as a forced reaction when an L is completing the disintegration reaction. The spontaneous reaction is initiated by a bond, and is implemented as follows:

  1. A bernoulli random variable is evaluated with probability parameter bondDecayProbability (the rate parameter for the reaction). If this evaluates as NO, the reaction terminates.

  2. The bond decays (i.e. the two affected L particles are told to remove the bond). This completes the spontaneous bond decay reaction.

The forced bond decay reaction is initiated by one of the bonded L particles, as it completes the disintegration reaction. It is implemented as follows:

  1. The primary L particle tells the bond to decay.
  2. The bond decays (i.e. the two affected L particles are told to remove the bond). This completes the forced bond decay reaction.



next 3.3.5 Absorption
up 3.3 Reactions
gif 3.3.3 Bonding

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