|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A message containing the optimal utility found for a given component. More...

Public Member Functions | |
| OptUtilMsg (String dest, U utility) | |
| Constructor. | |
| OptUtilMsg () | |
| Used for externalization only. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| String | getDest () |
| U | getUtil () |
| Public Member Functions inherited from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable > | |
| MessageWith2Payloads (MessageType type, T1 payload1, T2 payload2) | |
| Constructor. | |
| MessageWith2Payloads () | |
| Empty constructor. | |
| MessageWith2Payloads< T1, T2 > | clone () |
| T1 | getPayload1 () |
| void | setPayload1 (T1 payload1) |
| T2 | getPayload2 () |
| void | setPayload2 (T2 payload2) |
| String | toString () |
| Public Member Functions inherited from frodo2.communication.Message | |
| Message (MessageType type) | |
| Constructor. | |
| Message () | |
| Empty constructor. | |
| MessageType | getType () |
| void | fakeSerialize () |
| Pretends to serialize the message. | |
Static Public Attributes | |
| static final MessageType | COMP_OPT_UTIL_MSG_TYPE = new MessageType ("P2-DPOP", "EncryptedUTIL", "CompOptUtil") |
| The type of this message. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
A message containing the optimal utility found for a given component.
| <U> | the type used for the utility |
| frodo2.algorithms.dpop.privacy.OptUtilMsg< U extends Addable< U > >.OptUtilMsg | ( | String | dest, |
| U | utility ) |
Constructor.
| dest | the destination variable |
| utility | the optimal utility |
References COMP_OPT_UTIL_MSG_TYPE.
| frodo2.algorithms.dpop.privacy.OptUtilMsg< U extends Addable< U > >.OptUtilMsg | ( | ) |
Used for externalization only.
References COMP_OPT_UTIL_MSG_TYPE.
| String frodo2.algorithms.dpop.privacy.OptUtilMsg< U extends Addable< U > >.getDest | ( | ) |
| U frodo2.algorithms.dpop.privacy.OptUtilMsg< U extends Addable< U > >.getUtil | ( | ) |
| void frodo2.algorithms.dpop.privacy.OptUtilMsg< U extends Addable< U > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
References readExternal().
Referenced by readExternal().

| void frodo2.algorithms.dpop.privacy.OptUtilMsg< U extends Addable< U > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
|
static |
The type of this message.
Referenced by frodo2.algorithms.dpop.privacy.EncryptedUTIL< V extends Addable< V >, U extends Addable< U >, E extends AddableLimited< U, E >.getMsgTypes(), OptUtilMsg(), and OptUtilMsg().