-
Notifications
You must be signed in to change notification settings - Fork 90
/
FuzzySet.h
executable file
·40 lines (38 loc) · 912 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
39
40
/*
* Robotic Research Group (RRG)
* State University of Piauí (UESPI), Brazil - Piauí - Teresina
*
* FuzzySet.h
*
* Author: AJ Alves <aj.alves@zerokol.com>
* Co authors: Dr. Ricardo Lira <ricardor_usp@yahoo.com.br>
* Msc. Marvin Lemos <marvinlemos@gmail.com>
* Douglas S. Kridi <douglaskridi@gmail.com>
* Kannya Leal <kannyal@hotmail.com>
*/
#ifndef FUZZYSET_H
#define FUZZYSET_H
class FuzzySet
{
public:
// CONTRUCTORS
FuzzySet();
FuzzySet(float a, float b, float c, float d);
// PUBLIC METHODS
float getPointA();
float getPointB();
float getPointC();
float getPointD();
bool calculatePertinence(float crispValue);
void setPertinence(float pertinence);
float getPertinence();
void reset();
private:
// PRIVATE VARIABLES
float a;
float b;
float c;
float d;
float pertinence;
};
#endif