The idea is to have a class describing a fuzzy controller, I have made the class so that each fuzzy object holds three members (lef, center and right) each member has three limits (low, mid, high).
The members are structures (limitStr), whitin this structure are the limits of the member. To set these limits you call the function | setMember( float ... ) | with the five limits for the three members of every object. To read a limit I created an enumeration (limitEnum), and every object has a public instance of this enum, so you set it to target the value to read and then call the function | read( limitEnum element ) | of the object.
So far theres no way to control the IF THEN statements of the fuzzy...
Please login to post comments.