FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.varOrdering.linear.ProposalMsg< S extends Comparable< S > &Serializable > Class Template Reference

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

Inheritance diagram for frodo2.algorithms.varOrdering.linear.ProposalMsg< S extends Comparable< S > &Serializable >:

Public Member Functions

 ProposalMsg ()
 Empty constructor used for externalization.
 ProposalMsg (String senderAgent, Comparable<?> componentID, String nextVar, S score)
 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 nextVar
 The proposed variable to put next in the order.
transient S score
 The score for the proposed variable.

Additional Inherited Members

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

Detailed Description

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

Parameters
<S>type used for scores

Constructor & Destructor Documentation

◆ ProposalMsg() [1/2]

◆ ProposalMsg() [2/2]

frodo2.algorithms.varOrdering.linear.ProposalMsg< S extends Comparable< S > &Serializable >.ProposalMsg ( String senderAgent,
Comparable<?> componentID,
String nextVar,
S score )

Constructor.

Parameters
senderAgentthe sender agent
componentIDThe ID of the connected component of the constraint graph
nextVarThe proposed variable to put next in the order
scoreThe score for the proposed variable

References componentID, nextVar, frodo2.algorithms.varOrdering.linear.LinearOrdering< V extends Addable< V >, U extends Addable< U > >.PROPOSAL_MSG_TYPE, score, and senderAgent.

Member Function Documentation

◆ readExternal()

void frodo2.algorithms.varOrdering.linear.ProposalMsg< S extends Comparable< S > &Serializable >.readExternal ( ObjectInput in) throws IOException, ClassNotFoundException
See also
java.io.Externalizable#readExternal(java.io.ObjectInput)

Reimplemented from frodo2.communication.Message.

References readExternal().

Referenced by readExternal().

Here is the call graph for this function:

◆ toString()

String frodo2.algorithms.varOrdering.linear.ProposalMsg< S extends Comparable< S > &Serializable >.toString ( )
See also
Message.toString()

Reimplemented from frodo2.communication.Message.

◆ writeExternal()

void frodo2.algorithms.varOrdering.linear.ProposalMsg< S extends Comparable< S > &Serializable >.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.ProposalMsg< S extends Comparable< S > &Serializable >.componentID
package

The ID of the connected component of the constraint graph.

Referenced by ProposalMsg().

◆ nextVar

transient String frodo2.algorithms.varOrdering.linear.ProposalMsg< S extends Comparable< S > &Serializable >.nextVar
package

The proposed variable to put next in the order.

Referenced by ProposalMsg().

◆ score

transient S frodo2.algorithms.varOrdering.linear.ProposalMsg< S extends Comparable< S > &Serializable >.score
package

The score for the proposed variable.

Referenced by ProposalMsg().

◆ senderAgent

transient String frodo2.algorithms.varOrdering.linear.ProposalMsg< S extends Comparable< S > &Serializable >.senderAgent
package

The sender agent.

Referenced by ProposalMsg().


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