José Claudio / Mbed 2 deprecated QuadCopter-Sensor-Serial

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers FuzzyIO.h Source File

FuzzyIO.h

00001 #ifndef FUZZYIO_H
00002 #define FUZZYIO_H
00003 
00004 #pragma once
00005 
00006 #include "MembershipFunction.h"
00007 
00008 class FuzzyIO
00009 {
00010     public:
00011         FuzzyIO(float rangeMin, float rangeMax);
00012         ~FuzzyIO(void);
00013 
00014         void addMF(MembershipFunction* mf);
00015         void addAutoMFs(int amount, mfType type);
00016         void addAutoMFs(int amount, mfType type, float rangeMin, float rangeMax);
00017 
00018         MembershipFunction* getMFs(int index);
00019         int getMFsLenght();
00020     
00021     private:
00022         //string inputName;
00023         
00024         float rangeMin;
00025         float rangeMax;
00026         
00027         MembershipFunction** mfs;
00028         int mfsLenght;
00029 };
00030 
00031 #endif