|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sat4j.minisat.constraints.cnf.Lits org.sat4j.minisat.constraints.cnf.Lits2
public class Lits2
Field Summary |
---|
Fields inherited from class org.sat4j.minisat.constraints.cnf.Lits |
---|
watches |
Fields inherited from interface org.sat4j.minisat.core.ILits |
---|
UNDEFINED |
Constructor Summary | |
---|---|
Lits2()
|
Method Summary | |
---|---|
void |
binaryClauses(int lit1,
int lit2)
Method to create a binary clause. |
int |
nBinaryClauses(int p)
To know the number of binary clauses in which the literal occurs. |
Methods inherited from class org.sat4j.minisat.constraints.cnf.Lits |
---|
belongsToPool, ensurePool, getFromPool, getLevel, getReason, init, isFalsified, isImplied, isSatisfied, isUnassigned, not, nVars, realnVars, reset, resetPool, satisfies, setLevel, setReason, toString, unassign, undos, valueToString, watch, watches |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.sat4j.minisat.core.ILits |
---|
belongsToPool, ensurePool, getFromPool, getLevel, getReason, init, isFalsified, isImplied, isSatisfied, isUnassigned, not, nVars, realnVars, reset, resetPool, satisfies, setLevel, setReason, unassign, undos, valueToString, watch, watches |
Constructor Detail |
---|
public Lits2()
Method Detail |
---|
public int nBinaryClauses(int p)
nBinaryClauses
in interface ILits2
p
-
public void binaryClauses(int lit1, int lit2)
ILits2
binaryClauses
in interface ILits2
lit1
- the first literal of the clauselit2
- the second literal of the clause
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |