eis/eqpalg/define/stat.h

32 lines
690 B
C
Raw Normal View History

#pragma once
/**
* @file stat_define.h
* @brief
* @author Cat (null.null.null@qq.com)
* @version 0.1
* @date 2021-07-02
*
* Company: Baosight Co. Ltd.
* DO NOT COPY/USE WITHOUT PERMISSION
*
*/
#include <dlib/matrix.h>
#include <mix_cc/sql.h>
#include <chrono>
#include <vector>
using namespace std::chrono;
using std::chrono::system_clock;
using namespace mix_cc;
typedef system_clock::time_point TimePoint;
#define IMPL_STAT_COUNT 5
#define ONE_DIM_MIN_JUDGE_SIZE 20
#define TWO_DIM_MIN_FIT_SIZE 100
#define THREE_DIM_MIN_FIT_SIZE 240
// #define MAX_STORAGE_SIZE 10000
#define MAX_STORAGE_SIZE 2000
#define MIN_STORAGE_SIZE 1000