nn_base.h header file

This file declares all the elements needed to create and use generic (acyclic, non-recurrent) neural networks.

Classes:

class Weight: public Link
a weight in a neural network: it can calculate its output and the partial derivative of the network with respect to itself (using BP)
class Neuron: public Node
a neuron: holds the couple (activation function, derivative) and implements BP
class InputTerminal: public Neuron
an input terminal is a neuron without incoming links: it has a value of its own, and is used to feed input into neurla networks
class NeuralNet: public Graph
this holds neurons and weights, with methods to set the input and retrieve the output
class NeuronInserter
helper class to load neurons from a stream: inserts them into a set and a vector
class ITInserter
helper class to load input terminals from a stream: inserts them into a set and a vector

Functions: