|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sat4j.pb.tools.ImplicationAnd<T,C>
T - C - public class ImplicationAnd<T,C>
That class is used to represent a conjunction of literals in the RHS of an implication.
| Constructor Summary | |
|---|---|
ImplicationAnd(DependencyHelper<T,C> helper,
IVecInt clause)
|
|
| Method Summary | |
|---|---|
ImplicationAnd<T,C> |
and(T thing)
Add a new positive literal to the conjunction of literals. |
ImplicationAnd<T,C> |
andNot(T thing)
Add a new negative literal to the conjunction of literals. |
void |
named(C name)
"name" the constraint for the explanation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImplicationAnd(DependencyHelper<T,C> helper,
IVecInt clause)
| Method Detail |
|---|
public ImplicationAnd<T,C> and(T thing)
throws ContradictionException
thing - a domain object
ContradictionException
public ImplicationAnd<T,C> andNot(T thing)
throws ContradictionException
thing - a domain object
ContradictionExceptionpublic void named(C name)
name - an object to link to the constraint.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||