home Forums # Technical Support qtFuzzyLite and rules

This topic contains 1 reply, has 2 voices, and was last updated by  Juan Rada-Vilela 3 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
• Author
Posts
• #825

jcredberry
Participant

Hi Juan,

Before anything else, I would like to Thank for your efforts, they seem in the right direction.

I was trying to use qtFuzzyLite and couldn’t find where rules could be defined. I even loaded one of the examples, and while at first hand the rules were loaded, after pressing the “Process Rules” button, they disappeared. Then, the following message was presented for all the rules:

if Ambient is DARK then Power is ?
if Ambient is MEDIUM then Power is ?
if Ambient is BRIGHT then Power is ?
#---------------------------------------------
# Total rules: 3. Good Rules: 0. Bad Rules: 3.


Any idea on what is happening here? Thanks in advance.

Julio Rojas-Mora

#826

Keymaster

Hi Julio,

The problem is that you did not press the process rules button, but rather the generate all possible rules.

The rules are defined in text, so you can edit the text in the window where the rules are, that is, where you found:
if Ambient is DARK then Power is ?
if Ambient is MEDIUM then Power is ?