Operace DELETE ve srůstajícím hašování
Deletion in coalesced hashing
diploma thesis (NOT DEFENDED)
View/ Open
Permanent link
http://hdl.handle.net/20.500.11956/9372Identifiers
Study Information System: 136492
Collections
- Kvalifikační práce [11266]
Author
Advisor
Referee
Skopal, Tomáš
Faculty / Institute
Faculty of Mathematics and Physics
Discipline
Software systems
Department
Department of Software Engineering
Date of defense
21. 5. 2007
Publisher
Univerzita Karlova, Matematicko-fyzikální fakultaLanguage
Czech
Grade
Fail
Diplomová práce je věnována operaci DELETE ve srůstajícím hašování. Nejprve jsou uvedeny principy hašování a některé jeho základní druhy. O srůstajícím hašování pojednává kapitola 3, kde jsou podrobně popsány i různé metody konstrukce hašovací tabulky rozdělené dle pořadí kolizních záznamů a přítomnosti sklepa. Dále jsou představeny tři rozdílné algoritmy pro operaci DELETE a detailně diskutovány jejich implementace pro jednotlivé metody srůstajícího hašování. Po teoretické části následují výsledky a komentáoe experimentů na simulovaných datech. Práce je zaměřena zejména na porovnání časové náročnosti jednotlivých mazacích algoritmů a na porovnání časů potřebných k vyhledávání záznamů před a po smazání části tabulky. Použité algoritmy implementované v jazyce C a výsledky experimentů jsou přiloženy na CD.
This diploma thesis deals with operation DELETE in coalesced hashing. First of all we talk about principles of hashing itself and we describe some basic types of hashing. Chapter 3 is devoted to coalesced hashing and creating the corresponding hash table using di erent inserting methods with or without cellar presence. Then, three algorithms for deleting records form hash table are introduced. Their implementaion is discussed in detail for every inserting method of coalesced hashing. Simulated data experiments follow the theoretical part of the thesis. They are focused on comparing time consumption of the delete algorithms as well as search performance before/after delete. The presented algorithms are implemented in C language and are available on enclosed CD together with the measured results.