|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A BasicUtilitySolutionSpace iterator that skips infeasible solutions. More...

Public Member Functions | |
| U | nextUtility () |
| U | getCurrentUtility () |
| void | setCurrentUtility (U util) |
| Sets the utility of the current solution. | |
| Public Member Functions inherited from frodo2.solutionSpaces.SolutionSpace< V extends Addable< V > >.SparseIterator< V > | |
| V[] | nextSolution () |
| V[] | getCurrentSolution () |
| String[] | getVariablesOrder () |
| V[][] | getDomains () |
| void | update () |
| It is supposed to be called if the solution space upon which the iterator is based has changed. | |
A BasicUtilitySolutionSpace iterator that skips infeasible solutions.
| <V> | the type used for variable values |
| <U> | the type used for utility values |
| U frodo2.solutionSpaces.BasicUtilitySolutionSpace< V extends Addable< V >, U extends Serializable >.SparseIterator< V, U >.getCurrentUtility | ( | ) |
Implemented in frodo2.solutionSpaces.hypercube.BasicHypercubeIter< V extends Addable< V >, U extends Serializable >, frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >, frodo2.solutionSpaces.hypercube.ScalarBasicSpaceIter< V extends Addable< V >, U extends Serializable >, frodo2.solutionSpaces.JaCoP.JaCoPutilSpaceIter< U extends Addable< U > >, frodo2.solutionSpaces.JaCoP.JaCoPutilSpaceIter2< V extends Addable< V > >, frodo2.solutionSpaces.JaCoP.JaCoPutilSpaceIterBestFirst< V extends Addable< V > >, frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.BestFirstIterator, frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.VRPiterator, and frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.VRPiteratorBestFirst.
Referenced by frodo2.algorithms.dpop.stochastic.test.ExpectedUTILtest.Listener.checkOutput(), frodo2.solutionSpaces.hypercube.tests.HypercubeTest.testConsensusWeighted(), frodo2.solutionSpaces.hypercube.tests.HypercubeTest.testExpectation(), frodo2.solutionSpaces.hypercube.tests.HypercubeIterTest.testMoreVars(), frodo2.solutionSpaces.hypercube.tests.HypercubeIterTest.testOtherOrder(), frodo2.solutionSpaces.hypercube.tests.HypercubeIterTest.testSameOrder(), and frodo2.solutionSpaces.hypercube.tests.HypercubeIterTest.testSubDoms().
| U frodo2.solutionSpaces.BasicUtilitySolutionSpace< V extends Addable< V >, U extends Serializable >.SparseIterator< V, U >.nextUtility | ( | ) |
Implemented in frodo2.solutionSpaces.hypercube.BasicHypercubeIter< V extends Addable< V >, U extends Serializable >, frodo2.solutionSpaces.hypercube.HyperCubeIterBestFirst< V extends Addable< V >, U extends Addable< U > >, frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >, frodo2.solutionSpaces.hypercube.ScalarBasicSpaceIter< V extends Addable< V >, U extends Serializable >, frodo2.solutionSpaces.JaCoP.JaCoPutilSpaceIter< U extends Addable< U > >, frodo2.solutionSpaces.JaCoP.JaCoPutilSpaceIter2< V extends Addable< V > >, frodo2.solutionSpaces.JaCoP.JaCoPutilSpaceIterBestFirst< V extends Addable< V > >, frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.BestFirstIterator, frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.VRPiterator, and frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.VRPiteratorBestFirst.
Referenced by frodo2.algorithms.dpop.stochastic.test.ExpectedUTILtest.Listener.checkOutput(), frodo2.solutionSpaces.hypercube.BasicHypercube< V extends Addable< V >, U extends Serializable >.equivalent(), frodo2.solutionSpaces.hypercube.BasicHypercube< V extends Addable< V >, U extends Serializable >.prettyPrint(), frodo2.solutionSpaces.hypercube.BasicHypercube< V extends Addable< V >, U extends Serializable >.slice(), frodo2.solutionSpaces.vehiclerouting.test.VRPtests.testBestFirstiterator(), frodo2.solutionSpaces.vehiclerouting.test.VRPtests.testCompoundBestFirstIterator(), frodo2.solutionSpaces.hypercube.tests.HypercubeTest.testConsensusWeighted(), frodo2.solutionSpaces.hypercube.tests.HypercubeTest.testExpectation(), frodo2.solutionSpaces.hypercube.tests.HypercubeIterTest.testMoreVars(), frodo2.solutionSpaces.hypercube.tests.HypercubeIterTest.testOtherOrder(), frodo2.algorithms.dpop.count.test.TestCountSolutions.testRandom(), frodo2.solutionSpaces.hypercube.tests.HypercubeIterTest.testSameOrder(), and frodo2.solutionSpaces.hypercube.tests.HypercubeIterTest.testSubDoms().
| void frodo2.solutionSpaces.BasicUtilitySolutionSpace< V extends Addable< V >, U extends Serializable >.SparseIterator< V, U >.setCurrentUtility | ( | U | util | ) |
Sets the utility of the current solution.
| util | the new utility |
Implemented in frodo2.solutionSpaces.hypercube.BasicHypercubeIter< V extends Addable< V >, U extends Serializable >, frodo2.solutionSpaces.hypercube.HyperCubeIterBestFirst< V extends Addable< V >, U extends Addable< U > >, frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.JoinOutputIterator< V extends Addable< V >, U extends Addable< U > >, frodo2.solutionSpaces.hypercube.ScalarBasicSpaceIter< V extends Addable< V >, U extends Serializable >, frodo2.solutionSpaces.JaCoP.JaCoPutilSpaceIter< U extends Addable< U > >, frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.BestFirstIterator, and frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.VRPiteratorBestFirst.