17 std::vector<Edge*> inputs;
18 std::vector<Edge*> outputs;
22 std::function<double(double)> activationFunc;
45 Neuron(std::function<
double(
double)> activationFunc,
46 std::vector<Edge*> inputs,
47 std::vector<Edge*> outputs);
54 Neuron(std::function<
double(
double)> activationFunc);
61 void setInputs(std::vector<Edge*> inputs);
void calcDelta()
Definition: Neuron.cpp:36
Neuron(std::function< double(double)> activationFunc, std::vector< Edge * > inputs, std::vector< Edge * > outputs)
Definition: Neuron.cpp:3
double delta
Definition: Neuron.h:28
double sigmoidDelta()
Definition: Neuron.cpp:11
void calcOutput()
Definition: Neuron.cpp:25
void setInputs(std::vector< Edge * > inputs)
Definition: Neuron.cpp:17
double getDelta()
Definition: Neuron.cpp:51
double getOutput()
Definition: Neuron.cpp:47
void setOutputs(std::vector< Edge * > outputs)
Definition: Neuron.cpp:21