|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|

Public Member Functions | |
| COSTmsg () | |
| Empty constructor. | |
| COSTmsg (String receiver, AddableReal cost) | |
| Constructor. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| String | getReceiver () |
| AddableReal | getCost () |
| Public Member Functions inherited from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable > | |
| MessageWith2Payloads (MessageType type, T1 payload1, T2 payload2) | |
| Constructor. | |
| MessageWith2Payloads () | |
| Empty constructor. | |
| MessageWith2Payloads< T1, T2 > | clone () |
| T1 | getPayload1 () |
| void | setPayload1 (T1 payload1) |
| T2 | getPayload2 () |
| void | setPayload2 (T2 payload2) |
| String | toString () |
| Public Member Functions inherited from frodo2.communication.Message | |
| Message (MessageType type) | |
| Constructor. | |
| Message () | |
| Empty constructor. | |
| MessageType | getType () |
| void | fakeSerialize () |
| Pretends to serialize the message. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
| frodo2.algorithms.duct.COSTmsg.COSTmsg | ( | ) |
Empty constructor.
| frodo2.algorithms.duct.COSTmsg.COSTmsg | ( | String | receiver, |
| AddableReal | cost ) |
Constructor.
| receiver | the name of the variable that is to receive this message |
| cost | the estimated cost for the sampled value |
References frodo2.algorithms.duct.Sampling< V extends Addable< V > >.COST_MSG_TYPE.
| AddableReal frodo2.algorithms.duct.COSTmsg.getCost | ( | ) |
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload2().
Referenced by frodo2.algorithms.duct.Sampling< V extends Addable< V > >.VariableInfo.storeCOSTmsg(), frodo2.algorithms.duct.SamplingPruning< V extends Addable< V > >.VariableInfo.storeCOSTmsg(), and frodo2.algorithms.duct.SamplingPruningSearch< V extends Addable< V > >.VariableInfo.storeCOSTmsg().

| String frodo2.algorithms.duct.COSTmsg.getReceiver | ( | ) |
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload1().
Referenced by frodo2.algorithms.duct.Sampling< V extends Addable< V > >.notifyIn(), frodo2.algorithms.duct.SamplingPruning< V extends Addable< V > >.notifyIn(), and frodo2.algorithms.duct.SamplingPruningSearch< V extends Addable< V > >.notifyIn().

| void frodo2.algorithms.duct.COSTmsg.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
References frodo2.solutionSpaces.AddableReal.readExternal(), and frodo2.solutionSpaces.AddableReal.readResolve().

| void frodo2.algorithms.duct.COSTmsg.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.
References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload1(), and frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload2().
