|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Message used to convey the new value of the sender to a neighbouring variable. More...

Public Member Functions | |
| VALUEmsg () | |
| Empty constructor. | |
| VALUEmsg (MessageType type, String sender, String receiver, Val payload) | |
| VALUEmsg (String sender, String receiver, Val payload) | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| String | getSender () |
| String | getReceiver () |
| Val | getValue () |
| Public Member Functions inherited from frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable > | |
| MessageWith3Payloads () | |
| Empty constructor. | |
| MessageWith3Payloads (MessageType type, T1 payload1, T2 payload2, T3 payload3) | |
| Constructor. | |
| MessageWith3Payloads< T1, T2, T3 > | clone () |
| T1 | getPayload1 () |
| void | setPayload1 (T1 payload1) |
| T2 | getPayload2 () |
| void | setPayload2 (T2 payload2) |
| T3 | getPayload3 () |
| void | setPayload3 (T3 payload3) |
| 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 Private Attributes | |
| static final long | serialVersionUID = 6485548935259680831L |
| Used for serialisation. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
Message used to convey the new value of the sender to a neighbouring variable.
| <Val> | type used for variable values |
| frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.VALUEmsg | ( | ) |
Empty constructor.
References frodo2.algorithms.localSearch.dsa.DSA< Val extends Addable< Val >, U extends Addable< U > >.VALUE_MSG_TYPE.
| frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.VALUEmsg | ( | MessageType | type, |
| String | sender, | ||
| String | receiver, | ||
| Val | payload ) |
Default constructor
| type | the type of this message |
| sender | the sender of this message |
| receiver | the receiver of this message |
| payload | the value of the variable |
References frodo2.communication.Message.type.
| frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.VALUEmsg | ( | String | sender, |
| String | receiver, | ||
| Val | payload ) |
Default constructor
| sender | the sender of this message |
| receiver | the receiver of this message |
| payload | the value of the variable |
References frodo2.algorithms.localSearch.dsa.DSA< Val extends Addable< Val >, U extends Addable< U > >.VALUE_MSG_TYPE.
| String frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.getReceiver | ( | ) |

| String frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.getSender | ( | ) |

| Val frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.getValue | ( | ) |

| void frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.
References readExternal().
Referenced by readExternal().

| void frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.
|
staticprivate |
Used for serialisation.