|
knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <DependencyGraph.h>
Public Member Functions | |
| DependencyGraph ()=default | |
| ~DependencyGraph () | |
| DependencyGraph (const DependencyGraph &other)=delete | |
| void | operator+= (const DependencyNodePtr &node) |
| void | insert (const DependencyNodePtr &node) |
| void | insert (const FirstOrderLiteralPtr &literal) |
| void | insert (const std::vector< FirstOrderLiteralPtr > &literals) |
| template<typename Iterator > | |
| void | insert (Iterator begin, Iterator end) |
| auto | begin () const |
| auto | end () const |
| auto | numNodes () const |
| auto | numGroups () const |
| DependencyGraph ()=default | |
| ~DependencyGraph () | |
| DependencyGraph (const DependencyGraph &other)=delete | |
| void | operator+= (const DependencyNodePtr &node) |
| void | insert (const DependencyNodePtr &node) |
| void | insert (const FirstOrderLiteralPtr &literal) |
| void | insert (const std::vector< FirstOrderLiteralPtr > &literals) |
| template<typename Iterator > | |
| void | insert (Iterator begin, Iterator end) |
| auto | begin () const |
| auto | end () const |
| auto | numNodes () const |
| auto | numGroups () const |
Protected Attributes | |
| std::list< DependencyNodePtr > | nodes_ |
| std::list< DependencyGroup > | groups_ |
A graph capturing a dependency relation between literals in a formula. Two literals are viewed as dependant in case they share a free variable. Here, labeled literals are considered.
Definition at line 75 of file DependencyGraph.h.
|
default |
| DependencyGraph::~DependencyGraph | ( | ) |
Definition at line 20 of file DependencyGraph.cpp.
|
delete |
|
default |
| knowrob::DependencyGraph::~DependencyGraph | ( | ) |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
| void DependencyGraph::insert | ( | const DependencyNodePtr & | node | ) |
Add a new node to the graph and compute dependency relation with other nodes.
| node | a dependency node. |
Definition at line 45 of file DependencyGraph.cpp.
| void knowrob::DependencyGraph::insert | ( | const DependencyNodePtr & | node | ) |
Add a new node to the graph and compute dependency relation with other nodes.
| node | a dependency node. |
| void DependencyGraph::insert | ( | const FirstOrderLiteralPtr & | literal | ) |
Add a new node to the graph and compute dependency relation with other nodes.
| literal | a literal. |
Definition at line 40 of file DependencyGraph.cpp.
| void knowrob::DependencyGraph::insert | ( | const FirstOrderLiteralPtr & | literal | ) |
Add a new node to the graph and compute dependency relation with other nodes.
| literal | a literal. |
| void DependencyGraph::insert | ( | const std::vector< FirstOrderLiteralPtr > & | literals | ) |
Add a new node to the graph and compute dependency relation with other nodes.
| literals | set of literals considered in conjunction. |
Definition at line 34 of file DependencyGraph.cpp.
| void knowrob::DependencyGraph::insert | ( | const std::vector< FirstOrderLiteralPtr > & | literals | ) |
Add a new node to the graph and compute dependency relation with other nodes.
| literals | set of literals considered in conjunction. |
|
inline |
Insert a node for each iteration.
| Iterator | an iterator with ++ and * operator |
| begin | marks begin of iteration |
| end | marks end of iteration |
Definition at line 117 of file DependencyGraph.h.
|
inline |
Insert a node for each iteration.
| Iterator | an iterator with ++ and * operator |
| begin | marks begin of iteration |
| end | marks end of iteration |
Definition at line 117 of file DependencyGraph.h.
|
inline |
Definition at line 143 of file DependencyGraph.h.
|
inline |
Definition at line 143 of file DependencyGraph.h.
|
inline |
|
inline |
| void DependencyGraph::operator+= | ( | const DependencyNodePtr & | node | ) |
Same as insert(node).
| node | a dependency node. |
Definition at line 29 of file DependencyGraph.cpp.
| void knowrob::DependencyGraph::operator+= | ( | const DependencyNodePtr & | node | ) |
Same as insert(node).
| node | a dependency node. |
|
protected |
Definition at line 147 of file DependencyGraph.h.
|
protected |
Definition at line 146 of file DependencyGraph.h.