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

Fail gracefully when Node Table is full #38

Open
SSoelvsten opened this issue Mar 31, 2023 · 0 comments
Open

Fail gracefully when Node Table is full #38

SSoelvsten opened this issue Mar 31, 2023 · 0 comments

Comments

@SSoelvsten
Copy link
Contributor

SSoelvsten commented Mar 31, 2023

The Adiar BDD package will inherently always struggle to deal with small decision diagrams in comparison to the classical depth-first implementations. Hence, combining a depth-first implementation with Adiar would create something that is the best of both worlds.

How I imagine this could be achieved is as follows:

  • If Sylvan runs out of memory: Run Adiar's algorithms on the BDDs from Sylvan (wrapping the node table into something that works with Adiar's algorithms)
  • If the output from Adiar is very small: During the Reduction Phase, create the nodes in Sylvan's unique node table instead in one of Adiar's files.

For this to work, I'd need Sylvan to not exit the entire program, if it runs out of memory. Instead, it needs to fail gracefully and merely returns a null pointer. Would that be a lot of work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant