forked from alvesoaj/eFLL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FuzzyRule.h
executable file
·35 lines (32 loc) · 915 Bytes
/
FuzzyRule.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
/*
* Robotic Research Group (RRG)
* State University of Piaui (UESPI), Brazil - Piauí - Teresina
*
* FuzzyRule.h
*
* Author: Msc. Marvin Lemos <[email protected]>
* Co authors: AJ Alves <[email protected]>
* Douglas S. Kridi <[email protected]>
* Kannya Leal <[email protected]>
*/
#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