fclLib - Fuzzy Control Language Library

Developed or developing a new product in PureBasic? Tell the world about it.
loo
User
User
Posts: 10
Joined: Mon Nov 18, 2019 4:28 pm

fclLib - Fuzzy Control Language Library

Post 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
Last edited by loo on Thu Apr 13, 2023 7:37 pm, edited 1 time in total.
User avatar
Caronte3D
Addict
Addict
Posts: 1014
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: fclLib - Fuzzy Control Language Library

Post by Caronte3D »

I have no idea what is it :?
Can you explain a little?
loo
User
User
Posts: 10
Joined: Mon Nov 18, 2019 4:28 pm

Re: fclLib - Fuzzy Control Language Library

Post 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 ...
User avatar
Caronte3D
Addict
Addict
Posts: 1014
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: fclLib - Fuzzy Control Language Library

Post by Caronte3D »

Like an expet system (AI)?
OK, I will take a look, thanks :wink:
BarryG
Addict
Addict
Posts: 3266
Joined: Thu Apr 18, 2019 8:17 am

Re: fclLib - Fuzzy Control Language Library

Post by BarryG »

Was this written in PureBasic? I couldn't find any source files (just the exe).
loo
User
User
Posts: 10
Joined: Mon Nov 18, 2019 4:28 pm

Re: fclLib - Fuzzy Control Language Library

Post by loo »

Caronte3D wrote: Tue Apr 11, 2023 10:12 pm Like an expet system (AI)?
OK, I will take a look, thanks :wink:
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
Last edited by loo on Wed Apr 12, 2023 9:00 am, edited 3 times in total.
loo
User
User
Posts: 10
Joined: Mon Nov 18, 2019 4:28 pm

Re: fclLib - Fuzzy Control Language Library

Post 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 ...
loo
User
User
Posts: 10
Joined: Mon Nov 18, 2019 4:28 pm

Re: fclLib - Fuzzy Control Language Library

Post 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
loo
User
User
Posts: 10
Joined: Mon Nov 18, 2019 4:28 pm

Re: fclLib - Fuzzy Control Language Library

Post by loo »

Caronte3D wrote: Tue Apr 11, 2023 10:12 pm Like an expet system (AI)?
OK, I will take a look, thanks :wink:
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 ...
User avatar
Psychophanta
Addict
Addict
Posts: 4958
Joined: Wed Jun 11, 2003 9:33 pm
Location: Lípetsk, Russian Federation
Contact:

Re: fclLib - Fuzzy Control Language Library

Post by Psychophanta »

Thanks for this one, it might be promising :o :idea:
http://www.zeitgeistmovie.com

While world=business:world+mafia:Wend
Will never leave this forum until the absolute bugfree PB :mrgreen:
loo
User
User
Posts: 10
Joined: Mon Nov 18, 2019 4:28 pm

Re: fclLib - Fuzzy Control Language Library

Post by loo »

Psychophanta wrote: Sat Jun 03, 2023 3:36 pm Thanks for this one, it might be promising :o :idea:
You're welcome ... any actual use cases where you would apply it ?
User avatar
idle
Always Here
Always Here
Posts: 5018
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: fclLib - Fuzzy Control Language Library

Post by idle »

could you include a build for PI 3 and PI 4?
loo
User
User
Posts: 10
Joined: Mon Nov 18, 2019 4:28 pm

Re: fclLib - Fuzzy Control Language Library

Post 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?
Post Reply