forked from PyroIgnus/MDA-Tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReservoir.h
40 lines (30 loc) · 808 Bytes
/
Reservoir.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef RESERVOIR_H
#define RESERVOIR_H
#include "Neuron.h"
#include "utils.h"
#include "global.h"
#include <vector>
class Neuron;
class Reservoir
{
public:
/** Default constructor */
Reservoir();
/** Default constructor */
Reservoir(int resDimension);
Reservoir(int x, int y, int z);
Neuron* getNeuron (int x, int y, int z);
int getResDim (int dim);
/** Default destructor */
virtual ~Reservoir();
protected:
private:
int resSize[3];
int maxInputs;
int maxAxonLength;
int maxSynapses;
// Neuron* neurons[MAX_RES_SIZE][MAX_RES_SIZE][MAX_RES_SIZE];
std::vector<std::vector<std::vector<Neuron*> > > neurons;
float neuronSynapseDensity;
};
#endif // RESERVOIR_H