Move bool_op into prod2's template arguments #162
Labels
❕ deprecation
Some day, something will be superseeded
📁 internal
This is where the ✨magic✨happens
✨ optimisation
It's all about speed / space
🎓 student programmer
Work, work...
Milestone
We may be able to get a slight but significant performance increase by having the boolean operators op given to Apply and Quantification to be compile-time known, since this might simplify some computations or even remove some if-statements. This might get us even closer in performance to other implementations.
bool_op
functions in adiar/bool_op.h to be apredicate<bool,bool>
, i.e. one that only sees the value of theptr_uint64
.binary_op
class that holds a reference to afunction<Terminal(Terminal, Terminal)>
. For now, only implement the specialization forTerminal = bool
.binary_op
constructor.binary_op<...>
bdd_and
,bdd_or
,zdd_intsec
, ... (and add new unit tests to cover these specializations)This would essentially be a stateful policy pattern similar to the ones added in #128 .
The text was updated successfully, but these errors were encountered: