Package org.jacop.search
Class IndomainSimpleRandom<T extends IntVar>
java.lang.Object
org.jacop.search.IndomainSimpleRandom<T>
- Type Parameters:
T
- type of variable being used in the search.
- All Implemented Interfaces:
Indomain<T>
IndomainRandom - implements enumeration method based on the selection of the
random value in the domain of FD variable. Can split domains into multiple
intervals
- Version:
- 4.8
-
Constructor Summary
ConstructorsConstructorDescriptionIt does not achieve uniform probability but it does work faster than IndomainRandom. -
Method Summary
-
Constructor Details
-
IndomainSimpleRandom
public IndomainSimpleRandom()It does not achieve uniform probability but it does work faster than IndomainRandom.
-
-
Method Details
-
indomain
Description copied from interface:Indomain
It returns value within a variable which should be used in current assignment. This function only returns value, it is not required to do any changes to variable, its domain, etc.
-