forked from alvesoaj/eFLL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFuzzySet.h
executable file
·38 lines (36 loc) · 948 Bytes
/
FuzzySet.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
/*
* Robotic Research Group (RRG)
* State University of Piaui (UESPI), Brazil - Piauí - Teresina
*
* FuzzySet.h
*
* Author: Msc. Marvin Lemos <marvinlemos@gmail.com>
* AJ Alves <aj.alves@zerokol.com>
* Co authors: Douglas S. Kridi <douglaskridi@gmail.com>
* Kannya Leal <kannyal@hotmail.com>
*/
#ifndef FUZZYSET_H
#define FUZZYSET_H
class FuzzySet {
public:
// CONSTRUTORES
FuzzySet();
FuzzySet(float a, float b, float c, float d);
// MÉTODOS PÚBLICOS
float getPointA();
float getPointB();
float getPointC();
float getPointD();
bool calculatePertinence(float crispValue);
void setPertinence(float pertinence);
float getPertinence();
void reset();
private:
// VARIÁVEIS
float a;
float b;
float c;
float d;
float pertinence;
};
#endif