OptaPlanner distribution 6.0.0.Beta5

org.optaplanner.core.impl.heuristic.selector.move.factory
Interface MoveListFactory

All Known Implementing Classes:
BedChangeMoveFactory, BedDesignationPillarPartSwapMoveFactory, BedDesignationSwapMoveFactory, CloudComputerChangeMoveFactory, CloudProcessSwapMoveFactory, EmployeeChangeMoveFactory, ExamSwapMoveFactory, LectureSwapMoveFactory, MatchChainRotationsMoveFactory, PeriodChangeMoveFactory, PeriodChangeMoveFactory, RoomChangeMoveFactory, RoomChangeMoveFactory, RowChangeMoveFactory, ShiftAssignmentPillarPartSwapMoveFactory, ShiftAssignmentSequenceSwitchLength2MoveFactory, ShiftAssignmentSequenceSwitchLength3MoveFactory, ShiftAssignmentSwapMoveFactory

public interface MoveListFactory

A simple interface to generate a List of custom Moves.

For a more powerful version, see MoveIteratorFactory.


Method Summary
 List<Move> createMoveList(Solution solution)
          When it is called depends on the configured SelectionCacheType.
 

Method Detail

createMoveList

List<Move> createMoveList(Solution solution)
When it is called depends on the configured SelectionCacheType.

It can never support SelectionCacheType.JUST_IN_TIME, because it returns a List, not an Iterator.

Parameters:
solution - never null, the Solution of which the Moves need to be generated
Returns:
never null

OptaPlanner distribution 6.0.0.Beta5

Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.