[
prev
] [
prev-tail
] [
tail
] [
up
]
B.5
Important methods for search plug-ins
solution listener
–
SimpleSolutionListener
important methods
printAllSolutions()
getSolutions()
solutionsNo()
recordSolutions(boolean status)
searchAll(boolean status)
executeAfterSolution(Search search, SelectChoicePoint
select)
setChildrenListeners(SolutionListener child)
time-out listener
– one can set customized time-out listener that implements
TimeOutListener
interface to perform specific actions at time-out (e.g., print information). Method
executedAtTimeOut(int solutionsNo)
will be executed at time-out.
[
prev
] [
prev-tail
] [
front
] [
up
]