Class ExecutionEngine
- java.lang.Object
-
- org.aksw.limes.core.execution.engine.ExecutionEngine
-
- All Implemented Interfaces:
IExecutionEngine
- Direct Known Subclasses:
ParallelExecutionEngine,SimpleExecutionEngine
public abstract class ExecutionEngine extends Object implements IExecutionEngine
Implements the execution engine abstract class. The engine gets as input a link specification and a planner type, executes the plan returned from the planner and returns the set of links as a mapping.- Version:
- 1.0
- Author:
- Axel-C. Ngonga Ngomo (ngonga@informatik.uni-leipzig.de), Kleanthi Georgala (georgala@informatik.uni-leipzig.de)
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AMapping>bufferList of intermediate mappings.protected doubleexpectedSelectivityprotected longoptimizationTimeprotected ACachesourceSource cache.protected StringsourceVariableSource variable (usually "?x").protected ACachetargetTarget cache.protected StringtargetVariableTarget variable (usually "?y").
-
Constructor Summary
Constructors Constructor Description ExecutionEngine(ACache source, ACache target, String sourceVar, String targetVar)Constructor for an execution engine.ExecutionEngine(ACache source, ACache target, String sourceVar, String targetVar, long maxOpt, double k)Constructor for an execution engine.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AMapping>getBuffer()voidsetBuffer(List<AMapping> buffer)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.aksw.limes.core.execution.engine.IExecutionEngine
execute
-
-
-
-
Field Detail
-
sourceVariable
protected String sourceVariable
Source variable (usually "?x").
-
targetVariable
protected String targetVariable
Target variable (usually "?y").
-
source
protected ACache source
Source cache.
-
target
protected ACache target
Target cache.
-
optimizationTime
protected long optimizationTime
-
expectedSelectivity
protected double expectedSelectivity
-
-
Constructor Detail
-
ExecutionEngine
public ExecutionEngine(ACache source, ACache target, String sourceVar, String targetVar)
Constructor for an execution engine.- Parameters:
source- Source cachetarget- Target cachesourceVar- Source variabletargetVar- Target variable
-
ExecutionEngine
public ExecutionEngine(ACache source, ACache target, String sourceVar, String targetVar, long maxOpt, double k)
Constructor for an execution engine.- Parameters:
source- Source cachetarget- Target cachesourceVar- Source variabletargetVar- Target variablemaxOpt- , optimization time constraintk- , expected selectivity
-
-