-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathParamArray.h
More file actions
36 lines (32 loc) · 842 Bytes
/
Copy pathParamArray.h
File metadata and controls
36 lines (32 loc) · 842 Bytes
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
# ifndef PARAMARRAY_H
# define PARAMARRAY_H
# include "numOp.h"
# include "Timer.h"
# include "FileOp.h"
# include "Distribution.h"
// A class that generates parameter set + array test cases
class Rparamarray
{
int N;
int g;
fstream fout;
vector <int> dist;
public:
Rparamarray();
void generate(int, int, Timer&, int, int, vector <int> &, vector <int> &);
void setCase(string&, int, int, int, vector <int> &, vector <int> &, int, int, int, bool, int, string&);
vector <int> setCaseDist(int, int, bool);
};
class Rptuple
{
int N;
int g;
fstream fout;
vector <int> dist;
public:
Rptuple();
void generate(vector <int> &, int, int, int, int, Timer &);
void setCase(string&, int, int, int, vector <int> &, vector <int> &, vector <int> &, vector <int> &, int, int, string&);
vector <int> setCaseDist(int, int, bool);
};
# endif