-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDataTypes.h
executable file
·37 lines (33 loc) · 981 Bytes
/
DataTypes.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
#ifndef DATATYPES_H
#define DATATYPES_H
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <cstdlib>
#include <ctime>
#include <cmath>
#include <climits>
#include <unistd.h>
// STL
#include <vector>
#include <map>
#include <algorithm>
#include <numeric>
#include <complex>
#include <functional>
// typedefs
typedef std::vector<float> FloatVector;
typedef std::vector<FloatVector> FloatVector2D;
typedef std::vector<double> DoubleVector;
typedef std::vector<DoubleVector> DoubleVector2D;
typedef std::vector<int> IntVector;
typedef std::vector<IntVector> IntVector2D;
typedef std::vector<std::string> StringVector;
typedef std::vector<StringVector> StringVector2D;
typedef std::pair<int,int> IntIntPair;
typedef std::pair<int,float> IntFloatPair;
typedef std::map<int,int> IntIntMap;
typedef std::map<int,IntVector> IntIntVectorMap;
typedef std::map<int,FloatVector> IntFloatVectorMap;
#endif // DATATYPES_H