forked from alvesoaj/eFLL
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFuzzyRule.h
More file actions
executable file
·35 lines (32 loc) · 915 Bytes
/
FuzzyRule.h
File metadata and controls
executable file
·35 lines (32 loc) · 915 Bytes
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
/*
* Robotic Research Group (RRG)
* State University of Piaui (UESPI), Brazil - Piauí - Teresina
*
* FuzzyRule.h
*
* Author: Msc. Marvin Lemos <marvinlemos@gmail.com>
* Co authors: AJ Alves <aj.alves@zerokol.com>
* Douglas S. Kridi <douglaskridi@gmail.com>
* Kannya Leal <kannyal@hotmail.com>
*/
#ifndef FUZZYRULE_H
#define FUZZYRULE_H
// IMPORTANDO AS BIBLIOTECAS NECESSÁRIAS
#include "FuzzyRuleAntecedent.h"
#include "FuzzyRuleConsequent.h"
class FuzzyRule {
public:
// CONSTRUTORES
FuzzyRule(int index, FuzzyRuleAntecedent* fuzzyRuleAntecedent, FuzzyRuleConsequent* fuzzyRuleConsequent);
// MÉTODOS PÚBLICOS
int getIndex();
bool evaluateExpression();
bool isFired();
private:
// VARIÁVEIS PRIVADAS
int index;
bool fired;
FuzzyRuleAntecedent* fuzzyRuleAntecedent;
FuzzyRuleConsequent* fuzzyRuleConsequent;
};
#endif