|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
An iterator that does NOT skip infeasible solutions. More...

Public Member Functions | |
| long | getNbrSolutions () |
| boolean | hasNext () |
| 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. | |
An iterator that does NOT skip infeasible solutions.
| <V> | the type used for variable values |
| long frodo2.solutionSpaces.SolutionSpace< V extends Addable< V > >.Iterator< V >.getNbrSolutions | ( | ) |
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.JaCoPutilSpaceIterBestFirst< V extends Addable< V > >, frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.BestFirstIterator, and frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.VRPiteratorBestFirst.
Referenced by frodo2.solutionSpaces.JaCoP.JaCoPutilSpace< V extends Addable< V > >.equivalent(), and frodo2.solutionSpaces.hypercube.tests.HypercubeTest.testExpectation().
| boolean frodo2.solutionSpaces.SolutionSpace< V extends Addable< V > >.Iterator< V >.hasNext | ( | ) |
true if there is a next assignment in the SolutionSpace 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.JaCoPutilSpaceIterBestFirst< V extends Addable< V > >, frodo2.solutionSpaces.vehiclerouting.CompoundSpace< U extends Addable< U > >.BestFirstIterator, and frodo2.solutionSpaces.vehiclerouting.VehicleRoutingSpace< U extends Addable< U > >.VRPiteratorBestFirst.
Referenced by frodo2.algorithms.adopt.ADOPT< Val extends Addable< Val >, U extends Addable< U > >.checkAllCostsNonNeg(), frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.checkAllCostsNonNeg(), frodo2.algorithms.synchbb.SynchBB< V extends Addable< V >, U extends Addable< U > >.checkAllCostsNonNeg(), frodo2.algorithms.dpop.stochastic.test.ExpectedUTILtest.Listener.checkOutput(), frodo2.solutionSpaces.hypercube.BasicHypercube< V extends Addable< V >, U extends Serializable >.compose(), frodo2.solutionSpaces.hypercube.BasicHypercube< V extends Addable< V >, U extends Serializable >.equivalent(), frodo2.solutionSpaces.JaCoP.JaCoPutilSpace< V extends Addable< V > >.equivalent(), frodo2.solutionSpaces.hypercube.BlindProjectOutput< V extends Addable< V >, U extends Addable< U > >.projectAll(), frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.projectAll(), frodo2.algorithms.dpop.memory.MemoryBoundedUTIL< V extends Addable< V >, U extends Addable< U > >.projectAndSend(), frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.projExpectMonotone(), frodo2.algorithms.Problem< V extends Addable< V >, U extends Addable< U > >.rescale(), frodo2.solutionSpaces.JaCoP.JaCoPxcspParser< V extends Addable< V > >.rescale(), frodo2.solutionSpaces.hypercube.BlindProjectOutput< V extends Addable< V >, U extends Addable< U > >.resolve(), frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.resolve(), frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.resolve(), 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.HypercubeIterBestFirstTest.testMaximize(), frodo2.solutionSpaces.hypercube.tests.HypercubeIterBestFirstTest.testMinimize(), 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(), frodo2.solutionSpaces.hypercube.tests.HypercubeIterTest.testSubDoms(), frodo2.algorithms.dpop.memory.LabelMsg< V extends Addable< V > >.writeExternal(), frodo2.solutionSpaces.hypercube.BlindProjectOutput< V extends Addable< V >, U extends Addable< U > >.writeExternal(), frodo2.solutionSpaces.hypercube.ExpectationOutput< V extends Addable< V >, U extends Addable< U > >.writeExternal(), and frodo2.solutionSpaces.hypercube.JoinOutputHypercube< V extends Addable< V >, U extends Addable< U > >.writeExternal().