sFLC3 Sample code
|
Home
NEW:
US Markets Daily |
sFLC3 Sample codeBesides the sample dialog application, we here also offer 2 sample console programs using the sFLC3 library. Sample1:This console program does the following tasks: 1) it creates a new "empty" FL Controller, 2) it generates 3 fuzzy sets and loads a default fuzzy model for each fuzzy set, 3) it generates a variable set (2 inputs and one output), 4) it associates one fuzzy set to each variable 5) it creates a rule set, then builds it automatically from a given model The FL Controller is then ready to run: variables are set and the fuzzy output is calculated. This sample application also optionally produces the full response map for the FL controller (click here for a sample picture). I don't think one can design a simpler FLC... Click here to read open source code (text file) in new tab, or here to download C++ source code, as well the Win32 executable. Sample2:This is a similar example, with 2 FLCs this time, interconnected to one another. The idea is to allow the developer to generate more complex FL systems. In the shareware/demo mode, the FLC library can only 2 FLCs though. Click here to read open source code (text file) in new tab, or here to download C++ source code.
To get the FLC DLL:NB: The shareware version are limited to 3 controllers only. For more complex systems: please contact us for pricing |
Page last modified:
May 08, 2008 |