wmpy.core.weightsΒΆ
Classes
Converts nested ORs and ANDs into flat lists of ORs and ANDs, and Implies into Or. |
|
Implements the Plaisted&Greenbaum CNF conversion algorithm. |
|
TODO |
|
This internal class implements the conversion of a weight function into a weight skeleton, as described in "Enhancing SMT-based Weighted Model Integration by structure awareness" (Spallitta et al., 2024). |
|
This class encodes a piecewise weight function. |
|
This internal class implements the weight evaluation given a truth assignment to its conditions. |