public class TspIncrementalScoreCalculator extends org.optaplanner.core.impl.score.director.incremental.AbstractIncrementalScoreCalculator<TspSolution>
Constructor and Description |
---|
TspIncrementalScoreCalculator() |
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.simplelong.SimpleLongScore |
calculateScore() |
void |
resetWorkingSolution(TspSolution tspSolution) |
public void resetWorkingSolution(TspSolution tspSolution)
public void beforeEntityAdded(Object entity)
public void afterEntityAdded(Object entity)
public void beforeEntityRemoved(Object entity)
public void afterEntityRemoved(Object entity)
public org.optaplanner.core.api.score.buildin.simplelong.SimpleLongScore calculateScore()
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.