node.cpp
来自「本文介绍了一个用java语言编写的用于分析消费行为的数据挖掘应用软件」· C++ 代码 · 共 56 行
CPP
56 行
// Node.cpp: implementation of the CNode class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "CBA_SYSTEM.h"
#include "Node.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CNode::CNode()
{
Id=0;
I_value=0;
O_value=0;
}
CNode::CNode(short id)
{
Id=id;
}
void CNode::SetId(short id)
{
Id=id;
}
short CNode::GetId()
{
return Id;
}
void CNode::SetI_value(float i_value)
{
I_value=i_value;
}
float CNode::GetI_value()
{
return I_value;
}
void CNode::SetO_value(float o_value)
{
O_value=o_value;
}
float CNode::GetO_value()
{
return O_value;
}
CNode::~CNode()
{
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?