Sorting/PointerBased/bucketArraySortPtr.h

Go to the documentation of this file.
00001 
00013 #ifndef _BUCKET_ARRAY_SORT_PTR_H_
00014 #define _BUCKET_ARRAY_SORT_PTR_H_
00015 
00017 #define BUCKETSIZE 16
00018 
00023 typedef struct {
00025   int               count;
00026 
00028   int               size; 
00029 
00031   void              **ar;
00032 } BUCKET;
00033 
00035 extern int hash(void *elt);
00036 
00041 extern int numBuckets(int numElements);
00042 
00043 #endif  /* _BUCKET_ARRAY_SORT_PTR_H_ */
Algorithm Development Kit 1.0