|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
This class' special iterator. More...

Public Member Functions | |
| MyIter (String[] order, V[] assignment, U skippedUtil) | |
| Constructor. | |
| MyIter (String[] order, V[][] iterDoms, V[] assignment, U skippedUtil) | |
| Constructor. | |
| String | toString () |
| U | nextUtility () |
| U | getCurrentUtility () |
| void | setCurrentUtility (U util) |
| V[] | nextSolution () |
| String[] | getVariablesOrder () |
| V[][] | getDomains () |
| void | update () |
| U | nextUtility (U bound, final boolean minimize) |
| U | getCurrentUtility (U bound, boolean minimize) |
| Public Member Functions inherited from frodo2.solutionSpaces.hypercube.ScalarSpaceIter< V, U > | |
| U | nextUtility (U bound, final boolean minimize) |
| U | getCurrentUtility (U bound, final boolean minimize) |
| String | toString () |
Private Member Functions | |
| V[] | nextSolBlind () |
Private Attributes | |
| UtilitySolutionSpace.Iterator< V, U > | iter |
| The iterator over the space that called expectation(). | |
| boolean | delayed = false |
| Whether nextSolution() has been called but the corresponding utility hasn't yet been computed. | |
| long | nbrUtilsOut |
| The number of possible assignments to the random variables. | |
| final V[] | randAssignment |
| The assignment array used by the probSpace iterator. | |
| final V[][] | randDoms |
| The domains of the random variables. | |
Additional Inherited Members | |
| Protected Member Functions inherited from frodo2.solutionSpaces.hypercube.ScalarSpaceIter< V, U > | |
| ScalarSpaceIter () | |
| Empty constructor. | |
This class' special iterator.
| frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.MyIter.MyIter | ( | String[] | order, |
| V[] | assignment, | ||
| U | skippedUtil ) |
Constructor.
| order | the variable iteration order |
| assignment | An array that will be used as the output of nextSolution() |
| skippedUtil | The utility value to be skipped, if any |
References frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.ExpectationOutput(), MyIter(), frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.probSpace, frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.randVars, and frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.space.
Referenced by MyIter(), and MyIter().

| frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.MyIter.MyIter | ( | String[] | order, |
| V | iterDoms[][], | ||
| V[] | assignment, | ||
| U | skippedUtil ) |
Constructor.
| order | the variable iteration order |
| iterDoms | the domains of the iterated variables |
| assignment | An array that will be used as the output of nextSolution() |
| skippedUtil | The utility value to be skipped, if any |
References MyIter(), frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.probSpace, frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.randVars, and frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.space.

| U frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.MyIter.getCurrentUtility | ( | ) |
References frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.addDelayed(), frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.probSpace, frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.randVars, and frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.resolve().
Referenced by getCurrentUtility(), and nextUtility().

| U frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.MyIter.getCurrentUtility | ( | U | bound, |
| boolean | minimize ) |
References getCurrentUtility().

| V[][] frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.MyIter.getDomains | ( | ) |
| String[] frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.MyIter.getVariablesOrder | ( | ) |
|
private |
Referenced by nextSolution().
| V[] frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.MyIter.nextSolution | ( | ) |
| U frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.MyIter.nextUtility | ( | ) |
References getCurrentUtility(), and nextSolution().
Referenced by nextUtility().

| U frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.MyIter.nextUtility | ( | U | bound, |
| final boolean | minimize ) |
References nextUtility().

| void frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.MyIter.setCurrentUtility | ( | U | util | ) |
| String frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.MyIter.toString | ( | ) |
| void frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.MyIter.update | ( | ) |
|
private |
Whether nextSolution() has been called but the corresponding utility hasn't yet been computed.
|
private |
The iterator over the space that called expectation().
|
private |
The number of possible assignments to the random variables.
|
private |
The assignment array used by the probSpace iterator.
|
private |
The domains of the random variables.