Skip to main content
Log in

Friction-based sorting

  • Published:
Natural Computing Aims and scope Submit manuscript

Abstract

Since computer processing mainly depends on sorting and searching methods, a key problem is how to design efficient algorithms in order to solve such problems. This paper describes a new nature-inspired mechanism (called Friction-based Sorting) capable of sorting a given set of numbers. The main idea behind this mechanism is to associate a ball (whose weight is proportional to the considered number) to each number. All the balls being allowed to fall in the presence of friction, the heaviest ball (which corresponds to the greatest input number) will reach the ground first and the lightest ball (associated with the smallest number) will reach the ground last. The proposed mechanism is analyzed, together with its strengths and weaknesses.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Notes

  1. Both digital and analog hardware implementations of Beadsort can achieve a sorting time of \({\mathcal{O}}(\sqrt{n})\) (Arulanandham et al. 2004).

  2. m is the maximum value of an item from S or the number of poles.

  3. Stable sorting algorithms maintain the relative order of records with equal keys (i.e., sort key values). A sorting algorithm is stable if whenever there are two records R 1 and R 2 having the same key, as well as R 1 appearing before R 2 in the original list, it means that R 1 will appear before R 2 in the sorted list. Unstable sorting algorithms may change the relative order of records with equal keys, but stable sorting algorithms never do.

References

  • Arulanandham JJ, Calude C, Dinneen MJ (2002) Bead-sort: a natural sorting algorithm. Bull EATCS 76:153–161

    MathSciNet  MATH  Google Scholar 

  • Arulanandham JJ, Calude C, Dinneen MJ (2004) A fast natural algorithm for searching. Theoret Comput Sci 320(1):3–13

    Article  MathSciNet  MATH  Google Scholar 

  • Bender MA, Farach-Colton M, Mosteiro MA (2006) Insertion sort is O(n log n). Theory Comput Syst 39(3):391–397

    Article  MathSciNet  MATH  Google Scholar 

  • Cormen TH, Leiserson CE, Rivest RL, Stein C (2001) Introduction to algorithms, 2nd edn. The MIT Press and McGraw-Hill Book Company

  • Dewdney AK (1984) On the spaghetti computer and other analog gadgets for problem solving. Sci Am 6(250):19–26

    Google Scholar 

  • Gross JH (2006) Mass spectrometry: a textbook. Springer

  • Knuth DE (1973) The art of computer programming. Volume 3: sorting and searching. Addison-Wesley

  • Murphy DN (2006) Stable sorting using special-purpose physical. BCRI Preprint 06/2006, Boole Centre for Research in Informatics, University College Cork, Ireland

  • Murphy N, Naughton TJ, Woods D, Henley B, McDermott K, Duffy E, van der Burgt PJM, Woods N (2008) Implementations of a model of physical sorting. Int J Unconv Comput 1(4):3–12

    Google Scholar 

  • Poole CF, Schuette SA (1984) Contemporary practice of chromatography. Elsevier

  • Sant PM (2004) Rooted tree. In: Black PE (ed) Dictionary of algorithms and data structures [online]. U.S. National Institute of Standards and Technology

  • Schultes D (2006) Rainbow sort: sorting at the speed of light. Nat Comput Int J 5(1):67–82

    Article  MathSciNet  MATH  Google Scholar 

  • Simpson CF, Whittaker M (1983) Electrophoretic techniques. Academic Press, London

    Google Scholar 

  • Tipler PA (1991) Physics for scientists and engineers. Worth Publishers Inc. New York, USA

    Google Scholar 

  • Vergis A, Steiglitz K, Dickinson B (1986) The complexity of analog computation. Math Comput Simul 28:91–113

    Article  MATH  Google Scholar 

Download references

Acknowledgments

The authors thank to anonymous reviewers for their useful suggestions. This research was supported by grant IDEI-543/2007 from CNCSIS.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Laura Dioşan.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Dioşan, L., Oltean, M. Friction-based sorting. Nat Comput 10, 527–539 (2011). https://doi.org/10.1007/s11047-010-9201-5

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11047-010-9201-5

Keywords

Navigation