Insertion Sort with Self-reproducing Comparator P System
arXiv:1709.02934
Abstract
We present in this paper a self-reproducing comparator P~system that simulates insertion sort. The comparator is a degree-2 membrane and structured as . A maximizing compares two multisets and where is stored in compartment while is stored in compartment . A conditional reproduction rule triggers to clone itself out via compartment division followed by endocytosis of the cloned compartment. We present the process of sorting as a collection of transactions implemented in hierarchical levels where each level has different concurrent or serialized steps.
5 pages, 1 figure, submitted as contributed article to 15th National Conference on Information Technology Education, Leyte Normal University, Tacloban City, Leyte, Philippines, 19-21 October 2017