Generate chemical reactions for some basic computational constructs
This class ReactionSynthesizer is a model class which approximates possible chemical reactions generated during various computing constructs. The following constructs are currently supported -
NOT - See abs()
and abs2step()
Increment - See increment()
Decrement - See decrement()
Copy - See copy()
Compare (If a > b) - See ifGreaterThan()
Selection Sort - See sort()
Based on the paper "Rate-Independent Constructs for Chemical Computation" by "Phillip Senum, Marc Riedel, Department of Electrical and Computer Engineering, University of Minnesota, Minneapolis, Minnesota, United States of America"
Citation: Senum P, Riedel M (2011) Rate-Independent Constructs for Chemical Computation. PLoS ONE 6(6): e21414. doi:10.1371/journal.pone.0021414
To compile the file, run javac ReactionSynthesizer.java
To run the file, run java ReactionSynthesizer