|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectExamplesJaCoP.Example
ExamplesJaCoP.BIBD
public class BIBD
It models and solves Balanced Incomplete Block Design (BIBD) problem (CSPLIB-P28).
| Field Summary | |
|---|---|
int |
b
It specifies number of columns in the incidence matrix. |
int |
k
It specifies number of ones in each column. |
int |
lambda
It specifies the value of the scalar product of any two distinct rows. |
int |
r
It specifies number of ones in each row. |
int |
v
It specifies number of rows in the incidence matrix. |
| Fields inherited from class ExamplesJaCoP.Example |
|---|
cost, search, store, vars |
| Constructor Summary | |
|---|---|
BIBD()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int v
public int b
public int r
public int k
public int lambda
| Constructor Detail |
|---|
public BIBD()
| Method Detail |
|---|
public void model()
Example
model in class Examplepublic 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 | ||||||||