Package org.jacop.search
Class IndomainMedian<T extends IntVar>
- java.lang.Object
-
- org.jacop.search.IndomainMedian<T>
-
- Type Parameters:
T
- type of variable being used in search.
- All Implemented Interfaces:
Indomain<T>
public class IndomainMedian<T extends IntVar> extends java.lang.Object implements Indomain<T>
IndomainMedian - implements enumeration method based on the selection of the median value in the domain of FD variable and then right and left values.- Version:
- 4.8
-
-
Constructor Summary
Constructors Constructor Description IndomainMedian()
It creates Indomain heuristic which chooses the middle value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
indomain(IntVar var)
It requires IntVar variable.
-