|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJaCoP.search.IndomainList<T>
public class IndomainList<T extends IntVar>
IndomainHierarchical - implements enumeration method based on the selection of the preferred indomain for each variable. The initial idea of having such functionality was proposed by Ben Weiner.
| Constructor Summary | |
|---|---|
IndomainList(int[] order,
Indomain<T> defIndomain)
It creates an IndomainList heuristic for choosing the values. |
|
| Method Summary | |
|---|---|
int |
indomain(T var)
It returns value within a variable which should be used in current assignment. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndomainList(int[] order,
Indomain<T> defIndomain)
order - the order of values used to decide which values goes first.defIndomain - the default indomain used if some values are not specified by the order array.| Method Detail |
|---|
public int indomain(T var)
throws java.lang.RuntimeException
Indomain
indomain in interface Indomain<T extends IntVar>var - defines variable for which value for assignment is suggested.
java.lang.RuntimeException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||