summaryrefslogtreecommitdiff
path: root/include/brain/neural_node.h
blob: 57523eb4050a3cca35ab55daa67d0812198a03f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

class NeuralNode
{
public:
    double activation() const { return _activation; }
    bool activationChanged() const { return _activationChanged; }
protected:
    double _activation;
    bool _activationChanged;
};