init commit

This commit is contained in:
2024-11-12 17:41:10 +01:00
parent 1e4f1f955b
commit 20bc9108d3
146 changed files with 24465 additions and 0 deletions

23
backprop/neurone.h Normal file
View File

@@ -0,0 +1,23 @@
#ifndef _NEURONE_H
#define _NEURONE_H
#include <iostream>
#include <stdlib.h>
#define ACTIVE 0.9
using namespace std;
class Neurone{
private:
double weight;
Neurone* nextNeurone;
public:
Neurone();
Neurone(const double w,const Neurone* next=NULL);
bool getState() const;
double getWeight() const;
void setWeight(const double a);
void setNextNeurone(const Neurone* next);
Neurone* getNextNeurone() const;
void operator =(double w);
Neurone& operator =(const Neurone& n);
};
#endif