public class Ladder extends EncodingStrategyAdapter
| Constructor and Description |
|---|
Ladder() |
| Modifier and Type | Method and Description |
|---|---|
IConstr |
addAtMostOne(ISolver solver,
IVecInt literals) |
IConstr |
addExactlyOne(ISolver solver,
IVecInt literals) |
addAtLeast, addAtLeastOne, addAtMost, addExactly, toStringpublic IConstr addAtMostOne(ISolver solver, IVecInt literals) throws ContradictionException
addAtMostOne in class EncodingStrategyAdapterContradictionExceptionpublic IConstr addExactlyOne(ISolver solver, IVecInt literals) throws ContradictionException
addExactlyOne in class EncodingStrategyAdapterContradictionException