Skip to content
Snippets Groups Projects
Commit dbf98dde authored by Martin Mareš's avatar Martin Mareš
Browse files

Hashing: Clarified theorem on complexity of Cuckoo hashing

parent 10243df7
Branches
No related tags found
No related merge requests found
...@@ -631,9 +631,11 @@ attempts (this is called insertion timeout), we give up and rehash everything ...@@ -631,9 +631,11 @@ attempts (this is called insertion timeout), we give up and rehash everything
with new choice of $f$ and~$g$. with new choice of $f$ and~$g$.
\theorem{ \theorem{
Let $m\ge (2+\varepsilon)n$, insertion timeout be set to $\lceil 6\log n\rceil$ and Let $\varepsilon>0$ be a~fixed constant.
Suppose that $m\ge (2+\varepsilon)n$, insertion timeout is set to $\lceil 6\log n\rceil$, and
$f$,~$g$ chosen at random from a~$\lceil 6\log n\rceil$-independent family. $f$,~$g$ chosen at random from a~$\lceil 6\log n\rceil$-independent family.
Then the expected time complexity of \alg{Insert} is $\O(1)$. Then the expected time complexity of \alg{Insert} is $\O(1)$, where the constant
in~$\O$ depends on~$\varepsilon$.
} }
\note{ \note{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment