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>
class PrioritySearch.LinkingSearch<T extends Var> extends DepthFirstSearch<T>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) DepthFirstSearch
master
-
Fields 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 Constructor Description LinkingSearch(DepthFirstSearch m)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
constraineCost()
(package private) void
constraineCostFromChild(DepthFirstSearch child)
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 Detail
-
master
DepthFirstSearch master
-
-
Constructor Detail
-
LinkingSearch
LinkingSearch(DepthFirstSearch m)
-
-
Method Detail
-
constraineCost
void constraineCost()
-
constraineCostFromChild
void constraineCostFromChild(DepthFirstSearch child)
-
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.
-
-