4 #include "NeuralNetConfig.h"
12 #include "NeuronBuilder.h"
13 #include "NeuralNet.h"
40 NeuronLayer(
const int numberOfInputsPerNeuron,
const std::vector<std::string> &namedNeurons,
const NeuralNet *parentNetwork=0);
43 void serialise(std::ostream &os)
const;
44 int numberOfNeurons()
const {
return (
int)_theNeurons.size();}
45 std::vector<double> output(
const std::vector<double> &inputValues)
const;
46 Neuron *neuron(
const int i);
47 int numberOfWeights()
const;
48 void setWeights(
const std::vector<double> &newWeights);
49 std::vector<double> weights()
const;
50 std::vector<double> derivativeOutput(
const std::vector<double> &inputValues)
const;
51 void addNeuron(
Neuron *neuronToAdd);
58 std::vector<Neuron *> _theNeurons;