#ifndef __DoubleHash__h
#define __DoubleHash__h
#include "HashTable.h"
#include "LinearHash.h"
//
// Standard Quadratic Hash Table
//
//
class DoubleHash : public LinearHash {
public:
DoubleHash(int size) : LinearHash(size) {}
protected:
int H(Key key, int index=0); // Hash function H(k,i,c)
int H2(Key key, int index=0); // Secondary hash function
};
#endif // ifdef __DoubleHash__h