parameter.h
来自「Solaris环境下的数据挖掘算法:birch聚类算法。该算法适用于对大量数据的」· C头文件 代码 · 共 67 行
H
67 行
/****************************************************************File Name: parameter.h Author: Tian Zhang, CS Dept., Univ. of Wisconsin-Madison, 1995 Copyright(c) 1995 by Tian Zhang All Rights ReservedPermission to use, copy and modify this software must be grantedby the author and provided that the above copyright notice appear in all relevant copies and that both that copyright notice and this permission notice appear in all relevant supporting documentations. Comments and additions may be sent the author at zhang@cs.wisc.edu.******************************************************************/#ifndef PARAMETER_H#define PARAMETER_H#include "AttrProj.h"class Para {public:short CorD;int TotalMemSize;int TotalBufferSize;int TotalQueueSize;int TotalOutlierTreeSize;int attrcnt;int attrsize;int ntrees;const int *attrcnts;const int *attrsizes;int total_attrcnt;int total_attrsize;// for parameter readingifstream parafile;// for devise-like data readingAttrProj *attrproj;// for logging execution informationofstream logfile;Para(char *pname, char *sname, char *aname, char *dname);~Para();friend istream& operator>>(istream ¶file,Para *Paras);friend ifstream& operator>>(ifstream ¶file,Para *Paras);friend ostream& operator<<(ostream ¶file,Para *Paras);friend ofstream& operator<<(ofstream ¶file,Para *Paras);};istream& operator>>(istream ¶file,Para *Paras);ifstream& operator>>(ifstream ¶file,Para *Paras);ostream& operator<<(ostream ¶file,Para *Paras);ofstream& operator<<(ofstream ¶file,Para *Paras);#endif PARAMETER_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?