Package | Description |
---|---|
JaCoP.fz | |
JaCoP.search |
Modifier and Type | Class and Description |
---|---|
class |
Solve.CostListener<T extends Var> |
class |
Solve.EmptyListener<T extends Var> |
Modifier and Type | Class and Description |
---|---|
class |
PrintOutListener<T extends Var> |
class |
SimpleSolutionListener<T extends Var>
It defines a simple solution listener which should be used if some basic
functionality of search when a solution is encountered are required.
|
Modifier and Type | Field and Description |
---|---|
SolutionListener<T>[] |
SimpleSolutionListener.childrenSolutionListeners
It contains children of the solution listener.
|
SolutionListener<? extends Var> |
SimpleSolutionListener.parentSolutionListener
If this search is a slave search than each solution within this search
must be connected to a solution of the master search.
|
SolutionListener<T> |
DepthFirstSearch.solutionListener
It is executed when a solution is found.
|
Modifier and Type | Method and Description |
---|---|
SolutionListener<T> |
Search.getSolutionListener()
It returns the root Solution Listener.
|
SolutionListener<T> |
DepthFirstSearch.getSolutionListener() |
Modifier and Type | Method and Description |
---|---|
void |
SolutionListener.setChildrenListeners(SolutionListener<T> child)
It sets the child listener for this solution listener.
|
void |
SimpleSolutionListener.setChildrenListeners(SolutionListener<T> child) |
void |
SolutionListener.setChildrenListeners(SolutionListener<T>[] children)
It sets the children listeners for this solution listener.
|
void |
SimpleSolutionListener.setChildrenListeners(SolutionListener<T>[] children) |
void |
SolutionListener.setParentSolutionListener(SolutionListener<? extends Var> parent)
It allows to inform sub-search of what is the current number of the
solution in master search.
|
void |
SimpleSolutionListener.setParentSolutionListener(SolutionListener<? extends Var> parent) |
void |
Search.setSolutionListener(SolutionListener<T> listener)
It returns the root of the SolutionListener.
|
void |
DepthFirstSearch.setSolutionListener(SolutionListener<T> listener) |