First of all thanks for the great library. I tried to make one myself when I first encountered a need in fuzzy logic but then I found your project and it saved me hours if not days of work.
My current question is pretty simple: How can I create an FCL from scratch programmatically?
It seems there's a dependency circle in main classes constructors. While FunctionBlock requires a FIS instance (FunctionBlock(FIS fis)), the FIS requires a stringified functionblock (FIS.createFromString(String fclDefinition, boolean verbose)).
Any suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
First of all thanks for the great library. I tried to make one myself when I first encountered a need in fuzzy logic but then I found your project and it saved me hours if not days of work.
My current question is pretty simple: How can I create an FCL from scratch programmatically?
It seems there's a dependency circle in main classes constructors. While FunctionBlock requires a FIS instance (FunctionBlock(FIS fis)), the FIS requires a stringified functionblock (FIS.createFromString(String fclDefinition, boolean verbose)).
Any suggestions?
Never mind, I solved my problem using a template fcl file...