|
knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <QueryTree.h>

Classes | |
| class | Node |
| struct | NodeComparator |
| class | Path |
Public Member Functions | |
| QueryTree (const FormulaPtr &query) | |
| ~QueryTree () | |
| QueryTree (const QueryTree &)=delete | |
| auto | numPaths () const |
| const auto & | paths () const |
| auto | begin () const |
| auto | end () const |
| QueryTree (const FormulaPtr &query) | |
| ~QueryTree () | |
| QueryTree (const QueryTree &)=delete | |
| auto | numPaths () const |
| const auto & | paths () const |
| auto | begin () const |
| auto | end () const |
Protected Member Functions | |
| Node * | createNode (Node *parent, const FormulaPtr &phi, bool isNegated) |
| void | expandNextNode () |
| Node * | createNode (Node *parent, const FormulaPtr &phi, bool isNegated) |
| void | expandNextNode () |
Static Protected Member Functions | |
| static std::list< QueryTree::Node * > | getLeafs (Node *n) |
| static bool | hasCompletePath (Node *leaf) |
| static void | constructPath (Node *leaf, Path &path) |
| static std::list< QueryTree::Node * > | getLeafs (Node *n) |
| static bool | hasCompletePath (Node *leaf) |
| static void | constructPath (Node *leaf, Path &path) |
Protected Attributes | |
| const FormulaPtr | query_ |
| std::list< Path > | paths_ |
| Node * | rootNode_ |
| std::priority_queue< Node *, std::vector< Node * >, NodeComparator > | openNodes_ |
Constructs a tableau-like tree by decomposing an input formula.
Definition at line 24 of file QueryTree.h.
|
explicit |
Definition at line 15 of file QueryTree.cpp.
| QueryTree::~QueryTree | ( | ) |
Definition at line 23 of file QueryTree.cpp.
|
delete |
|
explicit |
| knowrob::QueryTree::~QueryTree | ( | ) |
|
delete |
|
inline |
|
inline |
Definition at line 103 of file QueryTree.cpp.
|
protected |
Definition at line 87 of file QueryTree.cpp.
|
protected |
|
inline |
|
inline |
|
protected |
Definition at line 118 of file QueryTree.cpp.
|
protected |
|
staticprotected |
Definition at line 69 of file QueryTree.cpp.
|
staticprotected |
|
staticprotected |
Definition at line 94 of file QueryTree.cpp.
|
staticprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 113 of file QueryTree.h.
|
protected |
Definition at line 105 of file QueryTree.h.
|
protected |
Definition at line 104 of file QueryTree.h.
|
protected |
Definition at line 107 of file QueryTree.h.