📄 datastructure.h
字号:
#ifndef _DATASTRUCTURE
#define _DATASTRUCTURE
#include <iostream>
#include <map>
#include <vector>
#include <string>
#include <math.h>
using namespace std;
struct ScoreError
{
double Score;
int Error;
};
struct DistanceToCentroid
{
int FeatureId;
double Distance;
};
typedef map<int, double> FeatureVector;
typedef map<int, ScoreError> CountScore;
typedef vector<FeatureVector> Cluster;
typedef vector<int> ClusterID;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -