|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A JUnit test for the P3/2-DPOP agent. More...

Public Member Functions | |
| P3halves_DPOPagentTest (Class< V > domClass, Class<? extends CryptoScheme< AddableInteger, E, ?> > schemeClass, Class< E > classOfE, boolean mergeBack, boolean minNCCCs, boolean useTCP) | |
| Constructor. | |
| void | test () throws JDOMException, IOException |
| Public Member Functions inherited from frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E > | |
| P2_DPOPagentTest (Class< V > domClass, Class< ? extends CryptoScheme< AddableInteger, E, ?> > schemeClass, Class< E > classOfE, boolean mergeBack, boolean minNCCCs, boolean useTCP, boolean maximize, int sign) | |
| Constructor. | |
| void | test () throws JDOMException, IOException |
| Test whenever P-DPOP's and DPOP's answers to a random problem are equivalent. | |
Static Public Member Functions | |
| static TestSuite | suite () |
| Static Public Member Functions inherited from frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E > | |
| static TestSuite | suite () |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E > | |
| int | maxVar |
| The maximum number of variables in this problem. | |
| int | maxAgent |
| The maximum number of agents in this problem. | |
| int | maxEdge |
| The maximum number of constraints in this problem. | |
| Class< ? extends CryptoScheme< AddableInteger, E, ?> > | schemeClass |
| The class of the CryptoScheme. | |
| Class< V > | domClass |
| The class used for variable values. | |
| final boolean | mergeBack |
| Whether to enable the merging of back-edges. | |
| final boolean | minNCCCs |
| Whether to minimize the NCCC. | |
| final boolean | useTCP |
| Whether to use TCP pipes. | |
A JUnit test for the P3/2-DPOP agent.
| <V> | the type used for variable values |
| <E> | The class used for encrypted values |
| frodo2.algorithms.dpop.privacy.test.P3halves_DPOPagentTest< V extends Addable< V >, E extends AddableLimited< AddableInteger, E >.P3halves_DPOPagentTest | ( | Class< V > | domClass, |
| Class<? extends CryptoScheme< AddableInteger, E, ?> > | schemeClass, | ||
| Class< E > | classOfE, | ||
| boolean | mergeBack, | ||
| boolean | minNCCCs, | ||
| boolean | useTCP ) |
Constructor.
| domClass | The class used for variable values |
| schemeClass | The class of the CryptoScheme |
| classOfE | The class used for encrypted values |
| mergeBack | Whether to enable the merging of back-edges |
| minNCCCs | Whether to minimize the NCCC |
| useTCP | Whether to use TCP pipes |
References frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E >.classOfE, frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E >.domClass, frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E >.mergeBack, frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E >.minNCCCs, frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E >.schemeClass, and frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E >.useTCP.
Referenced by suite().
|
static |
References P3halves_DPOPagentTest().
Referenced by frodo2.algorithms.dpop.privacy.test.AllTestsP_DPOP.suite().

| void frodo2.algorithms.dpop.privacy.test.P3halves_DPOPagentTest< V extends Addable< V >, E extends AddableLimited< AddableInteger, E >.test | ( | ) | throws JDOMException, IOException |
References frodo2.algorithms.test.AllTests.createRandProblem(), frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E >.domClass, frodo2.algorithms.Solution< V, U >.getAssignments(), frodo2.algorithms.XCSPparser< V extends Addable< V >, U extends Addable< U > >.getNbrVars(), frodo2.algorithms.Solution< V, U >.getReportedUtil(), frodo2.algorithms.Solution< V, U >.getUtility(), frodo2.algorithms.XCSPparser< V extends Addable< V >, U extends Addable< U > >.getUtility(), frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E >.maxAgent, frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E >.maxEdge, frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E >.maxVar, frodo2.algorithms.XCSPparser< V extends Addable< V >, U extends Addable< U > >.parse(), frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E >.schemeClass, frodo2.algorithms.XCSPparser< V extends Addable< V >, U extends Addable< U > >.setUtilClass(), frodo2.algorithms.AbstractDCOPsolver< V extends Addable< V >, U extends Addable< U >, S extends Solution< V, U >.solve(), and frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V, E >.useTCP.
