FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.StatsReporterWithConvergence< Val extends Addable< Val > >.ConvStatMessage< Val > Class Template Reference

A message containing information about the convergence of the algorithm. More...

Inheritance diagram for frodo2.algorithms.StatsReporterWithConvergence< Val extends Addable< Val > >.ConvStatMessage< Val >:

Public Member Functions

 ConvStatMessage ()
 Empty constructor used for externalization.
 ConvStatMessage (MessageType type, String variableID, ArrayList< CurrentAssignment< Val > > assignmentHistory)
 A constructor.
String getVar ()
ArrayList< CurrentAssignment< Val > > getAssignmentHistory ()
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.
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
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.

Additional Inherited Members

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

Detailed Description

A message containing information about the convergence of the algorithm.

Author
brammert
Parameters
<Val>type used for variable values

Constructor & Destructor Documentation

◆ ConvStatMessage() [1/2]

Empty constructor used for externalization.

◆ ConvStatMessage() [2/2]

frodo2.algorithms.StatsReporterWithConvergence< Val extends Addable< Val > >.ConvStatMessage< Val >.ConvStatMessage ( MessageType type,
String variableID,
ArrayList< CurrentAssignment< Val > > assignmentHistory )

A constructor.

Parameters
typeThe message type
variableIDThe ID of the sending variable
assignmentHistoryThe assignment history of the sending variable

References frodo2.communication.Message.type.

Member Function Documentation

◆ getAssignmentHistory()

ArrayList< CurrentAssignment< Val > > frodo2.algorithms.StatsReporterWithConvergence< Val extends Addable< Val > >.ConvStatMessage< Val >.getAssignmentHistory ( )
Returns
the assignment history of the sending variable

References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload2().

Here is the call graph for this function:

◆ getVar()

String frodo2.algorithms.StatsReporterWithConvergence< Val extends Addable< Val > >.ConvStatMessage< Val >.getVar ( )
Returns
the ID of the sending variable

References frodo2.communication.MessageWith2Payloads< T1 extends Serializable, T2 extends Serializable >.getPayload1().

Here is the call graph for this function:

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