📄 classtreenode.h
字号:
// lassTreeNode.h: interface for the ClassTreeNode class.
//
//////////////////////////////////////////////////////////////////////
#include <afxtempl.h>
class CListNode
{
public:
int WordIndex;
float Weight; //权重
int WordFreq; //词频
float Central; //集中度
};
typedef CList<CListNode,CListNode&> WORDVECTOR;
class ClassTreeNode
{
public:
ClassTreeNode();
ClassTreeNode(int nDimOfVector,CString strKindName);
virtual ~ClassTreeNode();
//class member variable
//data member
CString KindName;
int nDimOfVector;//the dimension of characteristic word vector at the node
WORDVECTOR WordVector;//the pointer of the Word vector with weight
//and such that memory gets allocated in chunks of 10 nodes.
int * pTFArray;
//link member
ClassTreeNode *pFirstChild;
ClassTreeNode *pNextSibling;
ClassTreeNode *pParent;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -