summaryrefslogtreecommitdiff
path: root/Common/fonctions.h
blob: 33fee0b9fd6be2be1c1bf2348c0a9f5c1215df71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef FONCTIONS_H
#define FONCTIONS_H
#include "../Neurone/FonctionActivation.h"
#include<vector>
#include<unistd.h>
#include<string>

void printVec (std::vector<double> vec);
void printVec (std::vector<int> vec);
void printVec (std::vector<std::vector<double> > vec);
std::vector< std::vector <double> > getInput(char const * fileName);
std::vector <double> extractResult(std::vector< std::vector <double> > * input);
void swapVec (std::vector<std::vector<double> > * vec,std::vector <double> * result);
unsigned int int_to_int(unsigned k);
std::vector<std::vector<double > > generateInput (int n, bool estet);
void printVec (std::vector<std::vector<std::vector<double> > > vec);
void swapVec (std::vector<std::vector<double> > * input);
std::vector < std::vector <std::vector <double> > > getInputUltime(char const * fileName,float pourcentage);
unsigned int findIndMax(std::vector<double> vec);
void displayArchi(std::vector<int> info);
void startLauncher(std::string file, bool arch,int ep,double eta,unsigned int gradiant,FonctionActivation::EnumFonctionActivation fct, float auto_off);
#endif