#ifndef NEURON_HPP #define NEURON_HPP 1 // This is the header file for the neuron class. // David R. Morrison #include #include #include #include "cell.hpp" #include "util.hpp" using namespace std; class Neuron { private: // Vector of weights going into the neuron vector weights; int inputVectorSize; public: // Construtor Neuron(int input_vector_size); // Run a sample through the neuron double evaluateSample(vector inputs); double getWeight(unsigned int i); void changeWeight(unsigned int i, double delta); ostream& print(ostream& out); }; ostream& operator<<(ostream& out, Neuron& n); #endif // NEURON_HPP