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.dev3

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

Built distribution (wheel)

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

Total release size: 22.0 kB

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

Download URL flamapy_sdd-2.9.0.dev3.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6b06fdc5924159e1e3596778d9562c9267bbe745a55d017789231048989c93f2
BLAKE2b-256 checksum
How to use checksums
1d8bc01de943514ae29c183fc279301970721f5cedcb70d92fd05d64be84e874
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.dev3-py3-none-any.whl

Download URL flamapy_sdd-2.9.0.dev3-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f4fad7a3c8116b93b496f05d07e7a4dbb52bf67c39cf0bd47778e6aac015008e
BLAKE2b-256 checksum
How to use checksums
9d0e6f804b04d1fb02a4f4cceb9252ed47ad4221e5ab78ebe761ad75e0f8c90f
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.dev3

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