#include <TwoLayerNetwork.h>
Inheritance diagram for annie::TwoLayerNetwork:

Public Methods | |
| TwoLayerNetwork (int inputs, int hidden, int outputs) | |
| TwoLayerNetwork (const char *filename) | |
| virtual void | connect2in (int input, int hidden) |
| virtual void | connect2in (int input, int hidden, real weight) |
| virtual void | connect2out (int hidden, int output) |
| virtual void | connect2out (int hidden, int output, real weight) |
| virtual void | connectAll () |
| virtual void | addLayer (int size) |
| virtual const char * | getClassName () |
| Returns "TwoLayerNetwork". More... | |
|
||||||||||||||||
|
Creates a two layer network
|
|
|
Loads a two-layer network from a file. The file is exactly the same as a MultiLayerNetwork file, and can be loaded there as well.
|
|
|
Overrides MultiLayerNetwork::addLayer() so that it cannot be done.
Reimplemented from annie::MultiLayerNetwork. |
|
||||||||||||||||
|
Connects an input and a hidden neuron with the given weight
|
|
||||||||||||
|
Connects an input and a hidden neuron with a random weight
|
|
||||||||||||||||
|
Connects a hidden and an output neuron with the given weight
|
|
||||||||||||
|
Connects a hidden and an output neuron with a random weight
|
|
|
Completely connects the network. All inputs are connected to all hidden neurons and all hidden neurons to all output neurons |
|
|
Returns "TwoLayerNetwork".
Reimplemented from annie::MultiLayerNetwork. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002