FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.varOrdering.dfs.CHILDmsg Class Reference

A token indicating that the destination variable is a child of the sender variable. More...

Inheritance diagram for frodo2.algorithms.varOrdering.dfs.CHILDmsg:

Public Member Functions

 CHILDmsg ()
 Empty constructor.
 CHILDmsg (String sender, String dest, Serializable rootID)
 Constructor.
String toString ()
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
Serializable getRootID ()
String getSender ()
String getDest ()
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)
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 = -6158434988997871871L
 Used for serialization.

Additional Inherited Members

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

Detailed Description

A token indicating that the destination variable is a child of the sender variable.

Constructor & Destructor Documentation

◆ CHILDmsg() [1/2]

frodo2.algorithms.varOrdering.dfs.CHILDmsg.CHILDmsg ( )

◆ CHILDmsg() [2/2]

frodo2.algorithms.varOrdering.dfs.CHILDmsg.CHILDmsg ( String sender,
String dest,
Serializable rootID )

Constructor.

Parameters
sendersender variable
destrecipient variable
rootIDthe root ID

References frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.CHILD_MSG_TYPE.

Member Function Documentation

◆ getDest()

◆ getRootID()

Serializable frodo2.algorithms.varOrdering.dfs.CHILDmsg.getRootID ( )
Returns
the root ID

Referenced by toString(), and writeExternal().

◆ getSender()

◆ readExternal()

void frodo2.algorithms.varOrdering.dfs.CHILDmsg.readExternal ( ObjectInput in) throws IOException, ClassNotFoundException

◆ toString()

String frodo2.algorithms.varOrdering.dfs.CHILDmsg.toString ( )

◆ writeExternal()

void frodo2.algorithms.varOrdering.dfs.CHILDmsg.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 >.

Reimplemented in frodo2.algorithms.varOrdering.dfs.CHILDorderMsg, and frodo2.algorithms.varOrdering.dfs.CHILDrandMsg.

References getDest(), getRootID(), and getSender().

Here is the call graph for this function:

Member Data Documentation

◆ serialVersionUID

final long frodo2.algorithms.varOrdering.dfs.CHILDmsg.serialVersionUID = -6158434988997871871L
staticprivate

Used for serialization.


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