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

A message containing the next variable chosen for a given component. More...

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

Public Member Functions

 NextVarMsg ()
 Empty constructor used for externalization.
 NextVarMsg (HashSet< String > agents, String nextVar)
 Constructor.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
Public Member Functions inherited from frodo2.communication.Message
 Message (MessageType type)
 Constructor.
 Message ()
 Empty constructor.
MessageType getType ()
String toString ()
void fakeSerialize ()
 Pretends to serialize the message.

Package Attributes

HashSet< String > agents
 The set of agents that still have variables to propose.
String nextVar
 The next variable chosen for the given component.

Additional Inherited Members

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

Detailed Description

A message containing the next variable chosen for a given component.

Constructor & Destructor Documentation

◆ NextVarMsg() [1/2]

frodo2.algorithms.varOrdering.linear.NextVarMsg.NextVarMsg ( )

◆ NextVarMsg() [2/2]

frodo2.algorithms.varOrdering.linear.NextVarMsg.NextVarMsg ( HashSet< String > agents,
String nextVar )

Constructor.

Parameters
agentsThe set of agents that still have variables to propose
nextVarThe next Variable

References agents, frodo2.algorithms.varOrdering.linear.LinearOrdering< V extends Addable< V >, U extends Addable< U > >.NEXT_VAR_MSG_TYPE, and nextVar.

Member Function Documentation

◆ readExternal()

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

Reimplemented from frodo2.communication.Message.

◆ writeExternal()

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

Reimplemented from frodo2.communication.Message.

Member Data Documentation

◆ agents

HashSet<String> frodo2.algorithms.varOrdering.linear.NextVarMsg.agents
package

The set of agents that still have variables to propose.

Referenced by NextVarMsg().

◆ nextVar

String frodo2.algorithms.varOrdering.linear.NextVarMsg.nextVar
package

The next variable chosen for the given component.

Referenced by NextVarMsg().


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