Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

flamapy-bdd

BDD-based analysis for flamapy feature models, built on the dd library.

Documentation: https://docs.flamapy.org/framework/plugins/bdd_plugin

Installation

pip install flamapy-bdd

Which BDD engine you get depends on the platform. On Linux x86_64, dd installs from wheels that already include CUDD, which is much faster and enables dynamic variable reordering. On macOS, Windows and Pyodide, dd installs from source with its pure-Python engine; to use CUDD there, build dd against it:

pip install cython
DD_FETCH=1 DD_CUDD=1 pip install --force-reinstall --no-deps --no-build-isolation --no-binary dd "dd==0.6.0"

How the BDD is built

FmToBDD conjoins the clauses of the feature model one at a time over a static variable order inspired by Logic2BDD. With the CUDD engine it also reorders variables dynamically while building. Every option can be passed to FmToBDD(...) or set with an environment variable; explicit arguments take precedence.

Option Environment variable Values (default first)
builder FLAMAPY_BDD_BUILDER python; native and auto are experimental and need a native package that is not released yet
build FLAMAPY_BDD_BUILD incremental, monolithic (the whole formula at once)
var_order FLAMAPY_BDD_VAR_ORDER tree (feature-tree pre-order), force (FORCE heuristic), model
clause_order FLAMAPY_BDD_CLAUSE_ORDER minspan, minmax, model
reorder FLAMAPY_BDD_REORDER auto (on with CUDD, off otherwise), 1, 0

The options only change how the BDD is built, never the configurations it represents.

With dd's pure-Python engine, building and walking a BDD recurses once per variable, so the plugin raises Python's recursion limit (to about 1,000 + 4 per variable) when it builds or loads a BDD. The limit applies to the whole process and is not lowered afterwards, because the operations on the BDD need it too; keep it in mind when flamapy-bdd runs inside a server or in Pyodide. See flamapy/metamodels/bdd_metamodel/models/utils/ordering.py and benchmarks/.

Metadata

Release files for flamapy-bdd 2.9.0.dev2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flamapy-bdd 2.9.0.dev2
File Size Uploaded Provenance Actions
flamapy_bdd-2.9.0.dev2.tar.gz 61.9 kB Without provenance Details for flamapy_bdd-2.9.0.dev2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flamapy-bdd 2.9.0.dev2
File Interpreter ABI Platform Actions
flamapy_bdd-2.9.0.dev2-py3-none-any.whl Python 3 none any Details for flamapy_bdd-2.9.0.dev2-py3-none-any.whl

Total release size: 130.4 kB

Release files / flamapy_bdd-2.9.0.dev2.tar.gz

Download URL flamapy_bdd-2.9.0.dev2.tar.gz
Size 61.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e5392bfc100a66dbdfd4622724347d117bb55dabadfe07312c8ca2f64ea91ebf
BLAKE2b-256 checksum
How to use checksums
c1e4f6f2abd7f1248276cbbc87fd817d7054237641be7e19450d602f33d1549a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / flamapy_bdd-2.9.0.dev2-py3-none-any.whl

Download URL flamapy_bdd-2.9.0.dev2-py3-none-any.whl
Size 68.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50982b8e90b5f2c56acf36c439542d721d4f415e1dc4d378c9606383f241ba45
BLAKE2b-256 checksum
How to use checksums
a94d027243238df9aa7b1d6121b3f6082d89b66dfb024781ec80a7fbdc358286
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for flamapy-bdd 2.9.0.dev2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page