|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A message containing the optimal solution found so far. More...

Public Member Functions | |
| SolutionMsg () | |
| Empty constructor used for externalization. | |
| SolutionMsg (MessageType type, Comparable<?> componentID, V[][] solution, U cost) | |
| Constructor. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| Comparable<?> | getCompID () |
| V[][] | getSolution () |
| U | getCost () |
| 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. | |
Protected Attributes | |
| Comparable<?> | componentID |
| ID of the component in the constraint graph. | |
| V[][] | solution |
| The chosen assignments to variables. | |
| U | cost |
| The optimal cost. | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
A message containing the optimal solution found so far.
| <V> | the type used for variable values |
| <U> | the type used for utility values |
| frodo2.algorithms.afb.SolutionMsg< V extends Addable< V >, U extends Addable< U > >.SolutionMsg | ( | ) |
Empty constructor used for externalization.
| frodo2.algorithms.afb.SolutionMsg< V extends Addable< V >, U extends Addable< U > >.SolutionMsg | ( | MessageType | type, |
| Comparable<?> | componentID, | ||
| V | solution[][], | ||
| U | cost ) |
Constructor.
| type | the type of this message |
| componentID | The ID of the component in the constraint graph |
| solution | the chosen assignments to variables |
| cost | the optimal cost |
References componentID, cost, solution, and frodo2.communication.Message.type.
| Comparable<?> frodo2.algorithms.afb.SolutionMsg< V extends Addable< V >, U extends Addable< U > >.getCompID | ( | ) |
Referenced by frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.processLinearOrdering().
| U frodo2.algorithms.afb.SolutionMsg< V extends Addable< V >, U extends Addable< U > >.getCost | ( | ) |
Referenced by toString().
| V[][] frodo2.algorithms.afb.SolutionMsg< V extends Addable< V >, U extends Addable< U > >.getSolution | ( | ) |
Referenced by toString().
| void frodo2.algorithms.afb.SolutionMsg< V extends Addable< V >, U extends Addable< U > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.Message.
References readExternal().
Referenced by readExternal().

| String frodo2.algorithms.afb.SolutionMsg< V extends Addable< V >, U extends Addable< U > >.toString | ( | ) |
Reimplemented from frodo2.communication.Message.
References getCost(), and getSolution().

| void frodo2.algorithms.afb.SolutionMsg< V extends Addable< V >, U extends Addable< U > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.Message.
|
protected |
ID of the component in the constraint graph.
Referenced by SolutionMsg().
|
protected |
The optimal cost.
Referenced by SolutionMsg().
|
protected |
The chosen assignments to variables.
Referenced by SolutionMsg().