v2.0.0-beta.3
Pre-release
Pre-release
·
727 commits
to main
since this release
New Features
adiar_set_domain(...)
Overloaded to allow creating the domain 0, 1, ..., n-1 when given the number of variables n.
Optimisations
access_mode
enum
If set to AUTO or to RA thenbdd_apply
,zdd_binop
, and their derivatives will use random access on one of the inputs (if possible). This circumvents using an entire priority queue, thereby improving performance on average by 7%. This is especially beneficial when applying an operator to a very large decision diagram together with a narrow one.
Breaking Changes
- The semantics of the
zdd_ithvar
function has been changed to be more akin to the BDD semantics. That is,zdd_ithvar(i)
is the set of all bitvectors where i is true. Symmetrically, thezdd_nithvar(i)
function has been added. The original semantics ofzdd_ithvar
is still provided with thezdd_singleton
function.
Contributors
- Casper Moldrup Rysgaard ( @Crowton )
- Steffan Sølvsten ( @SSoelvsten )