|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sat4j.minisat.uip.FirstUIP
public class FirstUIP
FirstUIP scheme introduced in Chaff. Here the generator stops when a syntactical criteria is met: only one literal in the current decision level appears in the generated clause. The computation is done by counting the literals appearing in the current decision level and decrementing that counter when a resolution step is done.
Constructor Summary | |
---|---|
FirstUIP()
|
Method Summary | |
---|---|
boolean |
clauseNonAssertive(IConstr reason)
method indicating if an asserting clause has been built. note that this method is called right after a resolution step is finished. |
void |
initAnalyze()
hook method called before the analysis. |
void |
onCurrentDecisionLevelLiteral(int p)
hook method called when a literal from the current decision lelvel is found. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FirstUIP()
Method Detail |
---|
public void initAnalyze()
AssertingClauseGenerator
initAnalyze
in interface AssertingClauseGenerator
public void onCurrentDecisionLevelLiteral(int p)
AssertingClauseGenerator
onCurrentDecisionLevelLiteral
in interface AssertingClauseGenerator
p
- the literal in the current decision levelpublic boolean clauseNonAssertive(IConstr reason)
AssertingClauseGenerator
clauseNonAssertive
in interface AssertingClauseGenerator
reason
- the reason of the current literal assignment
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |