|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|

Public Member Functions | |
| VALUEmsg () | |
| Empty constructor. | |
| VALUEmsg (MessageType type, String sender, String receiver, String[] variables, V[] values) | |
| Constructor. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| String | getSender () |
| String | getReceiver () |
| String[] | getVariables () |
| V[] | getValues () |
| 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 () |
| void | fakeSerialize () |
| Pretends to serialize the message. | |
Static Public Attributes | |
| static Addable<?> | DOMAIN_VALUE |
| Used for externalization of messages. | |
Private Attributes | |
| String[] | variables |
| The variable names. | |
| V[] | values |
| The context in which sampling must occur. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
| <V> | the type used for domain values |
| frodo2.algorithms.duct.VALUEmsg< V extends Addable< V > >.VALUEmsg | ( | ) |
Empty constructor.
| frodo2.algorithms.duct.VALUEmsg< V extends Addable< V > >.VALUEmsg | ( | MessageType | type, |
| String | sender, | ||
| String | receiver, | ||
| String[] | variables, | ||
| V[] | values ) |
Constructor.
| type | the type of the message |
| sender | the sender of the message |
| receiver | the name of the variable that is to receive this message |
| variables | the names of the variables |
| values | the reported values |
References frodo2.communication.Message.type, values, and variables.
| String frodo2.algorithms.duct.VALUEmsg< V extends Addable< V > >.getReceiver | ( | ) |
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload2().
Referenced by frodo2.algorithms.duct.Sampling< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingChild< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingChildSearch< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingPruning< V extends Addable< V > >.notifyIn(), and frodo2.algorithms.duct.SamplingPruningSearch< V extends Addable< V > >.notifyIn().

| String frodo2.algorithms.duct.VALUEmsg< V extends Addable< V > >.getSender | ( | ) |
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload1().
Referenced by frodo2.algorithms.duct.Sampling< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingChild< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingChildSearch< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingPruning< V extends Addable< V > >.notifyIn(), and frodo2.algorithms.duct.SamplingPruningSearch< V extends Addable< V > >.notifyIn().

| V[] frodo2.algorithms.duct.VALUEmsg< V extends Addable< V > >.getValues | ( | ) |
References values.
Referenced by frodo2.algorithms.duct.Sampling< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingChild< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingChildSearch< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingPruning< V extends Addable< V > >.notifyIn(), and frodo2.algorithms.duct.SamplingPruningSearch< V extends Addable< V > >.notifyIn().
| String[] frodo2.algorithms.duct.VALUEmsg< V extends Addable< V > >.getVariables | ( | ) |
Referenced by frodo2.algorithms.duct.Sampling< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingChild< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingChildSearch< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingPruning< V extends Addable< V > >.notifyIn(), and frodo2.algorithms.duct.SamplingPruningSearch< V extends Addable< V > >.notifyIn().
| void frodo2.algorithms.duct.VALUEmsg< V extends Addable< V > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
References DOMAIN_VALUE, values, and variables.
| void frodo2.algorithms.duct.VALUEmsg< V extends Addable< V > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
|
static |
Used for externalization of messages.
Referenced by readExternal(), and frodo2.algorithms.duct.Sampling< V extends Addable< V > >.Sampling().
|
private |
The context in which sampling must occur.
Referenced by getValues(), readExternal(), VALUEmsg(), and writeExternal().
|
private |
The variable names.
Referenced by readExternal(), VALUEmsg(), and writeExternal().