Layer Class Reference

#include <multilayerffnn.h>

Inherits Storeable.

Inheritance diagram for Layer:

Inheritance graph
[legend]
Collaboration diagram for Layer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Layer (int size, double factor_bias=0.1, ActivationFunction actfun=FeedForwardNN::linear, ActivationFunction dactfun=FeedForwardNN::dlinear)
bool store (FILE *f) const
 stores the layer binary into file stream
bool restore (FILE *f)
 restores the layer binary from file stream

Public Attributes

int size
double factor_bias
ActivationFunction actfun
 callback activation function
ActivationFunction dactfun
 first derivative of the activation function

Friends

std::ostream & operator<< (std::ostream &, const Layer &)

Constructor & Destructor Documentation

Layer int  size,
double  factor_bias = 0.1,
ActivationFunction  actfun = FeedForwardNN::linear,
ActivationFunction  dactfun = FeedForwardNN::dlinear
[inline]
 


Member Function Documentation

bool restore FILE *  f  )  [virtual]
 

restores the layer binary from file stream

Implements Storeable.

bool store FILE *  f  )  const [virtual]
 

stores the layer binary into file stream

Implements Storeable.


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  str,
const Layer l
[friend]
 


Member Data Documentation

ActivationFunction actfun
 

callback activation function

ActivationFunction dactfun
 

first derivative of the activation function

double factor_bias
 

int size
 


The documentation for this class was generated from the following files:
Generated on Tue Jan 16 02:14:47 2007 for Robotsystem of the Robot Group Leipzig by doxygen 1.3.8