Arnab Chakraborty has Published 4293 Articles

Counter Size and Counter Overflow

Arnab Chakraborty

Arnab Chakraborty

Updated on 03-Jan-2020 05:58:21

688 Views

Counter SizeWe must select counters large enough for avoiding overflow.Size is 4 bits/counter suggested by Poisson approximation.Average load implementing k = (ln 2)m/n counters is ln 2.Probability a counter has load minimum 16:≈e-ln2(ln 2)16/16!≈6.78E-17We consider 4 bits/counter for comparisons.Counter OverflowWhen a counter does overflow, it may be arrived at its ... Read More

Counting Bloom Filter

Arnab Chakraborty

Arnab Chakraborty

Updated on 03-Jan-2020 05:56:52

539 Views

Basic ConceptA Counting Bloom filter is defined as a generalized data structure of Bloom filter that is implemented to test whether a count number of a given element is less than a given threshold when a sequence of elements is given. As a generalized form, of Bloom filter there is ... Read More

Performance Metrics

Arnab Chakraborty

Arnab Chakraborty

Updated on 03-Jan-2020 05:55:55

396 Views

There are three performance metrics for Bloom filters that can be traded off: computation or execution time (corresponds to the number k of hash functions), size of filter (corresponds to the number m of bits), and probability of error (corresponds to the false positive ratef = (1 − p)k )The ... Read More

Bloom Filter

Arnab Chakraborty

Arnab Chakraborty

Updated on 03-Jan-2020 05:54:34

3K+ Views

A Bloom filter is defined as a data structure designed to identify of a element’s presence in a set in a rapid and memory efficient manner.A specific data structure named as probabilistic data structure is implemented as bloom filter. This data structure helps us to identify that an element is ... Read More

Multiple-Choice Hashing

Arnab Chakraborty

Arnab Chakraborty

Updated on 03-Jan-2020 05:52:22

317 Views

Multiple choice hashing is named because it employs the implementation of multiple hash functions.On a high level, when there are multiple hash functions each item is mapped to multiple buckets and therefore the Algorithmdesigner has freedom to select in which of those the item would reside.It turns out that this ... Read More

Dynamic Perfect Hashing

Arnab Chakraborty

Arnab Chakraborty

Updated on 03-Jan-2020 05:49:49

804 Views

DefinitionDynamic perfect hashing is defined as a programming method for resolving collisions in a hash table data structure.ApplicationWhile more memory-intensive than its hash table counterparts, this method is ideal for situations where fast queries, insertions, and deletions must be performed on a large set of elements.ImplementationDietzfelbinger et al. explain a ... Read More

Static Perfect Hashing

Arnab Chakraborty

Arnab Chakraborty

Updated on 03-Jan-2020 05:48:42

2K+ Views

Definition of Perfect HashingPerfect hashing is defined as a model of hashing in which any set of n elements can be stored in a hash table of equal size and can have lookups performed in constant time. It was specifically invented and discussed by Fredman, Komlos and Szemeredi (1984) and has therefore ... Read More

Meldable DEPQs

Arnab Chakraborty

Arnab Chakraborty

Updated on 03-Jan-2020 05:47:26

166 Views

A meldable DEPQ (MDEPQ) is defined as a DEPQ (Double Ended Priority Queue) that, in addition to the DEPQ operations listed above, includes the operation meld(p, q) ... meld the DEPQs p and q into a single DEPQ. The result of melding the double-ended priority queues p and q is ... Read More

Correspondence Based Data Structures

Arnab Chakraborty

Arnab Chakraborty

Updated on 03-Jan-2020 05:46:25

425 Views

Total and leaf correspondence are more sophisticated correspondence techniques. In both of these techniques, half the elements are located in the min PQ and the other half in the max PQ. When the number of elements is odd, one element is stored in a buffer. This buffered element is not ... Read More

Dual Priority Queues

Arnab Chakraborty

Arnab Chakraborty

Updated on 03-Jan-2020 05:44:35

348 Views

Existence of general methods to arrive at efficient DEPQ(Double Ended Priority Queue) data structures from single-ended priority queue (PQ) data structures that also provide an efficient implementation of the remove(bNode) operation (this operation eliminates the node bNode from the PQ). The simplest of these methods, dual structure method, maintains both ... Read More

Advertisements