?? 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 + -