FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.afb.FbEstimateMsg< V extends Addable< V >, U extends Addable< U > > Class Template Reference

The FB_ESTIMATE message in AFB. More...

Inheritance diagram for frodo2.algorithms.afb.FbEstimateMsg< V extends Addable< V >, U extends Addable< U > >:

Public Member Functions

 FbEstimateMsg ()
 Empty constructor used for externalization.
 FbEstimateMsg (String dest, String sender, PA< V, U > pa, Timestamp timestamp, U estimate)
 Constructor.
String toString ()
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException
Public Member Functions inherited from frodo2.algorithms.afb.AFBBaseMsg< V, U >
 AFBBaseMsg ()
 Empty constructor used for externalization.
String toString ()
void writeExternal (ObjectOutput out) throws IOException
void readExternal (ObjectInput in) throws IOException, ClassNotFoundException

Package Attributes

String sender
 The sender of the message.
estimate
 The estimated lower bound of the cost incurred by the optimal assignment to the sender variable.

Additional Inherited Members

Public Attributes inherited from frodo2.algorithms.afb.AFBBaseMsg< V, U >
String dest
 The destination variable.
Protected Attributes inherited from frodo2.algorithms.afb.AFBBaseMsg< V, U >
PA< V, U > pa
 The partial assignment that is passed over to dest.
Timestamp timestamp
 Timestamp for the PA the message carries.

Detailed Description

The FB_ESTIMATE message in AFB.

Parameters
<V>the type used for variable values
<U>the type used for utility values
Author
Alexandra Olteanu, Thomas Leaute

Constructor & Destructor Documentation

◆ FbEstimateMsg() [1/2]

◆ FbEstimateMsg() [2/2]

frodo2.algorithms.afb.FbEstimateMsg< V extends Addable< V >, U extends Addable< U > >.FbEstimateMsg ( String dest,
String sender,
PA< V, U > pa,
Timestamp timestamp,
U estimate )

Constructor.

Parameters
destThe destination variable
senderThe sender variable
paThe current PA
timestampTimestamp associated to the PA
estimateThe estimated lower bound of the cost incurred by the optimal assignment to the sender variable

References frodo2.algorithms.afb.AFBBaseMsg< V, U >.dest, estimate, frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.FB_ESTIMATE_TYPE, frodo2.algorithms.afb.AFBBaseMsg< V, U >.pa, sender, and frodo2.algorithms.afb.AFBBaseMsg< V, U >.timestamp.

Member Function Documentation

◆ readExternal()

void frodo2.algorithms.afb.FbEstimateMsg< V extends Addable< V >, U extends Addable< U > >.readExternal ( ObjectInput in) throws IOException, ClassNotFoundException
See also
AFBBaseMsg.readExternal(java.io.ObjectInput)

◆ toString()

String frodo2.algorithms.afb.FbEstimateMsg< V extends Addable< V >, U extends Addable< U > >.toString ( )

◆ writeExternal()

void frodo2.algorithms.afb.FbEstimateMsg< V extends Addable< V >, U extends Addable< U > >.writeExternal ( ObjectOutput out) throws IOException
See also
AFBBaseMsg.writeExternal(java.io.ObjectOutput)

Member Data Documentation

◆ estimate

U frodo2.algorithms.afb.FbEstimateMsg< V extends Addable< V >, U extends Addable< U > >.estimate
package

The estimated lower bound of the cost incurred by the optimal assignment to the sender variable.

Todo
Useless field.

Referenced by FbEstimateMsg(), and frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.processFbEstimate().

◆ sender

String frodo2.algorithms.afb.FbEstimateMsg< V extends Addable< V >, U extends Addable< U > >.sender
package

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