-
Notifications
You must be signed in to change notification settings - Fork 93
/
FuzzyOutput.h
executable file
·42 lines (38 loc) · 1.1 KB
/
FuzzyOutput.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
42
/*
* Robotic Research Group (RRG)
* State University of Piauí (UESPI), Brazil - Piauí - Teresina
*
* FuzzyOutput.h
*
* Author: AJ Alves <[email protected]>
* Co authors: Dr. Ricardo Lira <[email protected]>
* Msc. Marvin Lemos <[email protected]>
* Douglas S. Kridi <[email protected]>
* Kannya Leal <[email protected]>
*/
#ifndef FUZZYOUTPUT_H
#define FUZZYOUTPUT_H
// IMPORTING NECESSARY LIBRARIES
#include "FuzzyIO.h"
#include "FuzzyComposition.h"
class FuzzyOutput : public FuzzyIO
{
public:
// CONTRUCTORS
FuzzyOutput();
FuzzyOutput(int index);
// DESTRUCTOR
~FuzzyOutput();
// PUBLIC METHODS
bool truncate();
float getCrispOutput();
bool order();
FuzzyComposition *getFuzzyComposition();
private:
// PRIVATE VARIABLES
FuzzyComposition *fuzzyComposition;
// PRIVATE METHODS
bool swap(fuzzySetArray *fuzzySetA, fuzzySetArray *fuzzySetB);
bool rebuild(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, float *point, float *pertinence);
};
#endif