|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectExamplesJaCoP.Example
ExamplesJaCoP.Langford
public class Langford
It solves Langford problem.
| Field Summary |
|---|
| Fields inherited from class ExamplesJaCoP.Example |
|---|
cost, search, store, vars |
| Constructor Summary | |
|---|---|
Langford()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
It executes the program to solve the Langford problem. |
void |
model()
It specifies a standard way of modeling the problem. |
void |
modelBound()
It uses BoundDomain for all variables. |
void |
modelDual()
It uses the dual model. |
static void |
test(java.lang.String[] args)
It executes the program to solve the Langford problem. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Langford()
| Method Detail |
|---|
public void model()
Example
model in class Examplepublic void modelBound()
public void modelDual()
public static void test(java.lang.String[] args)
args - the first parameter denotes n, the second parameter denotes m.public static void main(java.lang.String[] args)
args - the first parameter denotes n, the second parameter denotes m.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||