|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sat4j.minisat.uip.DecisionUIP
public class DecisionUIP
Decision UIP scheme for building an asserting clause. This is one of the simplest way to build an asserting clause: the generator stops when it meets a decision variable (a literal with no reason). Note that this scheme cannot be used for general constraints, since decision variables are not necessarily UIP in the pseudo boolean case.
| Constructor Summary | |
|---|---|
DecisionUIP()
|
|
| 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 DecisionUIP()
| Method Detail |
|---|
public void initAnalyze()
AssertingClauseGenerator
initAnalyze in interface AssertingClauseGeneratorpublic void onCurrentDecisionLevelLiteral(int p)
AssertingClauseGenerator
onCurrentDecisionLevelLiteral in interface AssertingClauseGeneratorp - the literal in the current decision levelpublic boolean clauseNonAssertive(IConstr reason)
AssertingClauseGenerator
clauseNonAssertive in interface AssertingClauseGeneratorreason - 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 | |||||||||