|
|||||||||
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.AbstractOptimize
choco.search.BranchAndBound
public class BranchAndBound
A branch and bound implementation of optimizer solver.
Field Summary |
---|
Fields inherited from class choco.search.AbstractOptimize |
---|
doMaximize, lowerBound, objective, targetLowerBound, targetUpperBound, upperBound |
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 | |
---|---|
BranchAndBound(IntDomainVarImpl obj,
boolean maximize)
Builds a new optimizing solver with the specified variable. |
Method Summary | |
---|---|
void |
endTreeSearch()
Called when a new search tree has been completely browsed. |
void |
newTreeSearch()
Called when a new search tree is built. |
Methods inherited from class choco.search.AbstractOptimize |
---|
getBestObjectiveValue, getObjectiveTarget, getObjectiveValue, initBounds, postDynamicCut, postTargetBound, postTargetLowerBound, postTargetUpperBound, recordSolution, setBound, setTargetBound, setTargetLowerBound, setTargetUpperBound |
Methods inherited from class choco.search.AbstractGlobalSearchSolver |
---|
endTreeNode, getEncounteredLimit, incrementalRun, isEncounteredLimit, newTreeNode, nextSolution, popTrace, popTraceUntil, printRuntimeStatistics, pushTrace, 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 |
Constructor Detail |
---|
public BranchAndBound(IntDomainVarImpl obj, boolean maximize)
obj
- is the variable that should be optimizedmaximize
- states if the objective variable should be maximizedMethod Detail |
---|
public void newTreeSearch()
newTreeSearch
in class AbstractGlobalSearchSolver
public void endTreeSearch()
endTreeSearch
in class AbstractGlobalSearchSolver
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |