girepository/cmph/bmz_structs.h
raw| 1 | #ifndef __CMPH_BMZ_STRUCTS_H__ |
| 2 | #define __CMPH_BMZ_STRUCTS_H__ |
| 3 | |
| 4 | #include "hash_state.h" |
| 5 | |
| 6 | struct __bmz_data_t |
| 7 | { |
| 8 | cmph_uint32 m; //edges (words) count |
| 9 | cmph_uint32 n; //vertex count |
| 10 | cmph_uint32 *g; |
| 11 | hash_state_t **hashes; |
| 12 | }; |
| 13 | |
| 14 | |
| 15 | struct __bmz_config_data_t |
| 16 | { |
| 17 | CMPH_HASH hashfuncs[2]; |
| 18 | cmph_uint32 m; //edges (words) count |
| 19 | cmph_uint32 n; //vertex count |
| 20 | graph_t *graph; |
| 21 | cmph_uint32 *g; |
| 22 | hash_state_t **hashes; |
| 23 | }; |
| 24 | |
| 25 | #endif |