Bubblesort-Algodynamics
I have learnt elm by starting with implementation of bubble sort experiment Replica. This helped me learn to model a problem in ELM and understand language constructs, architecture of ELM. My implementation has the fol- lowing features:
- Displays and Updates state variables namely index(i) and boundary(b) of bubble sort Experiment.
- Highlights elements with green color if they are in the correct position when compared with sorted Array.
- Reset button to reset the machine to initial state.
- Undo button to undo the previous operation.
- Status string which displays array status i.e sorted or not sorted
- Swap button to swap consecutive elements.
- Index highlighter which highlights indices of two elements which are going to be swapped.