aresio / simpful

A friendly python library for fuzzy logic reasoning
Academic Free License v3.0
130 stars 33 forks source link

Examples for rule integrity #21

Open cupressus opened 1 year ago

cupressus commented 1 year ago

Please add a script to ./examples, which illustrates how to construct the rule strings properly when combining operators. Some examples, I would find helpful

For example, I noticed that this does not work: "IF (NOT (service IS low)) AND (food IS high) THEN (tip IS high)" while this does "IF (food IS high) AND (NOT (service IS low)) THEN (tip IS high)" Documentation would have helped. Thank you!