|
Algorithm 2 Clear the slot |
|
Require: a hash table with N slots, ; each slot contains three fields: , , ; an array with k random numbers, ; the length of a bucket, ; |
| 1: procedure CLEAR-SLOT(, ) |
| 2:
|
| 3:
|
| 4: for to k do
|
| 5:
|
| 6:
|
| 7:
|
| 8:
|
| 9: if and then
|
| 10:
|
| 11: end if
|
| 12: end for
|
| 13: end procedure
|