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

Overload API with Simple Generator Alternatives #566

Open
1 of 5 tasks
SSoelvsten opened this issue Nov 4, 2023 · 0 comments
Open
1 of 5 tasks

Overload API with Simple Generator Alternatives #566

SSoelvsten opened this issue Nov 4, 2023 · 0 comments
Labels
✨ feature New operation or other feature 🎓 student programmer Work, work... 📁 zdd Zero-suppressed Decision Diagrams

Comments

@SSoelvsten
Copy link
Owner

SSoelvsten commented Nov 4, 2023

As a follow-up on #532 (similar to the aliases in #452), we should provide the following overloads

  • bdd_restrict(bdd f, bdd::label_type x, bool v) ( done for Add bdd_then/bdd_else #557 )
  • bdd_restrict(bdd f, int x)
  • zdd_change(const zdd&, zdd::label_type var)
    • Additionally, add the ^ and ^= operator overloads where the second argument is a zdd::label_type.
  • zdd_expand(const zdd&, zdd::label_type var)

And of course, this should be unit tested.

@SSoelvsten SSoelvsten added the 📁 zdd Zero-suppressed Decision Diagrams label Nov 4, 2023
@SSoelvsten SSoelvsten added this to the v2.0 : API Revamp milestone Nov 4, 2023
@SSoelvsten SSoelvsten added the ✨ feature New operation or other feature label Nov 4, 2023
@SSoelvsten SSoelvsten changed the title Overload API with simple Label Generator alternatives Overload API with Simple Generator Alternatives Nov 17, 2023
@SSoelvsten SSoelvsten added the 🎓 student programmer Work, work... label Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature New operation or other feature 🎓 student programmer Work, work... 📁 zdd Zero-suppressed Decision Diagrams
Projects
None yet
Development

No branches or pull requests

1 participant