blob: 79395f860e7b8b3935860da079efa2f1d0de4a3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef __SINGLEMLP_HPP__
#define __SINGLEMLP_HPP__
#include "NeuralNet.hpp"
class SingleMLP : public NeuralNet
{
public:
SingleMLP(unsigned inputCount, unsigned hiddenNodeCount, unsigned outputCount, NodeClass nodeClass, bool zeroed = false);
void setChromosome(const Chromosome &chromosome);
Chromosome getChromosome() const;
unsigned getChromosomeSize() const;
virtual std::vector<float> io(const std::vector<float> &inputs);
protected:
NodeLayer m_hiddenLayer;
NodeLayer m_outputLayer;
};
#endif // __SINGLEMLP_HPP__
|