o_node.cpp

来自「本文介绍了一个用java语言编写的用于分析消费行为的数据挖掘应用软件」· C++ 代码 · 共 50 行

CPP
50
字号
// O_Node.cpp: implementation of the CO_Node class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "O_Node.h"

#include "CBA_SYSTEM.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CO_Node::CO_Node()
{
    Bias=0;
	Err=0;
}
CO_Node::CO_Node(short o_id,float bias)
{
	SetId(o_id);
	Bias=bias;
}
void CO_Node::SetBias(float bias)
{
	Bias=bias;
}
float CO_Node::GetBias()
{
	return Bias;
}
void CO_Node::SetErr(float err)
{
	Err=err;
}
float CO_Node::GetErr()
{
	return Err;
}
void CO_Node::SetT(float t)
{
	T = t;
}
float CO_Node::GetT()
{
	return T;
}
CO_Node::~CO_Node()
{

}

⌨️ 快捷键说明

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