-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathparams.h
More file actions
executable file
·43 lines (34 loc) · 1.15 KB
/
params.h
File metadata and controls
executable file
·43 lines (34 loc) · 1.15 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
//#ifndef PUBSUB_PARAMS_H
//#define PUBSUB_PARAMS_H
//
//extern const unsigned short MAX_SUBS;
//extern const unsigned short MAX_ATTS;
//extern const unsigned short MAX_BUCKS;
//extern const unsigned short SEGMENTS;
//extern const unsigned short MAX_SIGNATURE;
//extern unsigned short MAX_SPAN;
//extern unsigned MAX_CARDINALITY;
//extern unsigned short SPAN_AFTER_CLUSTERING;
//extern unsigned short K;
//extern unsigned short LEAVE_OUT;
//
//
////
//// Created by Work on 2019-08-14.
////
#ifndef PUBSUB_PARAMS_H
#define PUBSUB_PARAMS_H
static const unsigned MAX_SUBS = 1000000;
static const unsigned short MAX_ATTS = 80;
static const unsigned short MAX_BUCKS = 1000;
static const unsigned short SEGMENTS = 16;
static const unsigned short MAX_SIGNATURE = 61;
static const unsigned short MAX_SPAN = 100;
static unsigned MAX_CARDINALITY = 1000000000;
static unsigned short SPAN_AFTER_CLUSTERING= 50;
static unsigned short K= 25;
static unsigned short LEAVE_OUT= 1;
static const unsigned short LOG_APPROX_SEGMENTS = 100;
static const unsigned short SEED = 9937;
static const unsigned short HASH_BUCKETS = 100;
#endif //PUBSUB_PARAMS_H