LCFIVertex  0.7.2
Public Member Functions | Protected Member Functions | List of all members
nnet::LinearNeuron Class Reference
Inheritance diagram for nnet::LinearNeuron:
Inheritance graph
[legend]
Collaboration diagram for nnet::LinearNeuron:
Collaboration graph
[legend]

Public Member Functions

 LinearNeuron (const int numberOfInputs, const double slopeEnd=0.5, const double bias=-1.0, const NeuralNet *parent=0)
 
void destroy () const
 
double slopeEnd () const
 
void setSlopeEnd (const double slopeEnd)
 
Neuronclone (const NeuralNet *parentNetwork) const
 
void outputRange (double &outputmin, double &outputmax) const
 
- Public Member Functions inherited from nnet::Neuron
double output (const std::vector< double > &inputValues) const
 
double derivativeOutput (const std::vector< double > &inputValues) const
 
std::vector< double > weights () const
 
double bias () const
 
int numberOfWeights ()
 
void setWeights (const std::vector< double > &newWeights)
 
void serialise (std::ostream &os) const
 

Protected Member Functions

double thresholdFunction (const double activation) const
 
double derivative (const double x) const
 
void serialiseExtra (std::ostream &os) const
 
std::string neuronType () const
 
- Protected Member Functions inherited from nnet::Neuron
 Neuron (const int numberOfInputs, const double bias, const NeuralNet *parentNetwork=0)
 

Additional Inherited Members

- Protected Attributes inherited from nnet::Neuron
const int _numberOfInputs
 
const double _bias
 
std::vector< double > _weights
 
const NeuralNet_parentNetwork
 

Detailed Description

Definition at line 16 of file LinearNeuron.h.


The documentation for this class was generated from the following file: