Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
long |
getCalculationCount()
This method is thread-safe.
|
protected void |
predictWorkingStepScore(Move<Solution_> step,
Score score) |
void |
run() |
String |
toString() |
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)
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.