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

The class of the LABEL messages sent by MB-DPOP's labeling phase. More...

Inheritance diagram for frodo2.algorithms.dpop.memory.LabelMsg< V extends Addable< V > >:

Public Member Functions

 LabelMsg ()
 Default constructor used for externalization.
 LabelMsg (String sender, String dest, HashMap< String, V[]> sep, HashMap< String, V[]> ccs)
 Constructor.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
String getSender ()
String getDest ()
HashMap< String, V[]> getSep ()
HashMap< String, V[]> getCCs ()
String toString ()
Public Member Functions inherited from frodo2.communication.MessageWith4Payloads< T1 extends Serializable, T2 extends Serializable, T3 extends Serializable, T4 extends Serializable >
 MessageWith4Payloads ()
 Empty constructor.
 MessageWith4Payloads (MessageType type, T1 payload1, T2 payload2, T3 payload3, T4 payload4)
 Constructor.
MessageWith4Payloads< T1, T2, T3, T4 > clone ()
T1 getPayload1 ()
void setPayload1 (T1 payload1)
T2 getPayload2 ()
void setPayload2 (T2 payload2)
T3 getPayload3 ()
void setPayload3 (T3 payload3)
T4 getPayload4 ()
void setPayload4 (T4 payload4)
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 Public Attributes

static final MessageType LABEL_MSG_TYPE = new MessageType ("MB-DPOP", "LabelingPhase", "Label")
 The type of the message.

Additional Inherited Members

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

Detailed Description

The class of the LABEL messages sent by MB-DPOP's labeling phase.

Author
Thomas Leaute
Parameters
<V>the type used for variable values

Constructor & Destructor Documentation

◆ LabelMsg() [1/2]

Default constructor used for externalization.

References LABEL_MSG_TYPE.

◆ LabelMsg() [2/2]

frodo2.algorithms.dpop.memory.LabelMsg< V extends Addable< V > >.LabelMsg ( String sender,
String dest,
HashMap< String, V[]> sep,
HashMap< String, V[]> ccs )

Constructor.

Parameters
senderthe sender variable
destthe destination variable
septhe separator of the sender variable, with the corresponding domains
ccscycle-cutset variables and their respective domains

References LABEL_MSG_TYPE.

Member Function Documentation

◆ getCCs()

◆ getDest()

◆ getSender()

◆ getSep()

◆ readExternal()

void frodo2.algorithms.dpop.memory.LabelMsg< V extends Addable< V > >.readExternal ( ObjectInput in) throws IOException, ClassNotFoundException
See also
java.io.Externalizable#readExternal(java.io.ObjectInput)

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

References readExternal().

Referenced by readExternal().

Here is the call graph for this function:

◆ toString()

◆ writeExternal()

void frodo2.algorithms.dpop.memory.LabelMsg< V extends Addable< V > >.writeExternal ( ObjectOutput out) throws IOException

Member Data Documentation

◆ LABEL_MSG_TYPE


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