mirror of
https://github.com/rmontanana/mdlp.git
synced 2025-08-16 07:55:58 +00:00
19 lines
485 B
C++
19 lines
485 B
C++
#ifndef TYPES_H
|
|
#define TYPES_H
|
|
|
|
#include <vector>
|
|
#include <map>
|
|
#include <stdexcept>
|
|
|
|
using namespace std;
|
|
namespace mdlp {
|
|
typedef float precision_t;
|
|
typedef std::vector<precision_t> samples_t;
|
|
typedef std::vector<int> labels_t;
|
|
typedef std::vector<size_t> indices_t;
|
|
typedef std::vector<precision_t> cutPoints_t;
|
|
typedef std::map<std::pair<int, int>, precision_t> cacheEnt_t;
|
|
typedef std::map<std::tuple<int, int, int>, precision_t> cacheIg_t;
|
|
}
|
|
#endif
|