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

Message used to convey the new value of the sender to a neighbouring variable. More...

Inheritance diagram for frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >:

Public Member Functions

 VALUEmsg ()
 Empty constructor.
 VALUEmsg (MessageType type, String sender, String receiver, Val payload)
 VALUEmsg (String sender, String receiver, Val payload)
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
String getSender ()
String getReceiver ()
Val getValue ()
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.

Static Private Attributes

static final long serialVersionUID = 6485548935259680831L
 Used for serialisation.

Additional Inherited Members

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

Detailed Description

Message used to convey the new value of the sender to a neighbouring variable.

Author
Brammert Ottens, 10 aug 2009
Parameters
<Val>type used for variable values

Constructor & Destructor Documentation

◆ VALUEmsg() [1/3]

◆ VALUEmsg() [2/3]

frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.VALUEmsg ( MessageType type,
String sender,
String receiver,
Val payload )
    Default constructor
Parameters
typethe type of this message
senderthe sender of this message
receiverthe receiver of this message
payloadthe value of the variable

References frodo2.communication.Message.type.

◆ VALUEmsg() [3/3]

frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.VALUEmsg ( String sender,
String receiver,
Val payload )
    Default constructor
Parameters
senderthe sender of this message
receiverthe receiver of this message
payloadthe value of the variable

References frodo2.algorithms.localSearch.dsa.DSA< Val extends Addable< Val >, U extends Addable< U > >.VALUE_MSG_TYPE.

Member Function Documentation

◆ getReceiver()

String frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.getReceiver ( )
Author
Brammert Ottens, 10 aug 2009
Returns
the receiver 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:

◆ getSender()

◆ getValue()

◆ readExternal()

void frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.readExternal ( ObjectInput in) throws IOException, ClassNotFoundException
See also
java.io.Externalizable#readExternal(java.io.ObjectInput)

Reimplemented from frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.

References readExternal().

Referenced by readExternal().

Here is the call graph for this function:

◆ writeExternal()

void frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.writeExternal ( ObjectOutput out) throws IOException
See also
java.io.Externalizable#writeExternal(java.io.ObjectOutput)

Reimplemented from frodo2.communication.MessageWith3Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable >.

Member Data Documentation

◆ serialVersionUID

final long frodo2.algorithms.localSearch.dsa.VALUEmsg< Val extends Addable< Val > >.serialVersionUID = 6485548935259680831L
staticprivate

Used for serialisation.


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