public abstract class EncodingStrategyAdapter extends Object implements Serializable
Constructor and Description |
---|
EncodingStrategyAdapter() |
Modifier and Type | Method and Description |
---|---|
IConstr |
addAtLeast(ISolver solver,
IVecInt literals,
int degree) |
IConstr |
addAtLeastOne(ISolver solver,
IVecInt literals) |
IConstr |
addAtMost(ISolver solver,
IVecInt literals,
int degree) |
IConstr |
addAtMostOne(ISolver solver,
IVecInt literals) |
IConstr |
addExactly(ISolver solver,
IVecInt literals,
int degree) |
IConstr |
addExactlyOne(ISolver solver,
IVecInt literals) |
String |
toString() |
public IConstr addAtLeast(ISolver solver, IVecInt literals, int degree) throws ContradictionException
ContradictionException
public IConstr addAtLeastOne(ISolver solver, IVecInt literals) throws ContradictionException
ContradictionException
public IConstr addAtMost(ISolver solver, IVecInt literals, int degree) throws ContradictionException
ContradictionException
public IConstr addAtMostOne(ISolver solver, IVecInt literals) throws ContradictionException
ContradictionException
public IConstr addExactly(ISolver solver, IVecInt literals, int degree) throws ContradictionException
ContradictionException
public IConstr addExactlyOne(ISolver solver, IVecInt literals) throws ContradictionException
ContradictionException
Copyright © 2013 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.