Graine
Génération procédurale de créatures et apprentissage par réseaux de neurones.
NeuronLayer.hpp
Go to the documentation of this file.
1 #ifndef NEURON_LAYER
2 #define NEURON_LAYER
3 
4 #include <iostream>
5 #include <string>
6 #include <vector>
7 #include "Neuron.hpp"
8 
9 class NeuronLayer{
10 
11  private:
12  int nbNeuron;
13  std::vector<Neuron> neurons;
14 
15  public:
16  NeuronLayer(int nbNeuron, int nbInputPerNeuron);
17  NeuronLayer(int nbNeuron, int nbInputPerNeuron, NeuronLayer& father, NeuronLayer& mother);
18  std::vector<double> stimule(std::vector<double> stim);
19 };
20 
21 #endif
std::vector< double > stimule(std::vector< double > stim)
Definition: NeuronLayer.cpp:31
Definition: NeuronLayer.hpp:9
NeuronLayer(int nbNeuron, int nbInputPerNeuron)
Constructor of NeuronLayer.
Definition: NeuronLayer.cpp:14