forked from lintool/c-bfscan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.h
31 lines (29 loc) · 919 Bytes
/
constants.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include <stdint.h>
#define COLLECTION_POS_SIZE 203429861
#define COLLECTION_TF_SIZE 162603674
#define NUM_DOCS 16141812
#define NUM_TERMS 14327749
#define TOTAL_TERMS 203429861
#define DOC_UNIQUE_TERM_LENGTH 50
#define BLOCK_SIZE 8
#define DOCS_BLOCK_SIZE 6
#define NUM_DOCS_PADDING 16141812
#define MU 2500.0
#define TOP_K 1000
#define NUM_TOPICS 49
#define DATA_PATH "/fs/clip-twitter/ylwang/bfscan-statistics/All/"
int collection_pos[COLLECTION_POS_SIZE];
int collection_tf[COLLECTION_TF_SIZE];
unsigned char tf[COLLECTION_TF_SIZE];
unsigned char impact_score[COLLECTION_TF_SIZE];
uint32_t * collection_tf_padding;
uint8_t * impact_score_padding;
uint32_t * tf_padding;
unsigned char doclengths[NUM_DOCS];
unsigned char doclengths_ordered[NUM_DOCS];
unsigned char doclengths_ordered_padding[NUM_DOCS];
long tweetids[NUM_DOCS];
int cf[NUM_TERMS];
int base[NUM_DOCS];
int base_padding[NUM_DOCS];
uint8_t * doc_pos;