Package org.jacop.set.search
Class IndomainSetRandom<T extends SetVar>
java.lang.Object
org.jacop.set.search.IndomainSetRandom<T>
- Type Parameters:
T
- type of variable being used in search.
- All Implemented Interfaces:
Indomain<T>
IndomainMin - implements enumeration method based on the selection of the
maximal value in the domain of variable.
- Version:
- 4.10
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIt creates random indomain heuristic with randomly generated seed for random generated.IndomainSetRandom
(Random seed) It creates random indomain heuristic according to the provided random generator. -
Method Summary
-
Field Details
-
seed
Random seed
-
-
Constructor Details
-
IndomainSetRandom
public IndomainSetRandom()It creates random indomain heuristic with randomly generated seed for random generated. -
IndomainSetRandom
It creates random indomain heuristic according to the provided random generator.- Parameters:
seed
- seed for random number genrator
-
-
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.
-