#ifndef LAYER_H
#define LAYER_H
#include <Neuron.h>
#include <QList>
#define INPUT   0
#define OUTPUT  1
#define HIDDEN  4

class Layer
{
public:
    Layer();
    Layer(int type, float x);
    ~Layer();
    void addNeuron(QGraphicsView *v);
    QList<Neuron*> getNeuron(){return this->neurons;}
    void draw(QGraphicsScene *scene);
    int getType(){return this->type;}
    Neuron getBias();
    float getX() {return this->xPos;}
    void testMode();

private:
    QList<Neuron*> neurons;
    int type;
    float xPos;
    Neuron iBias, hBias;

protected:

};

#endif // LAYER_H
