📄 rprc.h
字号:
#pragma once
#include <fstream>
#include <string>
#include <math.h>
#define FEATURELENGTH 300
#define ROUNDNUM 3
#define FEADBACKNUM 20
#define DOUBLEMAX 0xffffffffffffffff
//用于标注的一些选项
#define PPPP 2
#define PPP 1
#define PP 0.5
#define MM 0
#define NN -1
#define GAMMA 0.3
#define CEI 3.14
struct labelsample
{
int train;
int coarse1;
int coarse2;
int coarse3;
};
struct userfeed
{
int label;
double value;
};
class Crprc
{
public:
Crprc(void);
~Crprc(void);
void readlabels(CString infilepath);
void readfeatures(CString infilepath);
void firstcomputedistance(int objectnum);
void userlabelfeedback(int objectnum);
void newcomputedistance(int objectnum);
std::ofstream outfile1;
std::ofstream outfile2;
std::ofstream outfile3;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -