headtable.cpp

来自「 关联规则fp算法」· C++ 代码 · 共 50 行

CPP
50
字号
// HeadTable.cpp: implementation of the CHeadTable class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "fp_tree.h"
#include "HeadTable.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CHeadTable::CHeadTable()
{
	itemName="";
	count=0;
	right=NULL;
}

CHeadTable::~CHeadTable()
{

}

void CHeadTable::setItemName(CString itemName)
{
	this->itemName=itemName;
}

CString CHeadTable::getItemName()
{
	return(itemName);
}

void CHeadTable::setCount(int count)
{
	this->count=count;
}

int CHeadTable::getCount()
{
	return(count);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?