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

Improve Smoothing Efficiency #3

Open
haz opened this issue Apr 4, 2020 · 0 comments
Open

Improve Smoothing Efficiency #3

haz opened this issue Apr 4, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@haz
Copy link
Contributor

haz commented Apr 4, 2020

The following things should be done to improve the smoothing efficiency:

  • Create the or(var, -var) nodes only once at the start of smoothing for lookup.
  • Only create a new and(...) node during smoothing if the corresponding child is a literal and not already an and node.

Note that the second one indicates that the resulting d-DNNF will remain an And-Or graph. The attached file seems to cause a memory blow up because of new node creation, but an infinite loop is not (seemingly) present.

@haz haz added the enhancement New feature or request label Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant