|
| static TestSuite | suite () |
|
| final int | maxNbrVars = 8 |
| | Maximum number of variables in the problem.
|
| final int | maxNbrEdges = 25 |
| | Maximum number of binary constraints in the problem.
|
| final int | maxNbrAgents = 8 |
| | Maximum number of agents.
|
| Graph | graph |
| | The constraint graph.
|
| Document | problem |
| | A randomly generated problem.
|
| final boolean | maximize |
| | Whether to maximize or minimize.
|
◆ TestCountSolutions()
| frodo2.algorithms.dpop.count.test.TestCountSolutions.TestCountSolutions |
( |
boolean | maximize | ) |
|
Constructor.
- Parameters
-
| maximize | Whether to maximize or minimize |
References maximize.
Referenced by suite().
◆ setUp()
| void frodo2.algorithms.dpop.count.test.TestCountSolutions.setUp |
( |
| ) |
throws Exception |
|
protected |
◆ suite()
| TestSuite frodo2.algorithms.dpop.count.test.TestCountSolutions.suite |
( |
| ) |
|
|
static |
◆ tearDown()
| void frodo2.algorithms.dpop.count.test.TestCountSolutions.tearDown |
( |
| ) |
throws Exception |
|
protected |
- See also
- junit.framework.TestCase#tearDown()
◆ testRandom()
| void frodo2.algorithms.dpop.count.test.TestCountSolutions.testRandom |
( |
| ) |
|
Test the counter on a random problem.
References frodo2.algorithms.dpop.count.SolutionCounter< V extends Addable< V >, U extends Addable< U > >.count(), frodo2.solutionSpaces.AddableInteger.equals(), frodo2.algorithms.XCSPparser< V extends Addable< V >, U extends Addable< U > >.getDomainSize(), frodo2.algorithms.XCSPparser< V extends Addable< V >, U extends Addable< U > >.getMinInfUtility(), frodo2.algorithms.XCSPparser< V extends Addable< V >, U extends Addable< U > >.getPlusInfUtility(), frodo2.algorithms.XCSPparser< V extends Addable< V >, U extends Addable< U > >.getSolutionSpaces(), frodo2.algorithms.XCSPparser< V extends Addable< V >, U extends Addable< U > >.getVariables(), frodo2.solutionSpaces.SolutionSpace< V extends Addable< V > >.Iterator< V >.hasNext(), frodo2.solutionSpaces.UtilitySolutionSpace< V extends Addable< V >, U extends Addable< U > >.iterator(), frodo2.solutionSpaces.UtilitySolutionSpace< V extends Addable< V >, U extends Addable< U > >.join(), frodo2.solutionSpaces.BasicUtilitySolutionSpace< V extends Addable< V >, U extends Serializable >.SparseIterator< V, U >.nextUtility(), problem, and frodo2.algorithms.AbstractDCOPsolver< V extends Addable< V >, U extends Addable< U >, S extends Solution< V, U >.solve().
◆ graph
| Graph frodo2.algorithms.dpop.count.test.TestCountSolutions.graph |
|
private |
The constraint graph.
Referenced by setUp().
◆ maximize
| final boolean frodo2.algorithms.dpop.count.test.TestCountSolutions.maximize |
|
private |
◆ maxNbrAgents
| final int frodo2.algorithms.dpop.count.test.TestCountSolutions.maxNbrAgents = 8 |
|
private |
Maximum number of agents.
Referenced by setUp().
◆ maxNbrEdges
| final int frodo2.algorithms.dpop.count.test.TestCountSolutions.maxNbrEdges = 25 |
|
private |
Maximum number of binary constraints in the problem.
Referenced by setUp().
◆ maxNbrVars
| final int frodo2.algorithms.dpop.count.test.TestCountSolutions.maxNbrVars = 8 |
|
private |
Maximum number of variables in the problem.
- Note
- Must be at least 2.
Referenced by setUp().
◆ problem
| Document frodo2.algorithms.dpop.count.test.TestCountSolutions.problem |
|
private |
The documentation for this class was generated from the following file: