|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
An iterator for a JoinOutputHypercube. More...

Public Member Functions | |
| String | toString () |
| U | getCurrentUtility () |
| U | getCurrentUtility (U bound, final boolean minimize) |
| U | nextUtility () |
| U | nextUtility (U bound, final boolean minimize) |
| void | setCurrentUtility (U util) |
| V[] | getCurrentSolution () |
| V[][] | getDomains () |
| long | getNbrSolutions () |
| String[] | getVariablesOrder () |
| boolean | hasNext () |
| V[] | nextSolution () |
| void | update () |
Private Member Functions | |
| JoinOutputIterator (UtilitySolutionSpace.Iterator< V, U >[] iters, boolean addition, U infeasibleUtil, U skippedUtil) | |
| Constructor. | |
| U | nextUtilBlind () |
Private Attributes | |
| UtilitySolutionSpace.Iterator< V, U >[] | iters |
| The underlying iterators. | |
| final boolean | addition |
| Whether we are adding or multiplying. | |
| final U | infeasibleUtil |
| The infeasible utility. | |
| final U | skippedUtil |
| The utility value to skip, if any. | |
An iterator for a JoinOutputHypercube.
| <V> | the type used for variable values |
| <U> | the type used for utility values |
|
private |
Constructor.
| iters | the underlying iterators |
| addition | Whether we are adding or multiplying |
| infeasibleUtil | The infeasible utility |
| skippedUtil | The utility value to skip, if any |
References addition, infeasibleUtil, iters, and skippedUtil.
| V[] frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >.getCurrentSolution | ( | ) |
| U frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >.getCurrentUtility | ( | ) |
References frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.addDelayed(), getCurrentUtility(), iters, frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.multiplyDelayed(), and frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.resolve().
Referenced by getCurrentUtility(), getCurrentUtility(), and nextUtility().

| U frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >.getCurrentUtility | ( | U | bound, |
| final boolean | minimize ) |
References frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.addDelayed(), getCurrentUtility(), iters, frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.multiplyDelayed(), and frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.resolve().

| V[][] frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >.getDomains | ( | ) |
| long frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >.getNbrSolutions | ( | ) |
| String[] frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >.getVariablesOrder | ( | ) |
| boolean frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >.hasNext | ( | ) |
| V[] frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >.nextSolution | ( | ) |
Implements frodo2.solutionSpaces.SolutionSpace< V extends Addable< V > >.SparseIterator< V >.
References nextUtility().

|
private |
References frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.addDelayed(), frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.isInfinite(), frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.multiplyDelayed(), nextUtility(), frodo2.solutionSpaces.UtilitySolutionSpace< V extends Addable< V >, U extends Addable< U > >.SparseIterator< V, U >.nextUtility(), and frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.resolve().
Referenced by nextUtility().

| U frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >.nextUtility | ( | ) |
References nextUtilBlind().
Referenced by nextSolution(), nextUtilBlind(), and nextUtility().

| U frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >.nextUtility | ( | U | bound, |
| final boolean | minimize ) |
References frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.addDelayed(), getCurrentUtility(), infeasibleUtil, frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.isInfinite(), frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.multiplyDelayed(), nextUtility(), and frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.resolve().

| void frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >.setCurrentUtility | ( | U | util | ) |
| String frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >.toString | ( | ) |
References iters.
| void frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >.update | ( | ) |
Implements frodo2.solutionSpaces.SolutionSpace< V extends Addable< V > >.SparseIterator< V >.
|
private |
Whether we are adding or multiplying.
Referenced by JoinOutputIterator().
|
private |
The infeasible utility.
Referenced by JoinOutputIterator(), and nextUtility().
|
private |
The underlying iterators.
Referenced by getCurrentUtility(), getCurrentUtility(), JoinOutputIterator(), and toString().
|
private |
The utility value to skip, if any.
Referenced by JoinOutputIterator().