📄 densitymap.h
字号:
class HashForest; // foward declaration
// Constants
const bool READ_ONCE = true;
// Density Map for a number of subspaces
class DensityMap {
public:
DensityMap(const Param& prm, const HashTree& ht);
~DensityMap();
void setSubspace(int i, const IntList& s);
void build_grid(float** dataset, HashForest& hf, HashTree& ht);
void cal_stat(int ss_no, HashForest& hf, HashTree& ht);
private:
int total_dim; // Total no of dimensions
int cur_dim; // No of dimensions of current pass
int no_ss; // No of subspaces
IntList* ss; // Subspaces
NArray* na; // Density map for the subspaces
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -