|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJaCoP.search.IndomainSimpleRandom<T>
T - type of variable being used in the search.public class IndomainSimpleRandom<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 | |
|---|---|
IndomainSimpleRandom()
It does not achieve uniform probability but it does work faster than IndomainRandom. |
|
| 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 IndomainSimpleRandom()
| 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 | ||||||||