knowrob  2.1.0
A Knowledge Base System for Cognition-enabled Robots
GraphQueryExpansion.h
Go to the documentation of this file.
1 /*
2  * This file is part of KnowRob, please consult
3  * https://github.com/knowrob/knowrob for license details.
4  */
5 
6 #ifndef KNOWROB_GRAPH_QUERY_EXPANSION_H
7 #define KNOWROB_GRAPH_QUERY_EXPANSION_H
8 
9 #include "knowrob/queries/QueryContext.h"
10 #include "knowrob/semweb/GraphPathQuery.h"
11 #include "knowrob/semweb/GraphQuery.h"
12 
13 namespace knowrob {
14  struct GraphQueryExpansion {
16 
18  std::vector<VariablePtr> o_vars;
19  std::vector<VariablePtr> u_vars;
23  uint32_t counter;
24  bool with_reassignment;
25  };
26 
27  using GraphQueryExpansionPtr = std::shared_ptr<GraphQueryExpansion>;
28 }
29 
30 #endif //KNOWROB_GRAPH_QUERY_EXPANSION_H
std::shared_ptr< GraphQueryExpansion > GraphQueryExpansionPtr
std::shared_ptr< const QueryContext > QueryContextPtr
Definition: QueryContext.h:41
std::shared_ptr< GraphQuery > GraphQueryPtr
Definition: GraphQuery.h:65
std::shared_ptr< Variable > VariablePtr
Definition: Variable.h:60
std::vector< VariablePtr > o_vars
std::vector< VariablePtr > u_vars