![]() |
TheAlgorithms/C++ 1.0.0
All the algorithms implemented in C++
|
Storage mechanism using quadratic probing hash keys. More...
#include <cmath>#include <iostream>#include <vector>Go to the source code of this file.
Classes | |
| struct | quadratic_probing::Entry |
Namespaces | |
| namespace | quadratic_probing |
| An implementation of hash table using quadratic probing algorithm. | |
Typedefs | |
| using | quadratic_probing::Entry = struct Entry |
Functions | |
| bool | quadratic_probing::putProber (const Entry &entry, int key) |
| bool | quadratic_probing::searchingProber (const Entry &entry, int key) |
| void | quadratic_probing::add (int key) |
| size_t | quadratic_probing::hashFxn (int key) |
| int | quadratic_probing::quadraticProbe (int key, bool searching) |
| Entry | quadratic_probing::find (int key) |
| void | quadratic_probing::display () |
| void | quadratic_probing::rehash () |
| void | quadratic_probing::remove (int key) |
| void | quadratic_probing::addInfo (int key) |
| void | quadratic_probing::removalInfo (int key) |
| int | main () |
Variables | |
| int | quadratic_probing::notPresent |
| std::vector< Entry > | quadratic_probing::table |
| int | quadratic_probing::totalSize |
| int | quadratic_probing::tomb = -1 |
| int | quadratic_probing::size |
| bool | quadratic_probing::rehashing |
| std::vector< Entry > | table |
| int | totalSize |
Storage mechanism using quadratic probing hash keys.
Definition in file quadratic_probing_hash_table.cpp.
| int main | ( | void | ) |
Main function
Definition at line 246 of file quadratic_probing_hash_table.cpp.
| std::vector<Entry> quadratic_probing::table |
Definition at line 29 of file quadratic_probing_hash_table.cpp.
| int quadratic_probing::totalSize |
Definition at line 30 of file quadratic_probing_hash_table.cpp.