FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.duct.COSTBmsg Class Reference
Inheritance diagram for frodo2.algorithms.duct.COSTBmsg:

Public Member Functions

 COSTBmsg ()
 Empty constructor.
 COSTBmsg (String receiver, AddableReal cost, AddableReal bound)
 Constructor.
 COSTBmsg (MessageType type, String receiver, AddableReal cost, AddableReal bound)
 Constructor.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
String getReceiver ()
AddableReal getCost ()
AddableReal getBound ()
Public Member Functions inherited from frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >
 MessageWith3Payloads ()
 Empty constructor.
 MessageWith3Payloads (MessageType type, T1 payload1, T2 payload2, T3 payload3)
 Constructor.
MessageWith3Payloads< T1, T2, T3 > clone ()
T1 getPayload1 ()
void setPayload1 (T1 payload1)
T2 getPayload2 ()
void setPayload2 (T2 payload2)
T3 getPayload3 ()
void setPayload3 (T3 payload3)
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.

Detailed Description

Author
Brammert Ottens, 7 jul. 2011

Constructor & Destructor Documentation

◆ COSTBmsg() [1/3]

frodo2.algorithms.duct.COSTBmsg.COSTBmsg ( )

Empty constructor.

◆ COSTBmsg() [2/3]

frodo2.algorithms.duct.COSTBmsg.COSTBmsg ( String receiver,
AddableReal cost,
AddableReal bound )

Constructor.

Parameters
receiverthe name of the variable that is to receive this message
costthe estimated cost for the sampled value
boundthe bound of the variable

References frodo2.algorithms.duct.Sampling< V extends Addable< V > >.COST_MSG_TYPE.

◆ COSTBmsg() [3/3]

frodo2.algorithms.duct.COSTBmsg.COSTBmsg ( MessageType type,
String receiver,
AddableReal cost,
AddableReal bound )

Constructor.

Parameters
typethe type of this message
receiverthe name of the variable that is to receive this message
costthe estimated cost for the sampled value
boundthe bound of the variable

References frodo2.communication.Message.type.

Member Function Documentation

◆ getBound()

◆ getCost()

◆ getReceiver()

String frodo2.algorithms.duct.COSTBmsg.getReceiver ( )

◆ readExternal()

void frodo2.algorithms.duct.COSTBmsg.readExternal ( ObjectInput in) throws IOException, ClassNotFoundException

◆ writeExternal()


The documentation for this class was generated from the following file: