Package org.jacop.search
Class PrioritySearch.LinkingSearch<T extends Var>
java.lang.Object
org.jacop.search.DepthFirstSearch<T>
org.jacop.search.PrioritySearch.LinkingSearch<T>
- All Implemented Interfaces:
Search<T>
- Enclosing class:
PrioritySearch<T extends Var>
-
Field Summary
FieldsFields inherited from class org.jacop.search.DepthFirstSearch
assignSolution, backtracksOut, backtracksOutCheck, check, childSearches, consistencyListener, cost, costValue, costValueFloat, costVariable, currentChildSearch, debugAll, decisions, decisionsOut, decisionsOutCheck, depth, depthExcludePaths, einAinleftTree, exitChildListener, exitListener, heuristic, id, initializeListener, masterSearch, maxDepth, maxDepthExcludePaths, no, nodes, nodesOut, nodesOutCheck, numberBacktracks, optimize, printInfo, respectSolutionListenerAdvice, solutionListener, store, timeOut, timeOutCheck, timeOutListener, timeOutOccured, tOut, wrongDecisions, wrongDecisionsOut, wrongDecisionsOutCheck
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) void
boolean
labeling()
It is a labeling function called if the search is a sub-search being called from the parent search.Methods inherited from class org.jacop.search.DepthFirstSearch
addChildSearch, assignSolution, assignSolution, getBacktracks, getConsistencyListener, getCostValue, getCostValueFloat, getCostVariable, getDecisions, getExitChildListener, getExitListener, getInitializeListener, getMaximumDepth, getNodes, getSolution, getSolution, getSolutionListener, getTimeOutListener, getVariables, getWrongDecisions, id, label, labeling, labeling, printAllSolutions, setAssignSolution, setBacktracksOut, setChildSearch, setConsistencyListener, setCostVar, setDecisionsOut, setExitChildListener, setExitListener, setID, setInitializeListener, setMasterSearch, setNodesOut, setOptimizationForChildSearches, setOptimize, setPrintInfo, setSelectChoicePoint, setSolutionListener, setStore, setTimeOut, setTimeOutListener, setTimeOutMilliseconds, setWrongDecisionsOut, toString, toStringFull
-
Field Details
-
master
DepthFirstSearch master
-
-
Constructor Details
-
LinkingSearch
LinkingSearch(DepthFirstSearch m)
-
-
Method Details
-
constraineCost
void constraineCost() -
constraineCostFromChild
-
labeling
public boolean labeling()Description copied from class:DepthFirstSearch
It is a labeling function called if the search is a sub-search being called from the parent search. It never assigns a solution as it will be immediately retracted by search calling this one.
-