|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
This message contains the util information a child reports to its parent when responding to an ASK message. More...

Public Member Functions | |
| UTILvarsMsg () | |
| Empty constructor. | |
| UTILvarsMsg (String sender, String receiver, Good< Val, U > good) | |
| Constructor for a message without domain info. | |
| UTILvarsMsg (MessageType type, String sender, String receiver, Good< Val, U > good) | |
| Constructor for a message without domain info. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| String | toString () |
| Good< Val, U > | getGood () |
| Returns the good. | |
| String[] | getVariables () |
| Returns an array of variable IDs. | |
| Public Member Functions inherited from frodo2.algorithms.odpop.UTILmsg< Val, U > | |
| UTILmsg () | |
| Empty constructor. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| String | toString () |
| String | getSender () |
| Returns the sender of the message. | |
| String | getReceiver () |
| Returns the receiver of the message. | |
| Good< Val, U > | getGood (String[] variables) |
| Returns the good. | |
Protected Attributes | |
| String[] | variables |
| A list of variable IDs. | |
| Protected Attributes inherited from frodo2.algorithms.odpop.UTILmsg< Val, U > | |
| Val[] | values |
| The variable values for a particular assignment. | |
| U | utility |
| The utility for this particular assignment. | |
This message contains the util information a child reports to its parent when responding to an ASK message.
It contains the following utility information
| <Val> | type used for variable values |
| <U> | type used for utility values |
| frodo2.algorithms.odpop.UTILvarsMsg< Val extends Addable< Val >, U extends Addable< U > >.UTILvarsMsg | ( | ) |
| frodo2.algorithms.odpop.UTILvarsMsg< Val extends Addable< Val >, U extends Addable< U > >.UTILvarsMsg | ( | String | sender, |
| String | receiver, | ||
| Good< Val, U > | good ) |
Constructor for a message without domain info.
| sender | The sender of the message |
| receiver | The recipient of the message |
| good | The good to be send |
References frodo2.algorithms.odpop.Good< Val extends Addable< Val >, U extends Addable< U > >.getVariables(), frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.UTIL_MSG_VARS, and variables.

| frodo2.algorithms.odpop.UTILvarsMsg< Val extends Addable< Val >, U extends Addable< U > >.UTILvarsMsg | ( | MessageType | type, |
| String | sender, | ||
| String | receiver, | ||
| Good< Val, U > | good ) |
Constructor for a message without domain info.
| type | The type of the message |
| sender | The sender of the message |
| receiver | The recipient of the message |
| good | The good to be send |
References frodo2.algorithms.odpop.Good< Val extends Addable< Val >, U extends Addable< U > >.getVariables(), and variables.

| Good< Val, U > frodo2.algorithms.odpop.UTILvarsMsg< Val extends Addable< Val >, U extends Addable< U > >.getGood | ( | ) |
Returns the good.
References frodo2.algorithms.odpop.UTILmsg< Val, U >.utility, and frodo2.algorithms.odpop.UTILmsg< Val, U >.values.
| String[] frodo2.algorithms.odpop.UTILvarsMsg< Val extends Addable< Val >, U extends Addable< U > >.getVariables | ( | ) |
Returns an array of variable IDs.
| void frodo2.algorithms.odpop.UTILvarsMsg< Val extends Addable< Val >, U extends Addable< U > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
| String frodo2.algorithms.odpop.UTILvarsMsg< Val extends Addable< Val >, U extends Addable< U > >.toString | ( | ) |
References frodo2.algorithms.odpop.UTILmsg< Val, U >.getReceiver(), frodo2.algorithms.odpop.UTILmsg< Val, U >.getSender(), frodo2.algorithms.odpop.UTILmsg< Val, U >.utility, and frodo2.algorithms.odpop.UTILmsg< Val, U >.values.

| void frodo2.algorithms.odpop.UTILvarsMsg< Val extends Addable< Val >, U extends Addable< U > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
|
protected |
A list of variable IDs.
Referenced by UTILvarsMsg(), and UTILvarsMsg().