src/misc/hash/hash.h File Reference

#include "hashInt.h"
#include "hashFlt.h"
#include "hashPtr.h"
Include dependency graph for hash.h:

Go to the source code of this file.

Functions

int Hash_DefaultHashFunc (int key, int nBins)

Function Documentation

int Hash_DefaultHashFunc ( int  key,
int  nBins 
)

CFile****************************************************************

FileName [hash.h]

SystemName [ABC: Logic synthesis and verification system.]

PackageName [Hash map.]

Synopsis [External declarations.]

Author [Aaron P. Hurst]

Affiliation [UC Berkeley]

Date [Ver. 1.0. Started - May 16, 2005.]

Revision [

Id
vec.h,v 1.00 2005/06/20 00:00:00 ahurst Exp

] INCLUDES /// PARAMETERS /// BASIC TYPES /// MACRO DEFINITIONS /// FUNCTION DECLARATIONS ///

Definition at line 56 of file hash.h.

00056                                              {
00057   return ABS( ( (key+11)*(key)*7+3 ) % nBins );
00058 }


Generated on Tue Jan 5 12:19:15 2010 for abc70930 by  doxygen 1.6.1