| Constructor and Description |
|---|
RandomSearchStrategy(int minDepth,
int maxDepth,
int numberOfTries) |
| Modifier and Type | Method and Description |
|---|---|
void |
explore()
This method explores the design space as the implementation specifies.
|
void |
initStrategy(ThreadContext context)
Initializes the strategy with a specific
ThreadContext. |
void |
interruptStrategy()
The implementation of this interface should be ready to be interrupted.
|
public RandomSearchStrategy(int minDepth,
int maxDepth,
int numberOfTries)
public void initStrategy(ThreadContext context)
IStrategyThreadContext.initStrategy in interface IStrategycontext - The context.public void explore()
IStrategypublic void interruptStrategy()
IStrategyIStrategy.explore() method should return ASAP.
This method is also called by the SolutionStore class if enough solutions are found.interruptStrategy in interface IStrategy