|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
An overall unit test for the MB-DPOP algorithm. More...

Public Member Functions | |
| MB_DPOPagentTest (boolean maximize, boolean useTCP) | |
| Constructor. | |
| void | test () throws Exception |
| The test method. | |
Static Public Member Functions | |
| static TestSuite | suite () |
Protected Member Functions | |
| void | setUp () throws Exception |
| void | tearDown () throws Exception |
Private Attributes | |
| final int | maxNbrVars = 10 |
| Maximum number of variables in the problem. | |
| final int | maxNbrEdges = 45 |
| Maximum number of binary constraints in the problem. | |
| final int | maxNbrAgents = 10 |
| Maximum number of agents. | |
| Document | problem |
| The input random problem. | |
| final boolean | maximize |
| Whether to maximize or minimize. | |
| final boolean | useTCP |
| Whether to use TCP pipes. | |
An overall unit test for the MB-DPOP algorithm.
| frodo2.algorithms.dpop.memory.tests.MB_DPOPagentTest.MB_DPOPagentTest | ( | boolean | maximize, |
| boolean | useTCP ) |
|
protected |
References frodo2.algorithms.test.AllTests.createRandProblem(), maxNbrAgents, maxNbrEdges, and maxNbrVars.

|
static |
References MB_DPOPagentTest(), and suite().
Referenced by suite(), and frodo2.algorithms.test.AllTests.suite().

|
protected |
| void frodo2.algorithms.dpop.memory.tests.MB_DPOPagentTest.test | ( | ) | throws Exception |
The test method.
| Exception | if an error occurs |
References frodo2.algorithms.Solution< V, U >.getTreeWidth(), frodo2.algorithms.Solution< V, U >.getUtility(), frodo2.algorithms.XCSPparser< V extends Addable< V >, U extends Addable< U > >.parse(), problem, and frodo2.algorithms.AbstractDCOPsolver< V extends Addable< V >, U extends Addable< U >, S extends Solution< V, U >.solve().

|
private |
Whether to maximize or minimize.
Referenced by MB_DPOPagentTest().
|
private |
Maximum number of agents.
Referenced by setUp().
|
private |
Maximum number of binary constraints in the problem.
Referenced by setUp().
|
private |
Maximum number of variables in the problem.
Referenced by setUp().
|
private |
The input random problem.
Referenced by test().
|
private |
Whether to use TCP pipes.
Referenced by MB_DPOPagentTest().