|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJaCoP.search.IndomainRandom<T>
T - type of variable being used in the search.public class IndomainRandom<T extends IntVar>
IndomainRandom - implements enumeration method based on the selection of the random value in the domain of FD variable. Can split domains into multiple intervals
| Constructor Summary | |
|---|---|
IndomainRandom()
It specifies Indomain function, which assigns values randomly. |
|
IndomainRandom(int seed)
It specifies Indomain function, which assigns values randomly. |
|
| Method Summary | |
|---|---|
int |
indomain(IntVar 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 IndomainRandom()
public IndomainRandom(int seed)
seed - it specifies the seed of the random generator.| Method Detail |
|---|
public int indomain(IntVar var)
Indomain
indomain in interface Indomain<T extends IntVar>var - defines variable for which value for assignment is suggested.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||