|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Class containing a single assignment with its utility. More...
Public Member Functions | |
| Assignment (int assignment, U utilIndex) | |
| Constructor. | |
Private Attributes | |
| int | assignment |
| the index of the utility in the space utility array. | |
| U | util |
| The utility corresponding to the assignment. | |
Class containing a single assignment with its utility.
| <U> | type used for utility values |
| frodo2.solutionSpaces.hypercube.HyperCubeIterBestFirst< V extends Addable< V >, U extends Addable< U > >.Assignment< U extends Addable< U > >.Assignment | ( | int | assignment, |
| U | utilIndex ) |
Constructor.
| assignment | the assignment |
| utilIndex | the index to the corresponding utility |
References assignment.
|
private |
the index of the utility in the space utility array.
Based on this the assignment can be determined
Referenced by Assignment(), frodo2.solutionSpaces.hypercube.HyperCubeIterBestFirst< V extends Addable< V >, U extends Addable< U > >.nextSolution(), and frodo2.solutionSpaces.hypercube.HyperCubeIterBestFirst< V extends Addable< V >, U extends Addable< U > >.nextUtility().
|
private |
The utility corresponding to the assignment.
Referenced by frodo2.solutionSpaces.hypercube.HyperCubeIterBestFirst< V extends Addable< V >, U extends Addable< U > >.MaximizeComp< U extends Addable< U > >.compare(), frodo2.solutionSpaces.hypercube.HyperCubeIterBestFirst< V extends Addable< V >, U extends Addable< U > >.MinimizeComp< U extends Addable< U > >.compare(), frodo2.solutionSpaces.hypercube.HyperCubeIterBestFirst< V extends Addable< V >, U extends Addable< U > >.nextSolution(), and frodo2.solutionSpaces.hypercube.HyperCubeIterBestFirst< V extends Addable< V >, U extends Addable< U > >.nextUtility().