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, toString
public IConstr addAtMostOne(ISolver solver, IVecInt literals) throws ContradictionException
addAtMostOne
in class EncodingStrategyAdapter
ContradictionException
public IConstr addExactlyOne(ISolver solver, IVecInt literals) throws ContradictionException
addExactlyOne
in class EncodingStrategyAdapter
ContradictionException
Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.