Enum PseudoBooleanEncoding
- Namespace
- LogicalOptimizer
- Assembly
- LogicalOptimizer.Sat.dll
Which CNF encoding a pseudo-Boolean constraint (PseudoBooleanEncoder) is expanded with. Auto measures the applicable encodings and picks the smallest; see the note on Auto for the between-release policy. All values are semantically equivalent.
public enum PseudoBooleanEncoding
Fields
Auto = 0Measure the applicable encodings and pick the smallest (guaranteed ≤ the default).
BinaryMerge = 2Binary adder network (weights summed as binary numbers) compared against the bound.
DynamicProgramming = 1The decision-diagram / dynamic-programming expansion. The stable default.
GeneralizedTotalizer = 3Generalized totalizer (Joshi et al. 2015): a weighted unary-counter tree, capped at bound+1.