Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more BDD packages #12

Open
7 of 14 tasks
SSoelvsten opened this issue Dec 5, 2020 · 5 comments
Open
7 of 14 tasks

Add more BDD packages #12

SSoelvsten opened this issue Dec 5, 2020 · 5 comments
Labels
🔌 adapter New or changes to existing BDD package help wanted Extra attention is needed

Comments

@SSoelvsten
Copy link
Owner

SSoelvsten commented Dec 5, 2020

The following is a non-exhaustive list of relevant BDD packages to be included. Please, add comments with others to be added to this list.

C / C++

  • Adiar (abd152e)
    An I/O-efficient implementation based on time-forward processing rather than depth-first recursion.
  • BuDDy (abd152e)
    A simple yet fast and high quality BDD package.
  • BiDDy
    A BDD package for academic usage that supports multiple variants of decision diagrams. From its README.md it looks quite simple to set up.
  • CUDD ( Add CUDD package to benchmarks #17 )
    A very efficient and the most used BDD package using depth-first recursion, a unique node table and a memoization table. It shows signs of being a long-living/old project, so getting it to run is not trivial, even when one tries to use the CMake enabled repositories here on GitHub.
  • CAL ( Add CAL to set of BDD packages #48 )
    A BDD package using breadth-first manipulation algorithms to make it able to deal with external memory, The algorithms still use a hash table for random-access to each layer. So, if a layer grows larger than the available memory (incl. the space needed for the FIFO queues) then it shows the same I/O issues as other packages.
  • HermesBDD
    A recent multi-core and multi-threaded implementation of BDDs with also a focus on usability, modularity, and code quality.
  • Meddly
    This was requested from peer reviewers.
  • MTBDD
    A BDD package with a fascinating design on its unique node table, mixing breadth-first and depth-first manipulation, and multi-core systems. It is missing some features though, such as satcount, restrict, and quantification. We can probably get around this by always returning -1 for satcount and rewriting all other operations into an ITE or Apply.
  • Sylvan (abd152e)
    A performant multi-threaded implementation of BDDs.

Rust

One can compile a Rust-to-C FFI which then can be reexposed in the adapter's interface.

  • LibBDD ( Integrate Biodivine/LibBDD #105 )
    A Rust implementation of BDDs, where each BDD owns its own memory. That is, it is a recursive BDD package without a unique node table. This provides quite an interesting "baseline".
  • OxiDD ( Add OxiDD #110 )
    A modern, abstracted, and multi-core implementation of decision diagrams. This already provides BDDs and ZDDs with competitive performance to CUDD and Sylvan.

Java

A C++ program can start a Java VM and call methods on its classes. This can be nicely hidden away in the adapter's interface.

  • JDD
    The Java-based BDD package that is often compared to as a baseline.
  • BeeDeeDee
    A thread-safe BDD package
  • PJBDD
    A multi-threaded BDD package
@SSoelvsten SSoelvsten added ⏰ benchmark New or changes to existing benchmark help wanted Extra attention is needed labels Dec 5, 2020
@SSoelvsten SSoelvsten pinned this issue Dec 17, 2020
@SSoelvsten SSoelvsten added 🔌 adapter New or changes to existing BDD package and removed ⏰ benchmark New or changes to existing benchmark labels Dec 13, 2022
@nhusung nhusung mentioned this issue Apr 3, 2024
4 tasks
@5nizza
Copy link

5nizza commented Oct 17, 2024

Hey, just curious: the main readme file says that CUDD support BDDs as (✓) -- in parenthesis -- and not simply ✓. What does it mean?

@5nizza
Copy link

5nizza commented Oct 17, 2024

another question: readme says that sylvan supports reordering -- the entry is the checkmark in parenthesis (✓) -- does it mean automatic reordering or manual reordering? As far as I know, sylvan does not currently have automatic reordering. Thanks.

@5nizza
Copy link

5nizza commented Oct 17, 2024

by the way, you can find a great list of BDD libraries here: https://github.com/johnyf/tool_lists/blob/main/bdd.md (he is the original author of that list)

@nhusung
Copy link
Contributor

nhusung commented Oct 17, 2024

Hey, just curious: the main readme file says that CUDD support BDDs as (✓) -- in parenthesis -- and not simply ✓. What does it mean?

It means that BDDs (i.e., without complement edges) are supported via MTBDDs (or ADDs, as CUDD calls them). This is not of practical relevance, but for meaningful performance comparisons it is important to take into account whether complement edges are used or not.

@nhusung
Copy link
Contributor

nhusung commented Oct 17, 2024

another question: readme says that sylvan supports reordering -- the entry is the checkmark in parenthesis (✓) -- does it mean automatic reordering or manual reordering? As far as I know, sylvan does not currently have automatic reordering. Thanks.

There is a master’s thesis on implementing reordering in Sylvan, see trolando/sylvan#43.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔌 adapter New or changes to existing BDD package help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants