Skip to main content
Pre-release

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

flamapy-sdd

flamapy-sdd is a flamapy plugin that compiles a feature model into a Sentential Decision Diagram (SDD) for exact analysis.

SDD is a knowledge-compilation language (a subset of d-DNNF, strictly more succinct than OBDD in cases), so it supports exact, polytime queries — model counting, consistency, conditioning — and can stay compact on models where a BDD blows up. It complements the ecosystem:

  • flamapy-bdd compiles to OBDD (exact, but can explode on large models).
  • flamapy-sharpsat gives an approximate count (ApproxMC) for very large models.
  • flamapy-sdd gives an exact count via a more succinct compilation, on top of the SAT CNF.

It uses PySDD.

Installation

pip install flamapy-sdd

Operations

Operation Class
Exact number of configurations SDDConfigurationsNumber
Satisfiable (non-void) SDDSatisfiable
Core features SDDCoreFeatures
Dead features SDDDeadFeatures

Usage

from flamapy.metamodels.fm_metamodel.transformations import UVLReader
from flamapy.metamodels.sdd_metamodel.transformations import FmToSDD
from flamapy.metamodels.sdd_metamodel.operations import SDDConfigurationsNumber

fm = UVLReader('model.uvl').transform()
sdd_model = FmToSDD(fm).transform()
count = SDDConfigurationsNumber().execute(sdd_model).get_result()

License

GPL-3.0-or-later.

Metadata

Release files for flamapy-sdd 2.9.0.dev1

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-sdd 2.9.0.dev1
File Size Uploaded Provenance Actions
flamapy_sdd-2.9.0.dev1.tar.gz 10.5 kB Without provenance Details for flamapy_sdd-2.9.0.dev1.tar.gz

Built distribution (wheel)

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

Total release size: 22.0 kB

Release files / flamapy_sdd-2.9.0.dev1.tar.gz

Download URL flamapy_sdd-2.9.0.dev1.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
98e2e1b0bf0a879021158e617866a02f75f1e5d93ef4243af5951e292bbd881b
BLAKE2b-256 checksum
How to use checksums
5ade0d2b9d35c19e348df3899f10b58d7298b624e183fce923b317d711553022
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / flamapy_sdd-2.9.0.dev1-py3-none-any.whl

Download URL flamapy_sdd-2.9.0.dev1-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a37a568d93999a9ee4b73d03de166fecc30a220639016753daf29cca0c107a24
BLAKE2b-256 checksum
How to use checksums
eadc6499038913acbc3677b61cb314f40f0a602f1175e8fd60f5299c2609e245
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for flamapy-sdd 2.9.0.dev1

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.

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