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

A VALUE message, which contains the value assignment of a variable. More...

Inheritance diagram for frodo2.algorithms.asodpop.VALUEmsgPseudo< Val extends Addable< Val > >:

Public Member Functions

 VALUEmsgPseudo ()
 Empty constructor.
 VALUEmsgPseudo (String sender, String receiver, Val context)
 A constructor.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
String getSender ()
String getReceiver ()
Val getContext ()
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 = 7684330564229591518L
 For serialization purposes.

Additional Inherited Members

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

Detailed Description

A VALUE message, which contains the value assignment of a variable.

Author
Brammert Ottens, Thomas Leaute
Parameters
<Val>type used for variable values

Constructor & Destructor Documentation

◆ VALUEmsgPseudo() [1/2]

◆ VALUEmsgPseudo() [2/2]

frodo2.algorithms.asodpop.VALUEmsgPseudo< Val extends Addable< Val > >.VALUEmsgPseudo ( String sender,
String receiver,
Val context )

A constructor.

Parameters
senderThe sender of the message
receiverThe recipient of the message
contextThe context

References frodo2.algorithms.asodpop.ASODPOP< Val extends Addable< Val >, U extends Addable< U > >.VALUE_MSG_TYPE_PSEUDO.

Member Function Documentation

◆ getContext()

Val frodo2.algorithms.asodpop.VALUEmsgPseudo< Val extends Addable< Val > >.getContext ( )
Returns
an array of value assignments

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

Here is the call graph for this function:

◆ getReceiver()

String frodo2.algorithms.asodpop.VALUEmsgPseudo< Val extends Addable< Val > >.getReceiver ( )
Returns
the destination 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()

String frodo2.algorithms.asodpop.VALUEmsgPseudo< Val extends Addable< Val > >.getSender ( )
Returns
the sender 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:

◆ readExternal()

void frodo2.algorithms.asodpop.VALUEmsgPseudo< 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.asodpop.VALUEmsgPseudo< 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.asodpop.VALUEmsgPseudo< Val extends Addable< Val > >.serialVersionUID = 7684330564229591518L
staticprivate

For serialization purposes.


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