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

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

Built distribution (wheel)

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

Total release size: 22.0 kB

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

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

Download URL flamapy_sdd-2.9.0.dev0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71c4c8852f0ef9266a120a3924a15ab2da471e43b0322cc873c6928ed9952773
BLAKE2b-256 checksum
How to use checksums
7ea13ee2bd4c6f9b7ebe94ae554562b8dc9f1b41fe15f62670a10d3b46e7620b
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.dev0

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