Skip to main content

An Experimental Study of a Novel Move-to-Front-or-Middle (MFM) List Update Algorithm

  • Conference paper
Applied Algorithms (ICAA 2014)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 8321))

Included in the following conference series:

  • 1312 Accesses

Abstract

List Update Problem (LUP) or List Accessing Problem (LAP) is a well studied research problem in the area of online algorithms [5] and self organizing data structures [2] since the pioneering work of McCabe [7]. In this problem, the inputs are an unsorted list of distinct items and a sequence of requests where each request is an access operation on an item of the list. The objective of a list update algorithm is to reorganize the list after each access and minimize the total access and reorganization cost, while processing a request sequence of finite size on a fixed size list. LUP is one of the general memory accessing problem which was studied by Sleator and Tarjan [14] for the competitive analysis of online algorithms in their seminal paper. As offline list update has been proved to be NP-hard [3], there is no known trivial solution to the problem. Move-To-Front(MTF) has been proved to be the best online algorithm [2] in the literature. In this paper, we have proposed a novel variant of MTF algorithm, which we popularly call as Move-to-Front-or-Middle(MFM). We have performed an empirical study of MFM algorithm and comparative performance analysis with MTF algorithm using two dataset such as Calgary Corpus and Canterbury Corpus. Our experimental results show that MFM outperforms MTF for all request sequences in both the data set.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Albers, S.: A competitive analysis of the list update problem with lookahead. In: Privara, I., Ružička, P., Rovan, B. (eds.) MFCS 1994. LNCS, vol. 841, pp. 201–210. Springer, Heidelberg (1994)

    Chapter  Google Scholar 

  2. Albers, S., Westbrook, J.: Self-organizing data structures. In: Fiat, A. (ed.) Online Algorithms 1996. LNCS, vol. 1442, pp. 13–51. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

  3. Ambühl, C.: Offline list update is NP-hard. In: Paterson, M. (ed.) ESA 2000. LNCS, vol. 1879, pp. 42–51. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  4. Bachrach, R., El-Yaniv, R.: Online list accessing algorithms and their applications: recent empirical evidence, pp. 53–62. Society for Industrial and Applied Mathematics (1997)

    Google Scholar 

  5. Borodin, A., El-Yaniv, R.: Online computation and competitive analysis. Cambridge University Press (1998)

    Google Scholar 

  6. Hester, J.H., Hirschberg, D.S.: Self-organizing linear search. ACM Computing Surveys 17, 295–312 (1985)

    Article  Google Scholar 

  7. McCabe, J.: On serial files with relocatable records. Operation Research 12, 609–618 (1965)

    Article  MathSciNet  Google Scholar 

  8. Mohanty, R., Narayanaswamy, N.S.: Online algorithms for self organizing sequential search – a survey. Electronic Colloquim on Computational Complexity (ECCC) TR-097, 1–13 (2009)

    Google Scholar 

  9. Bachrach, R., El-Yaniv, R., Reinstadtler, M.: On the competitive theory and practice of online list accessing algorithms. Algorithmica 32(2), 201–245 (2002)

    Article  MATH  MathSciNet  Google Scholar 

  10. Reingold, N., Westbrook, J.: Off-line algorithms for the list update problem. Information Processing Letters 60(2), 75–80 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  11. Rivest, R.: On self-organizing sequential search heuristics. CACM 19(2), 63–67 (1976)

    Article  MATH  MathSciNet  Google Scholar 

  12. Angelopoulos, S., López-Ortiz, A., Dorrigiv, R.: List accessing with locality of reference: Mtf outperforms all other algorithms. School of Computer Science, University of Waterloo, TR CS-2006-46 (2006)

    Google Scholar 

  13. Irani, S.: Two results on the list update problem. Information Processing Letters 38, 301–306 (1991)

    Article  MATH  MathSciNet  Google Scholar 

  14. Sleator, D., Tarjan, R.E.: Amortized efficiency of list update and paging rules. CACM 28(2), 202–208 (1985)

    Article  MathSciNet  Google Scholar 

  15. Albers, S., von Stengel, B., Werchner, R.: A combined bit and timestamp algorithm for the list update problem. Information Processing Letters 56(3), 135–139 (1995)

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this paper

Cite this paper

Mohanty, R., Dash, T., Khan, B., Dash, S.P. (2014). An Experimental Study of a Novel Move-to-Front-or-Middle (MFM) List Update Algorithm. In: Gupta, P., Zaroliagis, C. (eds) Applied Algorithms. ICAA 2014. Lecture Notes in Computer Science, vol 8321. Springer, Cham. https://doi.org/10.1007/978-3-319-04126-1_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-04126-1_16

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-04125-4

  • Online ISBN: 978-3-319-04126-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics