|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A message holding assignments to variables. More...

Public Member Functions | |
| AssignmentsMessage () | |
| Empty constructor used for externalization. | |
| AssignmentsMessage (String[] var, ArrayList< V > val) | |
| Constructor. | |
| String[] | getVariables () |
| ArrayList< V > | 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. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| 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. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
A message holding assignments to variables.
| <V> | type used for variable values |
| frodo2.algorithms.SolutionCollector< V extends Addable< V >, U extends Addable< U > >.AssignmentsMessage< V >.AssignmentsMessage | ( | ) |
Empty constructor used for externalization.
| frodo2.algorithms.SolutionCollector< V extends Addable< V >, U extends Addable< U > >.AssignmentsMessage< V >.AssignmentsMessage | ( | String[] | var, |
| ArrayList< V > | val ) |
Constructor.
| var | the variable(s) |
| val | the value(s) assigned to the variable(s) var |
References frodo2.algorithms.SolutionCollector< V extends Addable< V >, U extends Addable< U > >.ASSIGNMENTS_MSG_TYPE.
| ArrayList< V > frodo2.algorithms.SolutionCollector< V extends Addable< V >, U extends Addable< U > >.AssignmentsMessage< V >.getValues | ( | ) |
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload2().
Referenced by frodo2.algorithms.SolutionCollector< V extends Addable< V >, U extends Addable< U > >.notifyIn(), and toString().

| String[] frodo2.algorithms.SolutionCollector< V extends Addable< V >, U extends Addable< U > >.AssignmentsMessage< V >.getVariables | ( | ) |
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload1().
Referenced by frodo2.algorithms.SolutionCollector< V extends Addable< V >, U extends Addable< U > >.notifyIn(), and toString().

| String frodo2.algorithms.SolutionCollector< V extends Addable< V >, U extends Addable< U > >.AssignmentsMessage< V >.toString | ( | ) |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
References getValues(), and getVariables().
