public final class ResolutionPlan extends Object
Class defining the resolution plan for a given ReasonerQueryImpl.
The plan is constructed either using the GraqlTraversal with the aid of GraqlTraversalPlanner
or in terms of different weights applicable to certain Atom configurations when using the SimplePlanner.
| Constructor and Description |
|---|
ResolutionPlan(ReasonerQueryImpl query) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<Atom> |
plan() |
LinkedList<ReasonerQueryImpl> |
queryPlan()
compute the query resolution plan - list of queries ordered by their cost as computed by the graql traversal planner
|
String |
toString() |
public ResolutionPlan(ReasonerQueryImpl query)
public com.google.common.collect.ImmutableList<Atom> plan()
public LinkedList<ReasonerQueryImpl> queryPlan()
Copyright © 2018 Grakn Labs Ltd. All rights reserved.