LocalSearchRuntimeBasedStrategy
and its belonging components instead.@Deprecated public class LocalSearchPlannerStrategy extends java.lang.Object implements IQueryPlannerStrategy
Constructor and Description |
---|
LocalSearchPlannerStrategy()
Deprecated.
|
LocalSearchPlannerStrategy(boolean allowInverseNavigation)
Deprecated.
|
LocalSearchPlannerStrategy(IConstraintEvaluablePredicateProvider constraintEnabler)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.emf.ecore.EClassifier |
extractClassifierLiteral(java.lang.String packageUriAndClassifierName)
Deprecated.
|
SubPlan |
plan(PBody pBody,
org.apache.log4j.Logger logger,
IQueryMetaContext context)
Deprecated.
The implementation of a local search-based algorithm to create a search plan for a flattened (and normalized)
PBody
|
protected PConstraint |
selectFirstConstraint(PBody pBody,
SubPlan plan,
java.util.Set<PConstraint> constraintSet,
IQueryMetaContext context)
Deprecated.
|
protected PConstraint |
selectNextConstraint(PBody pBody,
SubPlan plan,
java.util.Set<PConstraint> constraintSet,
IQueryMetaContext context)
Deprecated.
|
void |
setBoundVariables(java.util.Set<PVariable> initialBoundVariables)
Deprecated.
Sets the initial adornment of the pattern.
|
public LocalSearchPlannerStrategy()
public LocalSearchPlannerStrategy(boolean allowInverseNavigation)
public LocalSearchPlannerStrategy(IConstraintEvaluablePredicateProvider constraintEnabler)
public void setBoundVariables(java.util.Set<PVariable> initialBoundVariables)
initialBoundVariables
- set of PVariables that are boundpublic SubPlan plan(PBody pBody, org.apache.log4j.Logger logger, IQueryMetaContext context) throws QueryProcessingException
plan
in interface IQueryPlannerStrategy
QueryProcessingException
protected PConstraint selectFirstConstraint(PBody pBody, SubPlan plan, java.util.Set<PConstraint> constraintSet, IQueryMetaContext context)
protected PConstraint selectNextConstraint(PBody pBody, SubPlan plan, java.util.Set<PConstraint> constraintSet, IQueryMetaContext context)
protected org.eclipse.emf.ecore.EClassifier extractClassifierLiteral(java.lang.String packageUriAndClassifierName)