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

#include "neural_node.h"

class NeuralLink
{
public:
    NeuralLink(NeuralNode* input, double weight);
    double weightedActivation() const;
    
private:
    NeuralNode* _input;
    double _weight;
};