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

A message requesting a proposal for the next variable to put in the order. More...

Inheritance diagram for frodo2.algorithms.varOrdering.linear.RequestMsg:

Public Member Functions

 RequestMsg ()
 Empty constructor used for externalization.
 RequestMsg (String senderAgent, Comparable<?> componentID, String latestVar)
 Constructor.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
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.

Package Attributes

transient String senderAgent
 The sender agent.
transient Comparable<?> componentID
 The ID of the connected component of the constraint graph.
transient String latestVar
 The latest variable added to the order.

Additional Inherited Members

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

Detailed Description

A message requesting a proposal for the next variable to put in the order.

Constructor & Destructor Documentation

◆ RequestMsg() [1/2]

frodo2.algorithms.varOrdering.linear.RequestMsg.RequestMsg ( )

◆ RequestMsg() [2/2]

frodo2.algorithms.varOrdering.linear.RequestMsg.RequestMsg ( String senderAgent,
Comparable<?> componentID,
String latestVar )

Constructor.

Parameters
senderAgentthe sender agent
componentIDthe ID of the connected component of the constraint graph
latestVarthe latest variable added to the order

References componentID, latestVar, frodo2.algorithms.varOrdering.linear.LinearOrdering< V extends Addable< V >, U extends Addable< U > >.REQUEST_MSG_TYPE, and senderAgent.

Member Function Documentation

◆ readExternal()

void frodo2.algorithms.varOrdering.linear.RequestMsg.readExternal ( ObjectInput in) throws IOException, ClassNotFoundException
See also
java.io.Externalizable#readExternal(java.io.ObjectInput)

Reimplemented from frodo2.communication.Message.

◆ toString()

String frodo2.algorithms.varOrdering.linear.RequestMsg.toString ( )
See also
Message.toString()

Reimplemented from frodo2.communication.Message.

◆ writeExternal()

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

Reimplemented from frodo2.communication.Message.

Member Data Documentation

◆ componentID

transient Comparable<?> frodo2.algorithms.varOrdering.linear.RequestMsg.componentID
package

The ID of the connected component of the constraint graph.

Referenced by RequestMsg().

◆ latestVar

transient String frodo2.algorithms.varOrdering.linear.RequestMsg.latestVar
package

The latest variable added to the order.

Referenced by RequestMsg().

◆ senderAgent

transient String frodo2.algorithms.varOrdering.linear.RequestMsg.senderAgent
package

The sender agent.

Referenced by RequestMsg().


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