From c7dd883b9d07b113d52427a339c04df3837f4b45 Mon Sep 17 00:00:00 2001 From: Krishna Vedala <7001608+kvedala@users.noreply.github.com> Date: Wed, 29 Jul 2020 12:33:53 -0400 Subject: [PATCH] added wiki reference --- hashing/double_hash_hash_table.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hashing/double_hash_hash_table.cpp b/hashing/double_hash_hash_table.cpp index f8c9872d6..1a8c167d7 100644 --- a/hashing/double_hash_hash_table.cpp +++ b/hashing/double_hash_hash_table.cpp @@ -2,7 +2,8 @@ * @file double_hash_hash_table.cpp * @author [achance6](https://github.com/achance6) * @author [Krishna Vedala](https://github.com/kvedala) - * @brief Storage mechanism using double-hashed keys. + * @brief Storage mechanism using [double-hashed + * keys](https://en.wikipedia.org/wiki/Double_hashing). * @note The implementation can be optimized by using OOP style. */ #include @@ -18,7 +19,7 @@ bool putProber(Entry entry, int key); bool searchingProber(Entry entry, int key); void add(int key); -// globals +// Undocumented globals int notPresent; std::vector table; int totalSize;