-
Notifications
You must be signed in to change notification settings - Fork 1
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
Extended features for rsdd-ocaml #7
base: main
Are you sure you want to change the base?
Conversation
src/lib.rs
Outdated
#[ocaml::func] | ||
#[ocaml::sig("rsdd_bdd_ptr -> rsdd_var_label list -> int64 -> rsdd_wmc_params_e_u -> rsdd_expected_utility * rsdd_partial_model")] | ||
#[ocaml::sig("rsdd_bdd_ptr -> rsdd_bdd_ptr -> rsdd_var_label list -> int64 -> rsdd_wmc_params_e_u -> rsdd_expected_utility * rsdd_partial_model")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm going to spin up a changelog for the package in general, but to call out - if you change the API for any existing functions, we should def mention in a PR and make this the proper semver bump!
src/rsdd.ml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might need to run dune fmt
to make the diff cleaner (i.e. dune build && dune fmt
); I will also add this to our internal dev docs.
@minsungc lmk if you need help w/ publishing a new version! |
I'll lyk once this PR is stable enough to merge! |
Includes several functionalities for easier debug:
mk_varlabel
,bdd_exactlyone
,bdd_var
,extract
. Should be merged when this RSDD PR is merged.