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

Msg sent to transfer through the DFS in top-down way the total number of variables in this component. More...

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

Public Member Functions

 VarNbrMsg ()
 Empty constructor.
int getTotal ()
String getDest ()
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
Public Member Functions inherited from frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >
 MessageWith2Payloads (MessageType type, T1 payload1, T2 payload2)
 Constructor.
 MessageWith2Payloads ()
 Empty constructor.
MessageWith2Payloads< T1, T2 > clone ()
T1 getPayload1 ()
void setPayload1 (T1 payload1)
T2 getPayload2 ()
void setPayload2 (T2 payload2)
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.

Protected Member Functions

 VarNbrMsg (Integer total, String dest)
 Constructor.

Additional Inherited Members

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

Detailed Description

Msg sent to transfer through the DFS in top-down way the total number of variables in this component.

Constructor & Destructor Documentation

◆ VarNbrMsg() [1/2]

frodo2.algorithms.varOrdering.dfs.VarNbrMsg.VarNbrMsg ( )

◆ VarNbrMsg() [2/2]

frodo2.algorithms.varOrdering.dfs.VarNbrMsg.VarNbrMsg ( Integer total,
String dest )
protected

Constructor.

Parameters
totalthe total number of variables in this component
destthe destination of this message

References frodo2.algorithms.varOrdering.dfs.DFSgenerationWithOrder< V extends Addable< V >, U extends Addable< U > >.VARIABLE_COUNT_TYPE.

Member Function Documentation

◆ getDest()

◆ getTotal()

◆ readExternal()

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

◆ writeExternal()

void frodo2.algorithms.varOrdering.dfs.VarNbrMsg.writeExternal ( ObjectOutput out) throws IOException
See also
java.io.Externalizable#writeExternal(java.io.ObjectOutput)

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

References getDest(), and getTotal().

Here is the call graph for this function:

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