|
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 |
| Good< Val, U > | getGood () |
| Returns the good. | |
| Public Member Functions inherited from frodo2.algorithms.odpop.UTILvarsDomsMsg< Val, U > | |
| UTILvarsDomsMsg () | |
| Empty constructor. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| Val[][] | getDomains () |
Private Attributes | |
| boolean | confirmed |
true when this is a confirmed util message and false otherwise | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.algorithms.odpop.UTILvarsDomsMsg< Val, U > | |
| Val[][] | domains |
| Domains of the variables. | |
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.asodpop.UTILvarsDomsMsg< Val extends Addable< Val >, U extends Addable< U > >.UTILvarsDomsMsg | ( | ) |
Empty constructor.
| frodo2.algorithms.asodpop.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 | The domains of the reported variables |
References confirmed, frodo2.algorithms.odpop.UTILvarsDomsMsg< Val, U >.domains, and frodo2.algorithms.asodpop.Good< Val extends Addable< Val >, U extends Addable< U > >.isConfirmed().

| frodo2.algorithms.asodpop.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 | The domains of the reported variables |
References confirmed, frodo2.algorithms.odpop.UTILvarsDomsMsg< Val, U >.domains, and frodo2.algorithms.asodpop.Good< Val extends Addable< Val >, U extends Addable< U > >.isConfirmed().

| Good< Val, U > frodo2.algorithms.asodpop.UTILvarsDomsMsg< Val extends Addable< Val >, U extends Addable< U > >.getGood | ( | ) |
Returns the good.
| void frodo2.algorithms.asodpop.UTILvarsDomsMsg< Val extends Addable< Val >, U extends Addable< U > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
| void frodo2.algorithms.asodpop.UTILvarsDomsMsg< Val extends Addable< Val >, U extends Addable< U > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
|
private |
true when this is a confirmed util message and false otherwise
Referenced by UTILvarsDomsMsg(), and UTILvarsDomsMsg().