Class SearchPlanExecutor
java.lang.Object
tools.refinery.interpreter.localsearch.plan.SearchPlanExecutor
- All Implemented Interfaces:
ILocalSearchAdaptable
A search plan executor is used to execute
SearchPlan instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdapter(ILocalSearchAdapter adapter) voidaddAdapters(List<ILocalSearchAdapter> adapters) doublecost()Calculates the cost of the search plan.booleanexecute(MatchingFrame frame) intvoidvoidremoveAdapter(ILocalSearchAdapter adapter) voidremoveAdapters(List<ILocalSearchAdapter> adapters) voidtoString()
-
Constructor Details
-
SearchPlanExecutor
- Since:
- 2.0
-
-
Method Details
-
getVariableMapping
- Since:
- 2.0
-
getCurrentOperation
public int getCurrentOperation() -
getSearchPlan
-
getParameterMask
- Since:
- 1.7
-
addAdapters
- Specified by:
addAdaptersin interfaceILocalSearchAdaptable
-
removeAdapters
- Specified by:
removeAdaptersin interfaceILocalSearchAdaptable
-
cost
public double cost()Calculates the cost of the search plan. -
execute
- Throws:
InterpreterRuntimeException
-
resetPlan
public void resetPlan() -
printDebugInformation
public void printDebugInformation() -
getContext
-
getAdapters
- Specified by:
getAdaptersin interfaceILocalSearchAdaptable
-
addAdapter
- Specified by:
addAdapterin interfaceILocalSearchAdaptable
-
removeAdapter
- Specified by:
removeAdapterin interfaceILocalSearchAdaptable
-
toString
-