|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
The message used to send a VALUE message to a variable's pseudochildren in ADOPT. More...

Public Member Functions | |
| COSTmsg () | |
| Empty constructor. | |
| COSTmsg (String sender, String receiver, HashMap< String, Val > context, U lb, U ub) | |
| Constructor. | |
| String | toString () |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| boolean | equals (Object msg) |
| String | getSender () |
| Getter function. | |
| String | getReceiver () |
| Getter function. | |
| HashMap< String, Val > | getContext () |
| Getter function. | |
| U | getLB () |
| Getter function. | |
| U | getUB () |
| Getter function. | |
| Public Member Functions inherited from frodo2.communication.Message | |
| Message (MessageType type) | |
| Constructor. | |
| Message () | |
| Empty constructor. | |
| MessageType | getType () |
| void | fakeSerialize () |
| Pretends to serialize the message. | |
Package Attributes | |
| String | receiver |
| The receiving variable. | |
Private Attributes | |
| String | sender |
| The sending variable. | |
| HashMap< String, Val > | context |
| The context in which this message was created. | |
| U | lb |
| The upper bound. | |
| U | ub |
| The lower bound. | |
Static Private Attributes | |
| static final long | serialVersionUID = 2153239219905600645L |
| Use for serialization. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
The message used to send a VALUE message to a variable's pseudochildren in ADOPT.
| <Val> | the type used for variable values |
| <U> | the type used for utility values |
| frodo2.algorithms.adopt.COSTmsg< Val extends Addable< Val >, U extends Addable< U > >.COSTmsg | ( | ) |
Empty constructor.
Referenced by equals().
| frodo2.algorithms.adopt.COSTmsg< Val extends Addable< Val >, U extends Addable< U > >.COSTmsg | ( | String | sender, |
| String | receiver, | ||
| HashMap< String, Val > | context, | ||
| U | lb, | ||
| U | ub ) |
Constructor.
| sender | the sender variable |
| receiver | the recipient variable |
| context | the context |
| lb | the lower bound |
| ub | the upper bound |
References context, frodo2.algorithms.adopt.ADOPT< Val extends Addable< Val >, U extends Addable< U > >.Original< Val extends Addable< Val >, U extends Addable< U > >.COST_MSG_TYPE, lb, receiver, sender, and ub.
| boolean frodo2.algorithms.adopt.COSTmsg< Val extends Addable< Val >, U extends Addable< U > >.equals | ( | Object | msg | ) |
References context, COSTmsg(), equals(), frodo2.communication.Message.getType(), lb, frodo2.communication.Message.Message(), receiver, sender, and ub.
Referenced by equals().

| HashMap< String, Val > frodo2.algorithms.adopt.COSTmsg< Val extends Addable< Val >, U extends Addable< U > >.getContext | ( | ) |
| U frodo2.algorithms.adopt.COSTmsg< Val extends Addable< Val >, U extends Addable< U > >.getLB | ( | ) |
| String frodo2.algorithms.adopt.COSTmsg< Val extends Addable< Val >, U extends Addable< U > >.getReceiver | ( | ) |
| String frodo2.algorithms.adopt.COSTmsg< Val extends Addable< Val >, U extends Addable< U > >.getSender | ( | ) |
| U frodo2.algorithms.adopt.COSTmsg< Val extends Addable< Val >, U extends Addable< U > >.getUB | ( | ) |
| void frodo2.algorithms.adopt.COSTmsg< Val extends Addable< Val >, U extends Addable< U > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.Message.
References readExternal().
Referenced by readExternal().

| String frodo2.algorithms.adopt.COSTmsg< Val extends Addable< Val >, U extends Addable< U > >.toString | ( | ) |
Reimplemented from frodo2.communication.Message.
| void frodo2.algorithms.adopt.COSTmsg< Val extends Addable< Val >, U extends Addable< U > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.Message.
|
private |
The context in which this message was created.
Referenced by COSTmsg(), equals(), and getContext().
|
private |
|
package |
The receiving variable.
Referenced by COSTmsg(), equals(), and getReceiver().
|
private |
The sending variable.
Referenced by COSTmsg(), equals(), and getSender().
|
staticprivate |
Use for serialization.
|
private |