|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSubProblem
public class SubProblem
A subproblem is a formula and an (partial) assignment with the same number of variables. Useful to model a subproblem of a larger SAT problem consisting of the formula without an assignment. The (partial) assignment specifies a subtree of the total solution space for the larger problem.
| Constructor Summary | |
|---|---|
SubProblem()
|
|
SubProblem(Formula inputF,
Assignment pa)
Constructor for SubProblem |
|
SubProblem(SubProblem s)
Constructor for Subproblem |
|
| Method Summary | |
|---|---|
Assignment |
getAssignment()
Rerturns the current assignment |
Formula |
getFormula()
Rerturns the current formula |
void |
setFormula(Formula inputF)
Sets the formula |
void |
setPartialAssignment(Assignment pa)
Sets the partial assignment |
java.lang.String |
toString()
the values of the variables |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait,
wait |
| Constructor Detail |
|---|
public SubProblem()
public SubProblem(Formula inputF,
Assignment pa)
inputF - input file name containg
the
information for the formula;
formatted per the International
SAT competitions formatpa - the
parial assignmentpublic SubProblem(SubProblem s)
a - current SubProblem| Method Detail |
|---|
public void setFormula(Formula inputF)
inputF - input file name containg
the
information for the formula;
formatted per the International
SAT competitions formatpublic void setPartialAssignment(Assignment pa)
pa - the partial assignmentpublic Formula getFormula()
public Assignment getAssignment()
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 | ||||||||