|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
The message containing the current partial assignment in SynchBB. More...

Public Member Functions | |
| PathMsg () | |
| Empty constructor used for externalization. | |
| PathMsg (String dest, V[][] assignments, int offset, int nbrAssignments, U cost) | |
| Constructor. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| String | toString () |
| Public Member Functions inherited from frodo2.algorithms.synchbb.BTmsg | |
| BTmsg () | |
| Empty constructor used for externalization. | |
| BTmsg (String dest) | |
| Constructor. | |
| 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 | |
| V[][] | assignments |
| The current assignments to variables. | |
| int | offset |
| The first "offset" values of the solution are not sent because they have not changed since the last PATH message. | |
| int | nbrAssignments |
| The number of assignments to send (ignoring the offset). | |
| U | cost |
| The cost of the current partial assignment. | |
Additional Inherited Members | |
| Protected Member Functions inherited from frodo2.algorithms.synchbb.BTmsg | |
| BTmsg (MessageType type, String dest) | |
| Constructor. | |
| Protected Attributes inherited from frodo2.algorithms.synchbb.BTmsg | |
| String | dest |
| The destination variable. | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
The message containing the current partial assignment in SynchBB.
| <V> | the type used for variable values |
| <U> | the type used for utility values |
| frodo2.algorithms.synchbb.PathMsg< V extends Addable< V >, U extends Addable< U > >.PathMsg | ( | ) |
Empty constructor used for externalization.
References frodo2.algorithms.synchbb.SynchBB< V extends Addable< V >, U extends Addable< U > >.PATH_MSG_TYPE.
| frodo2.algorithms.synchbb.PathMsg< V extends Addable< V >, U extends Addable< U > >.PathMsg | ( | String | dest, |
| V | assignments[][], | ||
| int | offset, | ||
| int | nbrAssignments, | ||
| U | cost ) |
Constructor.
| dest | The destination variable |
| assignments | The current assignments to variables |
| offset | The first "offset" values of the solution are not sent because they have not changed since the last PATH message |
| nbrAssignments | The number of assignments to send |
| cost | The cost of the current partial assignment |
References assignments, cost, frodo2.algorithms.synchbb.BTmsg.dest, nbrAssignments, offset, and frodo2.algorithms.synchbb.SynchBB< V extends Addable< V >, U extends Addable< U > >.PATH_MSG_TYPE.
| void frodo2.algorithms.synchbb.PathMsg< V extends Addable< V >, U extends Addable< U > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.algorithms.synchbb.BTmsg.
References nbrAssignments.
| String frodo2.algorithms.synchbb.PathMsg< V extends Addable< V >, U extends Addable< U > >.toString | ( | ) |
Reimplemented from frodo2.algorithms.synchbb.BTmsg.
| void frodo2.algorithms.synchbb.PathMsg< V extends Addable< V >, U extends Addable< U > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.algorithms.synchbb.BTmsg.
|
package |
The current assignments to variables.
Referenced by PathMsg().
|
package |
The cost of the current partial assignment.
Referenced by PathMsg().
|
package |
The number of assignments to send (ignoring the offset).
Referenced by PathMsg(), and readExternal().
|
package |
The first "offset" values of the solution are not sent because they have not changed since the last PATH message.
Referenced by PathMsg().