FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.dpop.privacy.test.P3halves_DPOPagentTest< V extends Addable< V >, E extends AddableLimited< AddableInteger, E > Class Template Reference

A JUnit test for the P3/2-DPOP agent. More...

Inheritance diagram for frodo2.algorithms.dpop.privacy.test.P3halves_DPOPagentTest< V extends Addable< V >, E extends AddableLimited< AddableInteger, E >:

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.

Detailed Description

A JUnit test for the P3/2-DPOP agent.

Author
Thomas Leaute
Parameters
<V>the type used for variable values
<E>The class used for encrypted values

Constructor & Destructor Documentation

◆ P3halves_DPOPagentTest()

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.

Parameters
domClassThe class used for variable values
schemeClassThe class of the CryptoScheme
classOfEThe class used for encrypted values
mergeBackWhether to enable the merging of back-edges
minNCCCsWhether to minimize the NCCC
useTCPWhether 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().

Member Function Documentation

◆ suite()

TestSuite frodo2.algorithms.dpop.privacy.test.P3halves_DPOPagentTest< V extends Addable< V >, E extends AddableLimited< AddableInteger, E >.suite ( )
static
Returns
the test suite for this test

References P3halves_DPOPagentTest().

Referenced by frodo2.algorithms.dpop.privacy.test.AllTestsP_DPOP.suite().

Here is the call graph for this function:

◆ test()


The documentation for this class was generated from the following file: