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

#include <memory>

#include "neural_node.h"

class NeuralLink
{
public:
    NeuralLink(std::shared_ptr<NeuralNode> input, double weight);
    double weightedActivation() const;
    
private:
    std::shared_ptr<NeuralNode> _input;
    double _weight;
};