T
- type of variable being used in search.public class IndomainSetRandom<T extends SetVar> extends Object implements Indomain<T>
Constructor and Description |
---|
IndomainSetRandom()
It 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.
|
Modifier and Type | Method and Description |
---|---|
int |
indomain(T var)
It returns value within a variable which should be used in current
assignment.
|
public IndomainSetRandom()
public IndomainSetRandom(Random seed)
seed
- seed for random number genratorCopyright © 2022. All rights reserved.