|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A message holding an assignment to a variable. More...

Public Member Functions | |
| AssignmentMessage () | |
| Empty constructor used for externalization. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| long | getSpaceSize () |
| long | getNumberOfGoodsSent () |
| AssignmentMessage (double treeFillPercentage, double dummyFillPercentage, long numberOfDummies, long numberOfGoodsSent, long spaceSize, U maximalCut) | |
| Constructor. | |
| AssignmentMessage (double treeFillPercentage, double dummyFillPercentage, long numberOfDummies) | |
| Constructor. | |
| double | getTreeFillPercentage () |
| double | getDummyFillPercentage () |
| long | getNumberOfDummies () |
| U | getMaximalCut () |
| 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. | |
Private Attributes | |
| double | treeFillPercentage |
| Stores what percentage of the tree is filled. | |
| double | dummyFillPercentage |
| The dummy fill percentage. | |
| long | numberOfDummies |
| The total number of dummies. | |
| long | numberOfGoodsSent |
| The number of goods that has been sent. | |
| long | spaceSize |
| The total size of the space. | |
| U | maximalCut |
| The maximal cut. | |
Additional Inherited Members | |
| Protected Attributes inherited from frodo2.communication.Message | |
| MessageType | type |
| The type of this message. | |
A message holding an assignment to a variable.
| <Val> | type used for variable values |
| <U> | type used for utility values |
| frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.AssignmentMessage< Val extends Addable< Val >, U extends Addable< U > >.AssignmentMessage | ( | ) |
Empty constructor used for externalization.
| frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.AssignmentMessage< Val extends Addable< Val >, U extends Addable< U > >.AssignmentMessage | ( | double | treeFillPercentage, |
| double | dummyFillPercentage, | ||
| long | numberOfDummies, | ||
| long | numberOfGoodsSent, | ||
| long | spaceSize, | ||
| U | maximalCut ) |
Constructor.
| treeFillPercentage | the percentage of nodes in the tree |
| dummyFillPercentage | the percentage of dummy nodes in the tree |
| numberOfDummies | the absolute number of dummy nodes in the tree |
| numberOfGoodsSent | the number of goods that have been submitted |
| spaceSize | the total number of possible assignments in the space |
| maximalCut | the maximal value with which a utility value has been cut |
References dummyFillPercentage, maximalCut, numberOfDummies, numberOfGoodsSent, spaceSize, and treeFillPercentage.
| frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.AssignmentMessage< Val extends Addable< Val >, U extends Addable< U > >.AssignmentMessage | ( | double | treeFillPercentage, |
| double | dummyFillPercentage, | ||
| long | numberOfDummies ) |
Constructor.
| treeFillPercentage | the percentage of nodes in the tree |
| dummyFillPercentage | the percentage of dummy nodes in the tree |
| numberOfDummies | the absolute number of dummy nodes in the tree |
References dummyFillPercentage, numberOfDummies, frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.OUTPUT_MSG_TYPE, and treeFillPercentage.
| double frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.AssignmentMessage< Val extends Addable< Val >, U extends Addable< U > >.getDummyFillPercentage | ( | ) |
| U frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.AssignmentMessage< Val extends Addable< Val >, U extends Addable< U > >.getMaximalCut | ( | ) |
References maximalCut.
| long frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.AssignmentMessage< Val extends Addable< Val >, U extends Addable< U > >.getNumberOfDummies | ( | ) |
| long frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.AssignmentMessage< Val extends Addable< Val >, U extends Addable< U > >.getNumberOfGoodsSent | ( | ) |
| long frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.AssignmentMessage< Val extends Addable< Val >, U extends Addable< U > >.getSpaceSize | ( | ) |
References spaceSize.
| double frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.AssignmentMessage< Val extends Addable< Val >, U extends Addable< U > >.getTreeFillPercentage | ( | ) |
| void frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.AssignmentMessage< Val extends Addable< Val >, U extends Addable< U > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.communication.Message.
| void frodo2.algorithms.odpop.VALUEpropagation< Val extends Addable< Val >, U extends Addable< U > >.AssignmentMessage< Val extends Addable< Val >, U extends Addable< U > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.communication.Message.
|
private |
The dummy fill percentage.
Referenced by AssignmentMessage(), and AssignmentMessage().
|
private |
The maximal cut.
Referenced by AssignmentMessage(), and getMaximalCut().
|
private |
The total number of dummies.
Referenced by AssignmentMessage(), and AssignmentMessage().
|
private |
The number of goods that has been sent.
Referenced by AssignmentMessage().
|
private |
The total size of the space.
Referenced by AssignmentMessage(), and getSpaceSize().
|
private |
Stores what percentage of the tree is filled.
Referenced by AssignmentMessage(), and AssignmentMessage().