public interface ILocalSearchAdapter
Modifier and Type | Method and Description |
---|---|
void |
executorInitializing(SearchPlanExecutor searchPlanExecutor,
MatchingFrame frame)
Callback method to indicate that a search plan executor is initialized with the given frame and starting operation
|
void |
matchFound(SearchPlanExecutor planExecutor,
MatchingFrame frame)
Callback that is used to indicate that a match has been found
|
void |
operationExecuted(SearchPlanExecutor planExecutor,
MatchingFrame frame)
Callback method to indicate that an operation is executed
|
void |
operationSelected(SearchPlanExecutor planExecutor,
MatchingFrame frame)
Callback method to indicate the selection of an operation to execute
|
void |
patternMatchingFinished(LocalSearchMatcher lsMatcher)
Callback method to indicate the end of a matching process
|
void |
patternMatchingStarted(LocalSearchMatcher lsMatcher)
Callback method to indicate the start of a matching process
|
void |
planChanged(SearchPlanExecutor oldPlanExecutor,
SearchPlanExecutor newPlanExecutor)
Callback method to indicate switching to a new plan during the execution of a pattern matching
|
void patternMatchingStarted(LocalSearchMatcher lsMatcher)
lsMatcher
- the local search matcher that starts the matchingvoid patternMatchingFinished(LocalSearchMatcher lsMatcher)
lsMatcher
- the local search matcher that finishedvoid planChanged(SearchPlanExecutor oldPlanExecutor, SearchPlanExecutor newPlanExecutor)
oldPlanExecutor
- the plan that is finished. Value is null when the first plan is starting.newPlanExecutor
- the plan that will begin executionvoid operationSelected(SearchPlanExecutor planExecutor, MatchingFrame frame)
planExecutor
- the current plan executorframe
- the current matching framevoid operationExecuted(SearchPlanExecutor planExecutor, MatchingFrame frame)
planExecutor
- the current plan executorframe
- the current matching framevoid matchFound(SearchPlanExecutor planExecutor, MatchingFrame frame)
planExecutor
- the search plan executor that found the matchframe
- the frame that holds the substitutions of the variables that matchvoid executorInitializing(SearchPlanExecutor searchPlanExecutor, MatchingFrame frame)
searchPlanExecutor
- frame
-