EFFECTIVENESS OF THE BINARY SEARCH METHOD IN DATABASE FILES IN THE CASE OF A GENERALIZED DISTRIBUTION OF PROBABILITIES OF ACCESS TO RECORDS.

Автор(и)

  • Lesia Fundak Ivan Franko National University of Lviv
  • Hryhorii Tsehelyk Ivan Franko National University of Lviv

DOI:

https://doi.org/10.30970/vam.2020.28.10947

Анотація

The article presents a formula for calculating the mathematical expectation of the number of comparisons needed to nd a record in a le in the case of generalized distribution of the probabilities of accessing records. We compare the eectiveness of the binary search method in the case of generalized distribution of probabilities of access to records and Zipf's law.

Завантаження

Опубліковано

2021-03-25

Номер

Розділ

Комп'ютерні науки