knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <GraphQuery.h>
Protected Member Functions | |
void | write (std::ostream &os) const override |
GraphQuery (const QueryContextPtr &ctx=DefaultQueryContext()) | |
void | write (std::ostream &os) const override |
GraphQuery (const QueryContextPtr &ctx=DefaultQueryContext()) | |
Protected Attributes | |
std::shared_ptr< GraphTerm > | term_ |
Protected Attributes inherited from knowrob::Query | |
QueryContextPtr | ctx_ |
A Query that is constructed from a sequence of literals which are considered to be in a conjunction. The literals are part of a dependency group, meaning that they are connected through free variables.
Definition at line 18 of file GraphQuery.h.
|
explicit |
query | an ordered sequence of graph terms. |
ctx | the query context. |
Definition at line 24 of file GraphQuery.cpp.
|
explicit |
query | an ordered sequence of triple patterns. |
ctx | the query context. |
Definition at line 39 of file GraphQuery.cpp.
|
explicit |
query | a single triple pattern. |
Definition at line 29 of file GraphQuery.cpp.
|
explicit |
query | a single triple pattern. |
ctx | the query context. |
Definition at line 34 of file GraphQuery.cpp.
|
inlineexplicitprotected |
Definition at line 61 of file GraphQuery.h.
|
explicit |
query | an ordered sequence of graph terms. |
ctx | the query context. |
|
explicit |
query | an ordered sequence of triple patterns. |
ctx | the query context. |
|
explicit |
query | a single triple pattern. |
|
explicit |
query | a single triple pattern. |
ctx | the query context. |
|
inlineexplicitprotected |
Definition at line 61 of file GraphQuery.h.
|
inline |
Definition at line 48 of file GraphQuery.h.
|
inline |
Definition at line 48 of file GraphQuery.h.
FormulaPtr GraphQuery::toFormula | ( | ) | const |
Generate a formula from the graph query.
Definition at line 86 of file GraphQuery.cpp.
FormulaPtr knowrob::GraphQuery::toFormula | ( | ) | const |
Generate a formula from the graph query.
|
overrideprotectedvirtual |
Print this object to a stream.
os | the stream to print to. |
Implements knowrob::Printable.
Definition at line 90 of file GraphQuery.cpp.
|
overrideprotectedvirtual |
|
protected |
Definition at line 57 of file GraphQuery.h.