public class ProjectJobSchedulingIncrementalScoreCalculator extends Object implements org.optaplanner.core.api.score.calculator.IncrementalScoreCalculator<Schedule,org.optaplanner.core.api.score.buildin.bendable.BendableScore>
| Constructor and Description |
|---|
ProjectJobSchedulingIncrementalScoreCalculator() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEntityAdded(Object entity) |
void |
afterEntityRemoved(Object entity) |
void |
afterVariableChanged(Object entity,
String variableName) |
void |
beforeEntityAdded(Object entity) |
void |
beforeEntityRemoved(Object entity) |
void |
beforeVariableChanged(Object entity,
String variableName) |
org.optaplanner.core.api.score.buildin.bendable.BendableScore |
calculateScore() |
void |
resetWorkingSolution(Schedule schedule) |
public ProjectJobSchedulingIncrementalScoreCalculator()
public void resetWorkingSolution(Schedule schedule)
resetWorkingSolution in interface org.optaplanner.core.api.score.calculator.IncrementalScoreCalculator<Schedule,org.optaplanner.core.api.score.buildin.bendable.BendableScore>public void beforeEntityAdded(Object entity)
beforeEntityAdded in interface org.optaplanner.core.api.score.calculator.IncrementalScoreCalculator<Schedule,org.optaplanner.core.api.score.buildin.bendable.BendableScore>public void afterEntityAdded(Object entity)
afterEntityAdded in interface org.optaplanner.core.api.score.calculator.IncrementalScoreCalculator<Schedule,org.optaplanner.core.api.score.buildin.bendable.BendableScore>public void beforeVariableChanged(Object entity, String variableName)
beforeVariableChanged in interface org.optaplanner.core.api.score.calculator.IncrementalScoreCalculator<Schedule,org.optaplanner.core.api.score.buildin.bendable.BendableScore>public void afterVariableChanged(Object entity, String variableName)
afterVariableChanged in interface org.optaplanner.core.api.score.calculator.IncrementalScoreCalculator<Schedule,org.optaplanner.core.api.score.buildin.bendable.BendableScore>public void beforeEntityRemoved(Object entity)
beforeEntityRemoved in interface org.optaplanner.core.api.score.calculator.IncrementalScoreCalculator<Schedule,org.optaplanner.core.api.score.buildin.bendable.BendableScore>public void afterEntityRemoved(Object entity)
afterEntityRemoved in interface org.optaplanner.core.api.score.calculator.IncrementalScoreCalculator<Schedule,org.optaplanner.core.api.score.buildin.bendable.BendableScore>public org.optaplanner.core.api.score.buildin.bendable.BendableScore calculateScore()
calculateScore in interface org.optaplanner.core.api.score.calculator.IncrementalScoreCalculator<Schedule,org.optaplanner.core.api.score.buildin.bendable.BendableScore>Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.