Skip to main navigation Skip to search Skip to main content

Searching on a Tape

  • Scot W. Hornick
  • , Sanjeev R. Maddila
  • , Ernst P. Mücke
  • , Harald Rosenberger
  • , Steven Sol Skiena
  • , Ioannis G. Tollis

Research output: Contribution to journalArticlepeer-review

3 Scopus citations

Abstract

This paper considers the problem of minimizing the average time to search for a key in a stored list of keys in a sequential access machine model (SAM), e.g., a magnetic tape, where both the time to access a key in the list and the time to compare it to the given search key are taken into account. The time to access a key in the list is assumed proportional to the distance the head moves from its current location to reach the key. The time to read and compare the key to the search key is taken to be constant. Two classes of algorithms are analyzed and a matching lower bound on the average search time is presented. These results answer an open problem posed by Nishihara and Nishino [11] regarding the optimal search algorithm for such a model. Finally, it is shown that the organization of the input data is crucial in determining the SAM complexity of the search problem.

Original languageEnglish
Pages (from-to)1265-1272
Number of pages8
JournalIEEE Transactions on Computers
Volume39
Issue number10
DOIs
StatePublished - Oct 1990

Keywords

  • Comparison complexity
  • computational complexity
  • head movement complexity
  • searching algorithms
  • sequential access machine model
  • tape searching

Fingerprint

Dive into the research topics of 'Searching on a Tape'. Together they form a unique fingerprint.

Cite this