Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created January 27, 2018 10:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NMZivkovic/646d3d03a1660be2416197d2c7a1cf98 to your computer and use it in GitHub Desktop.
Save NMZivkovic/646d3d03a1660be2416197d2c7a1cf98 to your computer and use it in GitHub Desktop.
public interface INeuron
{
Guid Id { get; }
double PreviousPartialDerivate { get; set; }
List<ISynapse> Inputs { get; set; }
List<ISynapse> Outputs { get; set; }
void AddInputNeuron(INeuron inputNeuron);
void AddOutputNeuron(INeuron inputNeuron);
double CalculateOutput();
void AddInputSynapse(double inputValue);
void PushValueOnInput(double inputValue);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment