Class MoveThreadRunner<Solution_,Score_ extends Score<Score_>>
- java.lang.Object
-
- org.optaplanner.core.impl.heuristic.thread.MoveThreadRunner<Solution_,Score_>
-
-
Constructor Summary
Constructors Constructor Description MoveThreadRunner(String logIndentation, int moveThreadIndex, boolean evaluateDoable, BlockingQueue<MoveThreadOperation<Solution_>> operationQueue, OrderByMoveIndexBlockingQueue<Solution_> resultQueue, CyclicBarrier moveThreadBarrier, boolean assertMoveScoreFromScratch, boolean assertExpectedUndoMoveScore, boolean assertStepScoreFromScratch, boolean assertExpectedStepScore, boolean assertShadowVariablesAreNotStaleAfterStep)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCalculationCount()This method is thread-safe.protected voidpredictWorkingStepScore(Move<Solution_> step, Score_ score)voidrun()StringtoString()
-
-
-
Constructor Detail
-
MoveThreadRunner
public MoveThreadRunner(String logIndentation, int moveThreadIndex, boolean evaluateDoable, BlockingQueue<MoveThreadOperation<Solution_>> operationQueue, OrderByMoveIndexBlockingQueue<Solution_> resultQueue, CyclicBarrier moveThreadBarrier, boolean assertMoveScoreFromScratch, boolean assertExpectedUndoMoveScore, boolean assertStepScoreFromScratch, boolean assertExpectedStepScore, boolean assertShadowVariablesAreNotStaleAfterStep)
-
-