|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.AbstractEntity
choco.search.AbstractGlobalSearchLimit
choco.search.NodeLimit
public final class NodeLimit
Field Summary |
---|
Fields inherited from class choco.search.AbstractGlobalSearchLimit |
---|
nb, nbMax, nbTot, solver, unit |
Fields inherited from class choco.AbstractEntity |
---|
hook, problem |
Constructor Summary | |
---|---|
NodeLimit(AbstractGlobalSearchSolver theSolver,
int theLimit)
|
Method Summary | |
---|---|
boolean |
endNode(AbstractGlobalSearchSolver solver)
notify the limit object whenever the search closes a node in the search tree |
boolean |
newNode(AbstractGlobalSearchSolver solver)
notify the limit object whenever a new node is created in the search tree |
Methods inherited from class choco.search.AbstractGlobalSearchLimit |
---|
getNb, getNbMax, getNbTot, pretty, reset, setNbMax |
Methods inherited from class choco.AbstractEntity |
---|
getProblem |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface choco.Entity |
---|
getProblem |
Constructor Detail |
---|
public NodeLimit(AbstractGlobalSearchSolver theSolver, int theLimit)
Method Detail |
---|
public boolean newNode(AbstractGlobalSearchSolver solver)
IGlobalSearchLimit
solver
- the controller of the search exploration, managing the limit
public boolean endNode(AbstractGlobalSearchSolver solver)
IGlobalSearchLimit
solver
- the controller of the search exploration, managing the limit
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |