knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <ConjunctiveQuery.h>
Public Member Functions | |
ConjunctiveQuery (const std::vector< FirstOrderLiteralPtr > &query, const QueryContextPtr &ctx=DefaultQueryContext()) | |
ConjunctiveQuery (const FirstOrderLiteralPtr &query, const QueryContextPtr &ctx) | |
auto & | formula () const |
auto & | literals () const |
void | write (std::ostream &os) const override |
ConjunctiveQuery (const std::vector< FirstOrderLiteralPtr > &query, const QueryContextPtr &ctx=DefaultQueryContext()) | |
ConjunctiveQuery (const FirstOrderLiteralPtr &query, const QueryContextPtr &ctx) | |
auto & | formula () const |
auto & | literals () const |
void | write (std::ostream &os) const override |
Public Member Functions inherited from knowrob::Query | |
Query (QueryContextPtr ctx=DefaultQueryContext()) | |
virtual | ~Query ()=default |
auto & | ctx () const |
void | setContext (QueryContextPtr ctx) |
Query (QueryContextPtr ctx=DefaultQueryContext()) | |
virtual | ~Query ()=default |
auto & | ctx () const |
void | setContext (QueryContextPtr ctx) |
Public Member Functions inherited from knowrob::Printable | |
virtual | ~Printable ()=default |
virtual std::string | format () const |
virtual | ~Printable ()=default |
virtual std::string | format () const |
Protected Member Functions | |
ConjunctiveQuery (const QueryContextPtr &ctx=DefaultQueryContext()) | |
ConjunctiveQuery (const QueryContextPtr &ctx=DefaultQueryContext()) | |
Protected Attributes | |
SimpleConjunctionPtr | formula_ |
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 19 of file ConjunctiveQuery.h.
|
explicit |
query | an ordered sequence of triple patterns. |
ctx | the query context. |
Definition at line 18 of file ConjunctiveQuery.cpp.
|
explicit |
query | a single triple pattern. |
ctx | the query context. |
Definition at line 13 of file ConjunctiveQuery.cpp.
|
inlineexplicitprotected |
Definition at line 50 of file ConjunctiveQuery.h.
|
explicit |
query | an ordered sequence of triple patterns. |
ctx | the query context. |
|
explicit |
query | a single triple pattern. |
ctx | the query context. |
|
inlineexplicitprotected |
Definition at line 50 of file ConjunctiveQuery.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Print this object to a stream.
os | the stream to print to. |
Implements knowrob::Printable.
Definition at line 23 of file ConjunctiveQuery.cpp.
|
overridevirtual |
|
protected |
Definition at line 48 of file ConjunctiveQuery.h.