|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A CONTEXT message sent by cluster nodes in MB-DPOP. More...

Public Member Functions | |
| ContextMsg () | |
| Default constructor used for externalization. | |
| ContextMsg (String dest, String[] ccs, V[] values) | |
| Constructor. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| String | getDest () |
| String[] | getCCs () |
| V[] | getValues () |
| String | toString () |
| 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) |
| 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 | CONTEXT_MSG_TYPE = new MessageType ("MB-DPOP", "Context") |
| The type of this message. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
A CONTEXT message sent by cluster nodes in MB-DPOP.
| <V> | the type used for variable values |
| frodo2.algorithms.dpop.memory.ContextMsg< V extends Addable< V > >.ContextMsg | ( | ) |
Default constructor used for externalization.
References CONTEXT_MSG_TYPE.
| frodo2.algorithms.dpop.memory.ContextMsg< V extends Addable< V > >.ContextMsg | ( | String | dest, |
| String[] | ccs, | ||
| V[] | values ) |
Constructor.
| dest | the destination variable |
| ccs | the cluster-cutset variables |
| values | the values for the cluster-cutset variables |
References CONTEXT_MSG_TYPE.
| String[] frodo2.algorithms.dpop.memory.ContextMsg< V extends Addable< V > >.getCCs | ( | ) |
Referenced by frodo2.algorithms.dpop.memory.MemoryBoundedUTIL< V extends Addable< V >, U extends Addable< U > >.notifyIn(), toString(), and writeExternal().
| String frodo2.algorithms.dpop.memory.ContextMsg< V extends Addable< V > >.getDest | ( | ) |
Referenced by frodo2.algorithms.dpop.memory.MemoryBoundedUTIL< V extends Addable< V >, U extends Addable< U > >.notifyIn(), and toString().
| V[] frodo2.algorithms.dpop.memory.ContextMsg< V extends Addable< V > >.getValues | ( | ) |
Referenced by frodo2.algorithms.dpop.memory.MemoryBoundedUTIL< V extends Addable< V >, U extends Addable< U > >.notifyIn(), toString(), and writeExternal().
| void frodo2.algorithms.dpop.memory.ContextMsg< V extends Addable< V > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.
| String frodo2.algorithms.dpop.memory.ContextMsg< V extends Addable< V > >.toString | ( | ) |
Reimplemented from frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.
References getCCs(), getDest(), and getValues().

| void frodo2.algorithms.dpop.memory.ContextMsg< V extends Addable< V > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.
References getCCs(), frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.getPayload1(), and getValues().

|
static |