|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
This message contains the util information a child reports to its parent when responding to an ASK message. More...

Public Member Functions | |
| UTILmsg () | |
| Empty constructor. | |
| UTILmsg (String sender, String receiver, Good< Val, U > good) | |
| Constructor for a message without domain info. | |
| UTILmsg (MessageType type, String sender, String receiver, Good< Val, U > good) | |
| Constructor for a message without domain info. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| String | toString () |
| String | getSender () |
| Returns the sender of the message. | |
| String | getReceiver () |
| Returns the receiver of the message. | |
| Good< Val, U > | getGood (String[] variables) |
| Returns the good. | |
| 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) |
| Public Member Functions inherited from frodo2.communication.Message | |
| Message (MessageType type) | |
| Constructor. | |
| Message () | |
| Empty constructor. | |
| MessageType | getType () |
| void | fakeSerialize () |
| Pretends to serialize the message. | |
Protected Attributes | |
| Val[] | values |
| The variable values for a particular assignment. | |
| U | utility |
| The utility for this particular assignment. | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
This message contains the util information a child reports to its parent when responding to an ASK message.
It contains the following utility information
| <Val> | type used for variable values |
| <U> | type used for utility values |
| frodo2.algorithms.odpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.UTILmsg | ( | ) |
| frodo2.algorithms.odpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.UTILmsg | ( | String | sender, |
| String | receiver, | ||
| Good< Val, U > | good ) |
Constructor for a message without domain info.
| sender | The sender of the message |
| receiver | The recipient of the message |
| good | The good to be send |
References frodo2.algorithms.odpop.Good< Val extends Addable< Val >, U extends Addable< U > >.getUtility(), frodo2.algorithms.odpop.Good< Val extends Addable< Val >, U extends Addable< U > >.getValues(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.UTIL_MSG, utility, and values.

| frodo2.algorithms.odpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.UTILmsg | ( | MessageType | type, |
| String | sender, | ||
| String | receiver, | ||
| Good< Val, U > | good ) |
Constructor for a message without domain info.
| type | The type of this message |
| sender | The sender of the message |
| receiver | The recipient of the message |
| good | The good to be send |
References frodo2.algorithms.odpop.Good< Val extends Addable< Val >, U extends Addable< U > >.getUtility(), frodo2.algorithms.odpop.Good< Val extends Addable< Val >, U extends Addable< U > >.getValues(), frodo2.communication.Message.type, utility, and values.

| Good< Val, U > frodo2.algorithms.odpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.getGood | ( | String[] | variables | ) |
| String frodo2.algorithms.odpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.getReceiver | ( | ) |
Returns the receiver of the message.
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload2().
Referenced by toString().

| String frodo2.algorithms.odpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.getSender | ( | ) |
Returns the sender of the message.
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload1().
Referenced by toString().

| void frodo2.algorithms.odpop.UTILmsg< Val extends Addable< Val >, 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().

| String frodo2.algorithms.odpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.toString | ( | ) |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
References getReceiver(), and getSender().

| void frodo2.algorithms.odpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
|
protected |
|
protected |