|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectExamplesJaCoP.Example
ExamplesJaCoP.QCP
public class QCP
It solves QuasiGroup Completion Problem (QCP).
| Field Summary | |
|---|---|
java.lang.String |
filename
It specifies the file containing the description of the problem. |
int |
n
It contains the order of the QCP being solved. |
java.util.ArrayList<Constraint> |
shavingConstraints
It contains constraints which can be used to guide shaving. |
| Fields inherited from class ExamplesJaCoP.Example |
|---|
cost, search, store, vars |
| Constructor Summary | |
|---|---|
QCP()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
It executes the program which solves the QCP in multiple different ways. |
void |
model()
It specifies a standard way of modeling the problem. |
boolean |
searchAllTransform()
It transforms part of the problem into an extensional costraint to improve propagation and search process. |
boolean |
searchWithShaving()
It performs search with shaving guided by constraints. |
static void |
test(java.lang.String[] args)
It executes the program which solves the QCP in multiple different ways. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String filename
public java.util.ArrayList<Constraint> shavingConstraints
public int n
| Constructor Detail |
|---|
public QCP()
| Method Detail |
|---|
public void model()
Example
model in class Examplepublic boolean searchWithShaving()
public boolean searchAllTransform()
public static void test(java.lang.String[] args)
args - the first argument is the name of the file containing the problem.public static void main(java.lang.String[] args)
args - the first argument is the name of the file containing the problem.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||