|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.AbstractEntity
choco.AbstractSolver
choco.search.AbstractGlobalSearchSolver
choco.search.Solve
choco.palm.cbj.search.JumpGlobalSearchSolver
public class JumpGlobalSearchSolver
A solver based on backjumping algorithm. When a contradiction occurs, the latest responsible choice is found and all choice since his one are removed.
Field Summary | |
---|---|
protected Explanation |
currentFail
An explanation justifying the current contradiction. |
Fields inherited from class choco.search.AbstractGlobalSearchSolver |
---|
baseWorld, currentTraceIndex, DOWN_BRANCH, encounteredLimit, INIT_SEARCH, limits, loggingMaxDepth, mainGoal, nbSolutions, nextMove, OPEN_NODE, stopAtFirstSol, traceStack, UP_BRANCH |
Fields inherited from class choco.AbstractSolver |
---|
logger, maxNbSolutionStored, solutions |
Fields inherited from class choco.AbstractEntity |
---|
hook, problem |
Constructor Summary | |
---|---|
JumpGlobalSearchSolver(AbstractProblem pb)
Builds a backjumping solver for the specified problem. |
Method Summary | |
---|---|
java.lang.Boolean |
nextSolution()
Browses the search tree until the next solution or until all the tree has been checked. |
Methods inherited from class choco.search.AbstractGlobalSearchSolver |
---|
endTreeNode, endTreeSearch, getEncounteredLimit, incrementalRun, isEncounteredLimit, newTreeNode, newTreeSearch, popTrace, popTraceUntil, postDynamicCut, printRuntimeStatistics, pushTrace, recordSolution, run, setLoggingMaxDepth, topTrace |
Methods inherited from class choco.AbstractSolver |
---|
existsSolution, makeSolutionFromCurrentState, restoreBestSolution, showSolution, storeSolution |
Methods inherited from class choco.AbstractEntity |
---|
getProblem, pretty |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Explanation currentFail
Constructor Detail |
---|
public JumpGlobalSearchSolver(AbstractProblem pb)
pb
- the problem to solve with this solverMethod Detail |
---|
public java.lang.Boolean nextSolution()
nextSolution
in class AbstractGlobalSearchSolver
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |