Class PartialRecallExecutionEngine
- java.lang.Object
-
- org.aksw.limes.core.execution.engine.ExecutionEngine
-
- org.aksw.limes.core.execution.engine.SimpleExecutionEngine
-
- org.aksw.limes.core.execution.engine.partialrecallengine.PartialRecallExecutionEngine
-
- All Implemented Interfaces:
IExecutionEngine
public class PartialRecallExecutionEngine extends SimpleExecutionEngine
Implements the partial recall execution engine class. The idea is that the engine gets as input a link specification and a planner type, finds a subsumed link specification that achieves the lowest expected run time while achieving at least a predefined excepted recall. Then the partial recall execution engine executes the independent parts of the plan returned from the planner sequentially and returns a mapping.- Version:
- 1.0
- Author:
- Kleanthi Georgala (georgala@informatik.uni-leipzig.de)
-
-
Field Summary
-
Fields inherited from class org.aksw.limes.core.execution.engine.ExecutionEngine
buffer, expectedSelectivity, optimizationTime, source, sourceVariable, target, targetVariable
-
-
Constructor Summary
Constructors Constructor Description PartialRecallExecutionEngine(ACache source, ACache target, String sourceVar, String targetVar, long maxOpt, double k)Constructor for the partial recall execution engine.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AMappingexecute(LinkSpecification spec, IPlanner planner)Executes a link specification.-
Methods inherited from class org.aksw.limes.core.execution.engine.SimpleExecutionEngine
executeDifference, executeDynamic, executeFilter, executeInstructions, executeIntersection, executeRun, executeStatic, executeUnion
-
Methods inherited from class org.aksw.limes.core.execution.engine.ExecutionEngine
getBuffer, setBuffer
-
-
-
-
Constructor Detail
-
PartialRecallExecutionEngine
public PartialRecallExecutionEngine(ACache source, ACache target, String sourceVar, String targetVar, long maxOpt, double k)
Constructor for the partial recall execution engine.- Parameters:
source- Source cachetarget- Target cachesourceVar- Source variabletargetVar- Target variablemaxOpt- , optimization time constraintk- , expected selectivity
-
-
Method Detail
-
execute
public AMapping execute(LinkSpecification spec, IPlanner planner)
Description copied from class:SimpleExecutionEngineExecutes a link specification. The execution engine chooses which execute function is going to be invoked given the planner. For the Canonical and Helios planner, the execution of link specifications has been modeled as a linear process wherein a LS is potentially first rewritten, planned and finally executed. Subsequently, the plan never changes and is simply executed. For the Dynamic planner, we enable a flow of information from the execution engine back to the planner, that uses intermediary execution results to improve plans generated previously.- Specified by:
executein interfaceIExecutionEngine- Overrides:
executein classSimpleExecutionEngine- Parameters:
spec- The link specification, after it was re-writtenplanner- The chosen planner- Returns:
- The mapping obtained from executing the plan of the input link specification
-
-