|
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 | |
| UTILmsg () | |
| Empty constructor. | |
| UTILmsg (String sender, String receiver, Good< Val, U > good) | |
| Constructor for a message without domain info. | |
| UTILmsg (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 (String[] variables) |
| Returns the good. | |
| boolean | isRelevant (int nbrVariables) |
| 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. | |
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.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.asodpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.UTILmsg | ( | ) |
Empty constructor.
References frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.UTIL_MSG.
| frodo2.algorithms.asodpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.UTILmsg | ( | 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 confirmed, and frodo2.algorithms.asodpop.Good< Val extends Addable< Val >, U extends Addable< U > >.isConfirmed().

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

| Good< Val, U > frodo2.algorithms.asodpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.getGood | ( | String[] | variables | ) |
Returns the good.
| variables | the variables whos value assignments this message contains |
References frodo2.algorithms.odpop.UTILmsg< Val, U >.utility, and frodo2.algorithms.odpop.UTILmsg< Val, U >.values.
| boolean frodo2.algorithms.asodpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.isRelevant | ( | int | nbrVariables | ) |
| nbrVariables | the number of required variables |
true when the good contains value assignments for the required number of variables References frodo2.algorithms.odpop.UTILmsg< Val, U >.values.
| void frodo2.algorithms.asodpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
| String frodo2.algorithms.asodpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.toString | ( | ) |
| void frodo2.algorithms.asodpop.UTILmsg< Val extends Addable< Val >, U extends Addable< U > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
|
private |