|
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 | |
| UTILvarsDomsMsg () | |
| Empty constructor. | |
| UTILvarsDomsMsg (String sender, String receiver, Good< Val, U > good, Val[][] domains) | |
| Constructor for a message without domain info. | |
| UTILvarsDomsMsg (MessageType type, String sender, String receiver, Good< Val, U > good, Val[][] domains) | |
| Constructor for a message without domain info. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| Val[][] | getDomains () |
| Public Member Functions inherited from frodo2.algorithms.odpop.UTILvarsMsg< Val, U > | |
| UTILvarsMsg () | |
| Empty constructor. | |
| 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. | |
Protected Attributes | |
| Val[][] | domains |
| Domains of the variables. | |
| Protected Attributes inherited from frodo2.algorithms.odpop.UTILvarsMsg< Val, U > | |
| String[] | variables |
| A list of variable IDs. | |
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.UTILvarsDomsMsg< Val extends Addable< Val >, U extends Addable< U > >.UTILvarsDomsMsg | ( | ) |
| frodo2.algorithms.odpop.UTILvarsDomsMsg< Val extends Addable< Val >, U extends Addable< U > >.UTILvarsDomsMsg | ( | String | sender, |
| String | receiver, | ||
| Good< Val, U > | good, | ||
| Val | domains[][] ) |
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 |
| domains | Variable domains |
References domains, and frodo2.algorithms.odpop.UTILpropagationFullDomain< Val extends Addable< Val >, U extends Addable< U >, L extends LeafNode< U > >.UTIL_MSG_VARS.
| frodo2.algorithms.odpop.UTILvarsDomsMsg< Val extends Addable< Val >, U extends Addable< U > >.UTILvarsDomsMsg | ( | MessageType | type, |
| String | sender, | ||
| String | receiver, | ||
| Good< Val, U > | good, | ||
| Val | domains[][] ) |
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 |
| domains | Variable domains |
References domains.
| Val[][] frodo2.algorithms.odpop.UTILvarsDomsMsg< Val extends Addable< Val >, U extends Addable< U > >.getDomains | ( | ) |
| void frodo2.algorithms.odpop.UTILvarsDomsMsg< Val extends Addable< Val >, U extends Addable< U > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
References readExternal().
Referenced by readExternal().

| void frodo2.algorithms.odpop.UTILvarsDomsMsg< Val extends Addable< Val >, U extends Addable< U > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
|
protected |
Domains of the variables.
Referenced by UTILvarsDomsMsg(), and UTILvarsDomsMsg().