summaryrefslogtreecommitdiff
path: root/include/brain/sensor.h
blob: 06b96d0e7045169de6850856cfcd80c0f74fa3a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "brain/neural_node.h"

class Sensor: public NeuralNode
{
private:
    double _activation;
    
public:
    void setActivation(double activation) { _activation = activation; }
    virtual double activation() { return _activation; }
};