CluE  1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
hashfunction.h
Go to the documentation of this file.
1 #ifndef HASHFUNCTION_H
2 #define HASHFUNCTION_H
3 
4 namespace CluE
5 {
6 
10 template<typename U, typename H> class HashFunction
11 {
12 public:
13  virtual H operator()(U const & element) const = 0;
14 };
15 
16 }
17 
18 #endif
virtual H operator()(U const &element) const =0
Base class template for any hash function mapping an element from universe U to hashing space H...
Definition: hashfunction.h:10