| Modifier and Type | Field and Description |
|---|---|
IMapper.Language |
lang
Language of the source/target data.
|
ACache |
source
Source cache.
|
ACache |
target
Target cache.
|
| Constructor and Description |
|---|
HeliosPlanner(ACache source,
ACache target)
Constructor of the Helios planner class.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAtomicMappingSizes(String measure,
double threshold)
Computes atomic mapping sizes for a measure.
|
double |
getAtomicRuntimeCosts(String measure,
double threshold)
Computes atomic costs for a metric expression.
|
NestedPlan |
getBestConjunctivePlan(LinkSpecification spec,
List<NestedPlan> plans,
double selectivity)
Computes the left-order best instructionList for a list of plans.
|
NestedPlan |
getBestConjunctivePlan(LinkSpecification spec,
NestedPlan left,
List<NestedPlan> plans,
double selectivity)
Computes the best conjunctive instructionList for a instructionList
against a list of plans by calling back the method.
|
NestedPlan |
getBestConjunctivePlan(LinkSpecification spec,
NestedPlan left,
NestedPlan right,
double selectivity)
Find the least costly plan for a link specification with AND operator.
|
double |
getFilterCosts(List<String> measures,
int mappingSize)
Computes costs for a filtering instruction.
|
boolean |
isStatic()
Returns the status of the planner.
|
LinkSpecification |
normalize(LinkSpecification spec)
Normalization of input link specification.
|
NestedPlan |
plan(LinkSpecification spec)
Generates a NestedPlan for a link specification.
|
NestedPlan |
plan(LinkSpecification spec,
ACache source,
ACache target,
AMapping sourceMapping,
AMapping targetMapping)
Generates a NestedPlan based on the optimality assumption used in
databases.
|
public ACache source
public ACache target
public IMapper.Language lang
public double getAtomicRuntimeCosts(String measure, double threshold)
measure - Measure of metric expressionthreshold - Threshold of metric expressionpublic double getAtomicMappingSizes(String measure, double threshold)
measure - Measure of metric expressionthreshold - Threshold of metric expressionpublic double getFilterCosts(List<String> measures, int mappingSize)
measures - The set of expressions used to filtermappingSize - Size of mappingpublic NestedPlan plan(LinkSpecification spec)
spec - Input link specificationpublic NestedPlan plan(LinkSpecification spec, ACache source, ACache target, AMapping sourceMapping, AMapping targetMapping)
getBestConjunctivePlan(org.aksw.limes.core.io.ls.LinkSpecification, java.util.List<org.aksw.limes.core.execution.planning.plan.NestedPlan>, double) }.spec - Input link specificationsource - Source cachetarget - Target cachesourceMapping - Size of source mappingtargetMapping - Size of target mappingpublic NestedPlan getBestConjunctivePlan(LinkSpecification spec, List<NestedPlan> plans, double selectivity)
spec - Input link specificationplans - List of plansselectivity - Selectivity of the instructionList (known beforehand)public NestedPlan getBestConjunctivePlan(LinkSpecification spec, NestedPlan left, List<NestedPlan> plans, double selectivity)
spec - Input link specificationleft - Left instructionListplans - List of other plansselectivity - Overall selectivitypublic NestedPlan getBestConjunctivePlan(LinkSpecification spec, NestedPlan left, NestedPlan right, double selectivity)
spec - The link specificationleft - Left child nested planright - Right child nested planselectivity, - The overall selectivitypublic boolean isStatic()
public LinkSpecification normalize(LinkSpecification spec)
spec - The normalized link specificationCopyright © 2020. All rights reserved.