ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
hash.h
Go to the documentation of this file.
1
20
21#ifndef ABC__misc__hash__hash_h
22#define ABC__misc__hash__hash_h
23
24
25#ifdef _WIN32
26#define inline __inline // compatible with MS VS 6.0
27#endif
31
33
34#include "hashInt.h"
35#include "hashFlt.h"
36#include "hashPtr.h"
37
39
40
44
48
52
56
57int Hash_DefaultHashFunc(int key, int nBins) {
58 return Abc_AbsInt( ( (key+11)*(key)*7+3 ) % nBins );
59}
60
64
65
66
68
69#endif
70
#define ABC_NAMESPACE_HEADER_END
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
ABC_NAMESPACE_HEADER_START int Hash_DefaultHashFunc(int key, int nBins)
INCLUDES ///.
Definition hash.h:57
enum keys key
Definition main.h:25