lab_hash
Hellish Hash Tables
 All Classes Namespaces Files Functions Variables Pages
hashes.h File Reference

Definition of a namespace containing a templatized hash function. More...

Namespaces

 hashes
 hashes namespace: a collection of templated hash functions.
 

Functions

template<class K >
unsigned int hashes::hash (const K &key, int size)
 Computes the hash code of a given key (templated), and returns it modulo size for use in HashTable applications. More...
 
template<class K >
unsigned int hashes::secondary_hash (const K &key, int size)
 Computes the secondary hash code of a given key (templated), and returns it modulo size for use in HashTable applications. More...
 

Detailed Description

Definition of a namespace containing a templatized hash function.

Author
Chase Geigle
Date
Summer 2012
Author
Jordi Paris Ferrer
Date
Fall 2019