Expose additional CUDD BDD methods to R #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
BDDmethods so callers can use more of the CUDD API from R.CuddBDDwrappers and add shared documentation.Description
src/cudd_manager.cpp(e.g.,c_cudd_bdd_restrict,c_cudd_bdd_and_abstract,c_cudd_bdd_exist_abstract,c_cudd_bdd_compose,c_cudd_bdd_permute,c_cudd_bdd_subset_compress,c_cudd_bdd_pick_one_cube, etc.) plus conversion helpers (bdd_to_xptr,zdd_to_xptr,bdd_vector_from_list,int_vector_from_sexp).src/rcudd.hand registered them insrc/register.cpp.R/cudd_bdd_methods.Rand acudd_bdd_restrict()wrapper inR/cudd_bdd.R, updatedNAMESPACE, and generated documentation inman/cudd_bdd_methods.Rdandman/cudd_bdd_restrict.Rd.inst/examples/bdd_reduce_example.Rdemonstratingcudd_bdd_restrict().Testing
roxygen2::roxygenise(load = 'source')to generate docs and it completed successfully.lintr::lint_package()and reported no lints.R CMD build .producingRcudd_0.0.0.9999.tar.gz.R CMD check --no-manual Rcudd_0.0.0.9999.tar.gzand the check completed withStatus: OK.Codex Task