|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A message sent by a function node. More...

Public Member Functions | |
| FunctionMsg () | |
| Empty constructor used for externalization. | |
| FunctionMsg (String functionNode, UtilitySolutionSpace< V, U > marginalUtil) | |
| Constructor. | |
| void | fakeSerialize () |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| String | getFunctionNode () |
| UtilitySolutionSpace< V, U > | getMarginalUtil () |
| 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 () |
Static Public Attributes | |
| static final MessageType | FUNCTION_MSG_TYPE = new MessageType ("Max-Sum", "FunctionToVar") |
| The type of this message. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
A message sent by a function node.
| <V> | the type used for variable values |
| <U> | the type used for utility values |
| frodo2.algorithms.maxsum.FunctionMsg< V extends Addable< V >, U extends Addable< U > >.FunctionMsg | ( | ) |
Empty constructor used for externalization.
References FUNCTION_MSG_TYPE.
| frodo2.algorithms.maxsum.FunctionMsg< V extends Addable< V >, U extends Addable< U > >.FunctionMsg | ( | String | functionNode, |
| UtilitySolutionSpace< V, U > | marginalUtil ) |
Constructor.
| functionNode | the sender of this message |
| marginalUtil | the marginal utility as a function of the destination variable |
References FUNCTION_MSG_TYPE.
| void frodo2.algorithms.maxsum.FunctionMsg< V extends Addable< V >, U extends Addable< U > >.fakeSerialize | ( | ) |
Reimplemented from frodo2.communication.Message.
References getMarginalUtil().

| String frodo2.algorithms.maxsum.FunctionMsg< V extends Addable< V >, U extends Addable< U > >.getFunctionNode | ( | ) |
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload1().
Referenced by frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.notifyIn().

| UtilitySolutionSpace< V, U > frodo2.algorithms.maxsum.FunctionMsg< V extends Addable< V >, U extends Addable< U > >.getMarginalUtil | ( | ) |
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload2().
Referenced by fakeSerialize(), and frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.notifyIn().

| void frodo2.algorithms.maxsum.FunctionMsg< V extends Addable< V >, 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.maxsum.FunctionMsg< V extends Addable< V >, 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 FunctionMsg(), and FunctionMsg().