public class GraqlTraversalPlanner extends Object
Resolution planner using GreedyTraversalPlan to establish optimal resolution order..
| Constructor and Description |
|---|
GraqlTraversalPlanner() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.collect.ImmutableList<Atom> |
refinedPlan(ReasonerQueryImpl query)
Refined plan procedure:
- establish a list of starting atom candidates based on their substitutions
- create a plan using
GreedyTraversalPlan
- if the graql plan picks an atom that is not a candidate
- pick an optimal candidate
- call the procedure on atoms with removed candidate
- otherwise return |
public static com.google.common.collect.ImmutableList<Atom> refinedPlan(ReasonerQueryImpl query)
GreedyTraversalPlan
- if the graql plan picks an atom that is not a candidate
- pick an optimal candidate
- call the procedure on atoms with removed candidate
- otherwise returnquery - for which the plan should be constructedGraqlTraversal procedure.Copyright © 2018 Grakn Labs Ltd. All rights reserved.