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

Built distribution (wheel)

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

Total release size: 22.0 kB

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

Download URL flamapy_sdd-2.9.0.dev2.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f7781994d9a5339fa27e9c41c145efd2f31efc53b53693b394947f6a85f44c14
BLAKE2b-256 checksum
How to use checksums
9d6244e45a816709117f98aebc4ff14d9c7648660a9673b71a69cc58f0071cc8
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.dev2-py3-none-any.whl

Download URL flamapy_sdd-2.9.0.dev2-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
500dc27386d3fcb8e0f0a1efcaa598c66eaf4cfbb32f2b5ff8e28cec12537616
BLAKE2b-256 checksum
How to use checksums
c903306533db171e8f2595b80ef984282ddbf1eeb6f4e306ef8b13ea250695e6
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.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.

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