blob: b33080b63b5eddb98b2b075d64617e244dfb3d20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include "brain/neural_node.h"
class Sensor: public NeuralNode
{
public:
Sensor(int id);
virtual ~Sensor() {}
void setActivation(double activation) { _activation = activation; }
virtual double activation() const { return _activation; }
private:
double _activation;
};
|