Page 1 of 1
fclLib - Fuzzy Control Language Library
Posted: Tue Apr 11, 2023 5:35 pm
by loo
Hi,
I released my Fuzzy Control Language Library (fclLib) here:
https://sourceforge.net/projects/fcllib/files/
English and German README included there ...
Credits to
- CSHW89 for his PB Lexer/Parser Generator in the German forum
- Env for his logging module in the English forum
Enjoy
Otto
Re: fclLib - Fuzzy Control Language Library
Posted: Tue Apr 11, 2023 7:44 pm
by Caronte3D
I have no idea what is it

Can you explain a little?
Re: fclLib - Fuzzy Control Language Library
Posted: Tue Apr 11, 2023 8:21 pm
by loo
It's about fuzzy logic ... the standard IEEC1131 describes a file format (.FCL) which defines a fuzzy control system which you can feed with input parameters and get the according outputs. The library lets you load and parse such a FCl file and creates a fuzzy logic instance of it which you can use to feed with inputs and get the according outputs ... examples included in the download file ...
Re: fclLib - Fuzzy Control Language Library
Posted: Tue Apr 11, 2023 10:12 pm
by Caronte3D
Like an expet system (AI)?
OK, I will take a look, thanks

Re: fclLib - Fuzzy Control Language Library
Posted: Tue Apr 11, 2023 10:26 pm
by BarryG
Was this written in PureBasic? I couldn't find any source files (just the exe).
Re: fclLib - Fuzzy Control Language Library
Posted: Wed Apr 12, 2023 8:38 am
by loo
Caronte3D wrote: Tue Apr 11, 2023 10:12 pm
Like an expet system (AI)?
OK, I will take a look, thanks
Have a look in the reference document for me here:
https://jfuzzylogic.sourceforge.net/doc ... _7_cd1.pdf
see specifically Annex A for an intro on the topic
Re: fclLib - Fuzzy Control Language Library
Posted: Wed Apr 12, 2023 8:40 am
by loo
BarryG wrote: Tue Apr 11, 2023 10:26 pm
Was this written in PureBasic? I couldn't find any source files (just the exe).
Yes, it's written in PB and released as DLLs. Right now just binaries are released.
But stupid me, it's written in PB and I didn't include an example for PB (just C) ... will update that ...
Re: fclLib - Fuzzy Control Language Library
Posted: Thu Apr 13, 2023 7:41 pm
by loo
Package updated:
- included a PB example and interface pbi file
- included LIB files for C linking
- updated readme.txt (some clarifications and explained the examples more)
- DLLs unchanged
Re: fclLib - Fuzzy Control Language Library
Posted: Sat Apr 15, 2023 11:23 am
by loo
Caronte3D wrote: Tue Apr 11, 2023 10:12 pm
Like an expet system (AI)?
OK, I will take a look, thanks
Not like AI ... it's for controlling things in a more dynamic way ...
typical examples are
- vehicle control, e.g. keep a vehicle on top of an hill
- watering system with dynamic water control
- inverse pendulum
- in games, e.g. behavior of NPCs
- ...
For example I work right now on a model for effort estimation ...
So you see, the use cases are quite endless ...
Re: fclLib - Fuzzy Control Language Library
Posted: Sat Jun 03, 2023 3:36 pm
by Psychophanta
Thanks for this one, it might be promising

Re: fclLib - Fuzzy Control Language Library
Posted: Sat Jun 03, 2023 3:52 pm
by loo
Psychophanta wrote: Sat Jun 03, 2023 3:36 pm
Thanks for this one, it might be promising
You're welcome ... any actual use cases where you would apply it ?
Re: fclLib - Fuzzy Control Language Library
Posted: Fri Jun 23, 2023 11:39 pm
by idle
could you include a build for PI 3 and PI 4?
Re: fclLib - Fuzzy Control Language Library
Posted: Sat Jun 24, 2023 1:36 pm
by loo
Sorry, no. I can build for Windows and Ubuntu.
idle wrote: Fri Jun 23, 2023 11:39 pm
could you include a build for PI 3 and PI 4?