-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathUCList.h
57 lines (51 loc) · 1.62 KB
/
UCList.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
* Argus Open Source
* Software to apply Statistical Disclosure Control techniques
*
* Copyright 2014 Statistics Netherlands
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the European Union Public Licence
* (EUPL) version 1.1, as published by the European Commission.
*
* You can find the text of the EUPL v1.1 on
* https://joinup.ec.europa.eu/software/page/eupl/licence-eupl
*
* This software is distributed on an "AS IS" basis without
* warranties or conditions of any kind, either express or implied.
*/
#if ! defined UCList_h
#define UCList_h
#include "Table.h"
class CUCList
{
public:
CUCList()
{
long i;
TabNr = 0;
nDim = 0;
for (i=0; i<MAXDIM; i++) {
Varnr[i] = 0;
}
Threshold = 0;
nUC = 0;
biggestThreshold = 0;
unsafe = 0;
HasPram = 0;
//table =0;
}
~CUCList()
{
}
int TabNr; // permanent or recoded table from which subtable is computed
int nDim; // number of dimensions
int Varnr[MAXDIM]; // variable indices
int Threshold; // no comment
int nUC; // number of UnsafeCombinations
int biggestThreshold; // combination of variables with biggest threshold (true/false)
CTable table; // content of subtable
bool unsafe; // during MakeFileSave: combination of variables is unsafe?
bool HasPram; // true: at least one of the variables of the table is prammed
};
#endif