FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.adopt.HeuristicMsg< Val extends Addable< Val >, U extends Addable< U > > Class Template Reference

Message used to send the minimal utility of the agents local sub problem. More...

Inheritance diagram for frodo2.algorithms.adopt.HeuristicMsg< Val extends Addable< Val >, U extends Addable< U > >:

Public Member Functions

 HeuristicMsg ()
 Empty constructor used for externalization.
 HeuristicMsg (MessageType type, String receiver, String sender, UtilitySolutionSpace< Val, U > h)
 Constructor.
UtilitySolutionSpace< Val, U > getSpace ()
String getReceiver ()
String getSender ()
void fakeSerialize ()
Public Member Functions inherited from frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >
 MessageWith3Payloads ()
 Empty constructor.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
 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 ()

Additional Inherited Members

Protected Attributes inherited from frodo2.communication.Message
MessageType type
 The type of this message.

Detailed Description

Message used to send the minimal utility of the agents local sub problem.

Author
Brammert Ottens, Thomas Leaute
Parameters
<U>type used for utility values
<Val>type used for domain values

Constructor & Destructor Documentation

◆ HeuristicMsg() [1/2]

frodo2.algorithms.adopt.HeuristicMsg< Val extends Addable< Val >, U extends Addable< U > >.HeuristicMsg ( )

Empty constructor used for externalization.

◆ HeuristicMsg() [2/2]

frodo2.algorithms.adopt.HeuristicMsg< Val extends Addable< Val >, U extends Addable< U > >.HeuristicMsg ( MessageType type,
String receiver,
String sender,
UtilitySolutionSpace< Val, U > h )

Constructor.

Parameters
typethe type of the message
receiverthe receiver of this message
senderthe sender of this message
hthe minimal utility of the variables sub problem

References frodo2.communication.Message.type.

Member Function Documentation

◆ fakeSerialize()

◆ getReceiver()

String frodo2.algorithms.adopt.HeuristicMsg< Val extends Addable< Val >, U extends Addable< U > >.getReceiver ( )
Author
Brammert Ottens, 20 mei 2009
Returns
the receiver of this message

References frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.getPayload1().

Here is the call graph for this function:

◆ getSender()

String frodo2.algorithms.adopt.HeuristicMsg< Val extends Addable< Val >, U extends Addable< U > >.getSender ( )
Author
Brammert Ottens, 20 mei 2009
Returns
the sender of this message

References frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.getPayload2().

Here is the call graph for this function:

◆ getSpace()

UtilitySolutionSpace< Val, U > frodo2.algorithms.adopt.HeuristicMsg< Val extends Addable< Val >, U extends Addable< U > >.getSpace ( )

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