public class SimpleImprovementSearch.CostListener<T extends IntVar> extends SimpleSolutionListener<T>
childrenSolutionListeners, noSolutions, parentSolutionListener, parentSolutionNo, solutionLimit, solutions, vars| Constructor and Description |
|---|
CostListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
executeAfterSolution(Search<T> search,
SelectChoicePoint<T> select)
It is executed by search after a solution is found.
|
assignSolution, assignSolution, findSolutionMatchingParent, getParentSolution, getSolution, getSolutions, getVariables, isRecordingSolutions, printAllSolutions, recordSolution, recordSolutions, returnSolution, returnSolution, searchAll, setChildrenListeners, setChildrenListeners, setParentSolutionListener, setSolutionLimit, solutionLimitReached, solutionsNo, toStringpublic boolean executeAfterSolution(Search<T> search, SelectChoicePoint<T> select)
SolutionListenerexecuteAfterSolution in interface SolutionListener<T extends IntVar>executeAfterSolution in class SimpleSolutionListener<T extends IntVar>search - the search which have found a solution.select - the select choice point heuristicCopyright © 2016. All rights reserved.