EFFECTIVENESS OF THE BINARY SEARCH METHOD IN DATABASE FILES IN THE CASE OF A GENERALIZED DISTRIBUTION OF PROBABILITIES OF ACCESS TO RECORDS
DOI:
https://doi.org/10.30970/vam.2020.28.10947Sažetak
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.Preuzimanja
Dodatne datoteke
Objavljeno
2021-03-25
Broj časopisa
Rubrika
Комп'ютерні науки