Class InvestmentBiQuantityTransferMoveIteratorFactory
- java.lang.Object
-
- org.optaplanner.examples.investment.solver.move.factory.InvestmentBiQuantityTransferMoveIteratorFactory
-
- All Implemented Interfaces:
org.optaplanner.core.impl.heuristic.selector.move.factory.MoveIteratorFactory<InvestmentSolution,org.optaplanner.core.impl.heuristic.move.Move<InvestmentSolution>>
public class InvestmentBiQuantityTransferMoveIteratorFactory extends Object implements org.optaplanner.core.impl.heuristic.selector.move.factory.MoveIteratorFactory<InvestmentSolution,org.optaplanner.core.impl.heuristic.move.Move<InvestmentSolution>>
-
-
Constructor Summary
Constructors Constructor Description InvestmentBiQuantityTransferMoveIteratorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterator<org.optaplanner.core.impl.heuristic.move.Move<InvestmentSolution>>createOriginalMoveIterator(org.optaplanner.core.api.score.director.ScoreDirector<InvestmentSolution> scoreDirector)Iterator<org.optaplanner.core.impl.heuristic.move.Move<InvestmentSolution>>createRandomMoveIterator(org.optaplanner.core.api.score.director.ScoreDirector<InvestmentSolution> scoreDirector, Random workingRandom)longgetSize(org.optaplanner.core.api.score.director.ScoreDirector<InvestmentSolution> scoreDirector)
-
-
-
Method Detail
-
getSize
public long getSize(org.optaplanner.core.api.score.director.ScoreDirector<InvestmentSolution> scoreDirector)
- Specified by:
getSizein interfaceorg.optaplanner.core.impl.heuristic.selector.move.factory.MoveIteratorFactory<InvestmentSolution,org.optaplanner.core.impl.heuristic.move.Move<InvestmentSolution>>
-
createOriginalMoveIterator
public Iterator<org.optaplanner.core.impl.heuristic.move.Move<InvestmentSolution>> createOriginalMoveIterator(org.optaplanner.core.api.score.director.ScoreDirector<InvestmentSolution> scoreDirector)
- Specified by:
createOriginalMoveIteratorin interfaceorg.optaplanner.core.impl.heuristic.selector.move.factory.MoveIteratorFactory<InvestmentSolution,org.optaplanner.core.impl.heuristic.move.Move<InvestmentSolution>>
-
createRandomMoveIterator
public Iterator<org.optaplanner.core.impl.heuristic.move.Move<InvestmentSolution>> createRandomMoveIterator(org.optaplanner.core.api.score.director.ScoreDirector<InvestmentSolution> scoreDirector, Random workingRandom)
- Specified by:
createRandomMoveIteratorin interfaceorg.optaplanner.core.impl.heuristic.selector.move.factory.MoveIteratorFactory<InvestmentSolution,org.optaplanner.core.impl.heuristic.move.Move<InvestmentSolution>>
-
-