Module satoxid::constraints [−][src]
Expand description
Collection of commonly used constraints.
Structs
And | Constraint which requires all literals to be true. |
AtLeastK | This constraint encodes the requirement that at least |
AtMostK | This constraint encodes the requirement that at most |
Equal | Constraint which requires all literals to be same value. |
ExactlyK | This constraint encodes the requirement that exactly |
Expr | Tseytin Encoding of propositional logic formulas. |
If | Implication constraint.
If |
LessCardinality | Constraint which encodes that fewer literals are true in |
Not | Constraint which inverts a constraint.
If a constraint |
Or | Constraint which represents a simple clause. |
SameCardinality | Constraint to ensure that several sets of literals have all the same number of true literals. |