additive-guis icon indicating copy to clipboard operation
additive-guis copied to clipboard

Fuzzy logic allowing overcoming rule overlaps/clashes/ambiguities/...

Open dumblob opened this issue 3 years ago • 2 comments

I know this is just a prototype demo, but I still think it should be closer to what people mean when they say leftOf rightOf etc. People do not think in terms of the whole system (i.e. they don't derive all the consequences of their previous rules) and thus there are ambiguities, imprecise intents (often also deliberately!), overlaps, clashes etc.

How about adding some fuzzy "weighting" to rules and use some simple fuzzy logic algo to get the final "sharp" value? Default for leftOf would be actually rather leftOf but one could also say fully leftOf or slightly leftOf.

In other words, all the rules would be by default rather to give the solver algorithm more space to solve the rules while at the same offering the user with a simple way of providing a "weight" (importance, emphasis) of the given rule.

Thoughts?

dumblob avatar Jun 17 '21 12:06 dumblob

Yes I would like to implement this.

I have been reading the ORCSolcer algorithm and it handles layouts of inequalities in a different more proper way. My inequality handling is trivially simple.

I want to use a proper solver.

https://github.com/YueJiang-nj/ORCSolver-CHI2020

samsquire avatar Jul 02 '22 08:07 samsquire

Yes, I have seen that paper some time ago. It is interesting but actually still quite slow. But that is not a reason to not use it (besides it seems to be state of the art in that category).

Still the ORC solver is not "fuzzy" from what I remember. But maybe it is possible to add fuziness on top of it. IDK. It definitely needs experimentation :wink:.

dumblob avatar Jul 02 '22 13:07 dumblob