1 #ifndef __CMPH_CHD_STRUCTS_H__
2 #define __CMPH_CHD_STRUCTS_H__
3 
4 #include "chd_structs_ph.h"
5 #include "chd_ph.h"
6 #include "compressed_rank.h"
7 
8 struct __chd_data_t
9 {
10 	cmph_uint32 packed_cr_size;
11 	cmph_uint8 * packed_cr; // packed compressed rank structure to control the number of zeros in a bit vector
12 
13 	cmph_uint32 packed_chd_phf_size;
14 	cmph_uint8 * packed_chd_phf;
15 };
16 
17 struct __chd_config_data_t
18 {
19 	cmph_config_t *chd_ph;     // chd_ph algorithm must be used here
20 };
21 #endif
22