|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A VALUE message, which contains the value assignment of a variable. More...

Public Member Functions | |
| VALUEmsgChild () | |
| Empty constructor. | |
| VALUEmsgChild (String dest, HashMap< String, Val > values, boolean isConfirmed) | |
| A constructor. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| boolean | isConfirmed () |
| Public Member Functions inherited from frodo2.algorithms.odpop.VALUEmsgWithVars< Val extends Addable< Val > > | |
| VALUEmsgWithVars () | |
| Empty constructor. | |
| VALUEmsgWithVars (String dest, HashMap< String, Val > values) | |
| Constructor. | |
| String | getDest () |
| HashMap< String, Val > | getValues () |
| String | toString () |
| 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 | |
| boolean | isConfirmed |
| If this message is confirmed, it also functions as a termination message. | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
Additional Inherited Members | |
| Protected Member Functions inherited from frodo2.algorithms.odpop.VALUEmsgWithVars< Val extends Addable< Val > > | |
| VALUEmsgWithVars (MessageType type, String dest, HashMap< String, Val > values) | |
| Constructor. | |
A VALUE message, which contains the value assignment of a variable.
| <Val> | type used for variable values |
| frodo2.algorithms.asodpop.VALUEmsgChild< Val extends Addable< Val > >.VALUEmsgChild | ( | ) |
Empty constructor.
References frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.VALUE_MSG_TYPE_CHILD.
| frodo2.algorithms.asodpop.VALUEmsgChild< Val extends Addable< Val > >.VALUEmsgChild | ( | String | dest, |
| HashMap< String, Val > | values, | ||
| boolean | isConfirmed ) |
A constructor.
| dest | The recipient of the message |
| values | An array of value assignments |
| isConfirmed | true when this message is a confirmed message |
References isConfirmed, and frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.VALUE_MSG_TYPE_CHILD.
| boolean frodo2.algorithms.asodpop.VALUEmsgChild< Val extends Addable< Val > >.isConfirmed | ( | ) |
References isConfirmed.
| void frodo2.algorithms.asodpop.VALUEmsgChild< Val extends Addable< Val > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.algorithms.odpop.VALUEmsgWithVars< Val extends Addable< Val > >.
References readExternal().
Referenced by readExternal().

| void frodo2.algorithms.asodpop.VALUEmsgChild< Val extends Addable< Val > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.algorithms.odpop.VALUEmsgWithVars< Val extends Addable< Val > >.
|
protected |
If this message is confirmed, it also functions as a termination message.
Referenced by isConfirmed(), and VALUEmsgChild().