blob: 2c8feca1cda1bde33b82ed3bad0fce5aecccd514 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef __DUALMLP_HPP__
#define __DUALMLP_HPP__
#include "NeuralNet.hpp"
class DualMLP : public NeuralNet
{
public:
DualMLP(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_firstHiddenLayer;
NodeLayer m_secondHiddenLayer;
NodeLayer m_outputLayer;
};
#endif // __DUALMLP_HPP__
|