sFLC3 Sample code

Back Home Up Next

 

Home
Software
Prices
Download
Yahoo Charts


NEW:
ADVANCED
TRADESTATION TECHNIQUE

US Markets Daily
snapshots

Technical
Description


Forthcoming Releases:

Fuzzy Logic:
sFLC3
DLL & API


Neural Net:
Release of NXL3
DLL & API


 

sFLC3 Sample code

Besides 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:

Debug DLL (FLC3d.dll)

Release DLL (FLC.dll)

NB: The shareware version are limited to 3 controllers only. For more complex systems: please contact us for pricing

Home Up sFLC3 Sample Dialog Application sFLC3 API Calls - A Concise List Visualisation of sFLC3 Fuzzy Sta sFLC3 DLL return codes Best viewed with MS Internet Explorer 5 and above

Page last modified: May 08, 2008
Copyright © ForeTrade Technologies 21st century and thereafter