forked from jacyara/GenESyS-Reborn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FitterMyImpl1.h
42 lines (36 loc) · 1.21 KB
/
FitterMyImpl1.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
31
32
33
34
35
36
37
38
39
40
41
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: FitterMyImpl1.h
* Author: cancian
*
* Created on 23 de Agosto de 2018, 15:36
*/
#ifndef FITTERMYIMPL1_H
#define FITTERMYIMPL1_H
#include "Fitter_if.h"
class FitterMyImpl1: public Fitter_if {
public:
FitterMyImpl1();
FitterMyImpl1(const FitterMyImpl1& orig);
~FitterMyImpl1();
public:
bool isNormalDistributed(double confidencelevel);
void fitUniform (double *sqrerror, double *min, double *max);
void fitTriangular (double *sqrerror, double *min, double *mo, double *max);
void fitNormal (double *sqrerror, double *avg, double *stddev);
void fitExpo (double *sqrerror, double *avg1);
void fitErlang (double *sqrerror, double *avg, int *m);
void fitBeta (double *sqrerror, double *alpha, double *beta, double *infLimit,double *supLimit);
void fitWeibull (double *sqrerror, double *alpha, double *scale);
void fitAll (double *sqrerror, std::string *name);
public:
void setDataFilename(std::string dataFilename);
std::string getDataFilename();
private:
std::string _dataFilename = "";
};
#endif /* FITTERMYIMPL1_H */