-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlib.h~
31 lines (26 loc) · 1009 Bytes
/
lib.h~
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef lib_h
#define lib_h
#include <iostream>
#include <fstream>
#include <cmath>
#include <cstdlib>
#include <allegro.h>
#include <vector>
#include <algorithm>
#include <string>
using namespace std;
void generateData();
int getStreamSize(string fileName);
double getEntropy(vector<double> histogram);
vector<double> getData(string fileName);
vector<double> getHistogram(vector<double> lines);
vector< vector<int> > getPixels(vector<double> dataFromFile, double epsilon);
void drawRecursiveDiagram(vector<double> dataFromFile, double epsilon);
vector<double> getLines(vector< vector<int> > pixels);
vector<double> getLogisticMap(int mapSize, int mapStart, double x0, double r);
void logisticMap(double epsilon);
vector<double> getNeuronDeviation (int N, double g, double time, double timeStep );
void drawEntropy(int N, double time, double timeStep, double gStart, double gStop, double gStep, double epsilon);
void drawReturnsMap (double param, int T);
void drawXnXnp1 (double param, int T);
#endif