inputneuron.h
来自「amygdata的神经网络算法源代码」· C头文件 代码 · 共 54 行
H
54 行
/*************************************************************************** inputneuron.h - description ------------------- copyright : (C) 2003 by Matt Grover email : mgrover@amygdala.org ***************************************************************************//*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/#ifndef INPUTNEURON_H#define INPUTNEURON_H#include <amygdala/neuron.h>#include <amygdala/network.h>#include <amygdala/factory.h>#include <amygdala/inputneuronproperties.h>namespace Amygdala {/** class InputNeuron */class InputNeuron : public Neuron{public: typedef NeuronFactory<InputNeuron,InputNeuronProperties> Factory; virtual ~InputNeuron();private: InputNeuron(AmIdInt neuronId, const InputNeuronProperties& neuronProps); /** */ void SendInputSpike(AmTimeInt& now); friend void Network::TimeStep(); template<class neuron, class neuronProperties> friend class NeuronFactory;};namespace Factory { static InputNeuron::Factory MakeInputNeuron;}} // namespace Amygdala#endif // INPUTNEURON_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?