|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
The listener that checks the messages sent by the ParamUTIL listeners. More...

Public Member Functions | |
| Listener (boolean useTCP, boolean useXML, Element parameters) throws Exception | |
| Constructor that tests the ParamUTIL propagation protocol on a random DFS. | |
| Collection< MessageType > | getMsgTypes () |
| void | notifyIn (Message msg) |
Protected Member Functions | |
| void | checkOutput () |
Private Attributes | |
| HashMap< String, UtilitySolutionSpace< AddableInteger, U > > | optUtils = new HashMap< String, UtilitySolutionSpace<AddableInteger, U> > () |
| Optimal utility of each connected component (identified by its root), conditioned on the values of the parameters (if any). | |
| final Object | optUtils_lock = new Object () |
Used to synchronize access to optUtils, which can be null. | |
The listener that checks the messages sent by the ParamUTIL listeners.
| frodo2.algorithms.dpop.param.test.ParamUTILtest< U extends Addable< U > >.Listener.Listener | ( | boolean | useTCP, |
| boolean | useXML, | ||
| Element | parameters ) throws Exception |
Constructor that tests the ParamUTIL propagation protocol on a random DFS.
| useTCP | true whether TCP pipes should be used instead of QueueIOPipes |
| useXML | whether we should use the constructor that takes in XML elements or the manual constructor |
| parameters | the parameters for the module under test |
| Exception | if an error occurs |
References frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.parameters, frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.useTCP, and frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.useXML.
|
protected |
| Collection< MessageType > frodo2.algorithms.dpop.param.test.ParamUTILtest< U extends Addable< U > >.Listener.getMsgTypes | ( | ) |
| void frodo2.algorithms.dpop.param.test.ParamUTILtest< U extends Addable< U > >.Listener.notifyIn | ( | Message | msg | ) |
References notifyIn(), and frodo2.algorithms.dpop.param.ParamUTIL< Val extends Addable< Val >, U extends Addable< U > >.OPT_PARAM_UTIL_MSG_TYPE.
Referenced by notifyIn().

|
private |
Optimal utility of each connected component (identified by its root), conditioned on the values of the parameters (if any).
Referenced by checkOutput().
|
private |
Used to synchronize access to optUtils, which can be null.