-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.Call for participation: Medium difficulty level problem and requires some initial experience.
Description
E.g. !a && (b || c) || a && (d || e) || !a && f
produces
!(!a && !b && !c && !f || a && !d && !e)
(a || b || c || f) && (!a || d || e)
But a human would rather have
a && (d || e) || !a && (b || c || f)
which is three operators deep, and our algorithm always produces expressions two operators deep.
There must be some scientific papers, theses or blog posts about different models of "simple" boolean expressions. Lets find some and implement them.
eddyp
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesCategory: Enhancement of lints, like adding more cases or adding help messagesE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.Call for participation: Medium difficulty level problem and requires some initial experience.