Package org.jacop.search.sgmpcs
Interface ImproveSolution<T extends Var>
-
- Type Parameters:
T
- type of the variable for which choice point is being created.
- All Known Implementing Classes:
SimpleImprovementSearch
public interface ImproveSolution<T extends Var>
Defines an interface for defining different methods for selecting next search decision to be taken. The search decision called choice point will be first enforced and later upon backtrack a negation of that search decision will be enforced.- Version:
- 4.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCurrentCost()
int
getFailLimit()
int
getNumberFails()
int[]
getSolution()
boolean
searchFromEliteSolution(int[] solution, int failLimit)
boolean
searchFromEmptySolution(int failLimit)
void
setPrintInfo(boolean p)
void
setTimeOut(long timeOut)
-
-
-
Method Detail
-
searchFromEmptySolution
boolean searchFromEmptySolution(int failLimit)
-
searchFromEliteSolution
boolean searchFromEliteSolution(int[] solution, int failLimit)
-
getCurrentCost
int getCurrentCost()
-
getSolution
int[] getSolution()
-
getNumberFails
int getNumberFails()
-
getFailLimit
int getFailLimit()
-
setPrintInfo
void setPrintInfo(boolean p)
-
setTimeOut
void setTimeOut(long timeOut)
-
-