class NeuronInserter

This class is used to insert neurons into the V set of a neural network, and (if needed) into a vector such as VO.

Attributes:

None public

Methods:

NeuronInserter(std::set<Node*> *st,std::vector<Neuron*> *nv)
Constructr an inserter for the given set and vector. nv can be 0.
void operator() (Neuron* n)
Inserts the given neuron into the set, and (if nv was non-0) at the end of the vector.