⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nrlnode.hpp

📁 关于神经网络算法处理的一些程序。开发环境是C
💻 HPP
字号:
//Header:	Neural.hpp
//Language:	Borland C++ 3.1
//Version:	1.0
//Environ:	Any
//Date:		3/1996
//Porpuse:	Provide a base class of neural for neural network

#ifndef		__NRLNODE__HPP
#define		__NRLNODE__HPP

class NrlNode
{
  protected:
    double Thred;			//threshold value of the node
  public:
    double (*Fun)(double);	//node function
    //constructor
    NrlNode(void) { Thred=0; Fun=NULL; };
    NrlNode(double t, double (*f)(double)) { Thred=t; Fun=f; };
    //other methods
    void SetThred(double t) { Thred=t; };	//set threshold
    double GetThred() { return Thred; };	//get threshold
    void SetFun(double (*f)(double)) { Fun=f; };//set node function
};

#endif

⌨️ 快捷键说明

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