public class Optimize.ResultListener<T extends Var> extends SimpleSolutionListener<T>
childrenSolutionListeners, noSolutions, parentSolutionListener, parentSolutionNo, solutionLimit, solutions, vars
Constructor and Description |
---|
ResultListener(Var[] v) |
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, setSolutionsNo, setVariables, solutionLimitReached, solutionsNo, toString
public ResultListener(Var[] v)
public boolean executeAfterSolution(Search<T> search, SelectChoicePoint<T> select)
SolutionListener
executeAfterSolution
in interface SolutionListener<T extends Var>
executeAfterSolution
in class SimpleSolutionListener<T extends Var>
search
- the search which have found a solution.select
- the select choice point heuristicCopyright © 2022. All rights reserved.