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


Public Member Functions | |
| Computable (const FirstOrderLiteral &literal, const std::vector< DefiningReasoner > &reasonerList) | |
| Computable (const PredicatePtr &predicate, bool isNegative, const std::vector< DefiningReasoner > &reasonerList) | |
| const auto & | reasonerList () const |
| Computable (const FirstOrderLiteral &literal, const std::vector< DefiningReasoner > &reasonerList) | |
| Computable (const PredicatePtr &predicate, bool isNegative, const std::vector< DefiningReasoner > &reasonerList) | |
| const auto & | reasonerList () const |
Public Member Functions inherited from knowrob::FirstOrderLiteral | |
| FirstOrderLiteral (const PredicatePtr &predicate, bool isNegative) | |
| const auto & | predicate () const |
| auto | isNegated () const |
| void | setIsNegated (bool isNegated) |
| auto & | functor () const |
| auto | arity () const |
| virtual uint32_t | numVariables () const |
| void | write (std::ostream &os) const override |
| FirstOrderLiteral (const PredicatePtr &predicate, bool isNegative) | |
| const auto & | predicate () const |
| auto | isNegated () const |
| void | setIsNegated (bool isNegated) |
| auto & | functor () const |
| auto | arity () const |
| virtual uint32_t | numVariables () const |
| void | write (std::ostream &os) const override |
Public Member Functions inherited from knowrob::Printable | |
| virtual | ~Printable ()=default |
| virtual std::string | format () const |
| virtual | ~Printable ()=default |
| virtual std::string | format () const |
Protected Attributes | |
| std::vector< DefiningReasoner > | reasonerList_ |
Protected Attributes inherited from knowrob::FirstOrderLiteral | |
| const PredicatePtr | predicate_ |
| bool | isNegated_ |
A computable first-order literal that can be evaluated by a goal-driven reasoner.
Definition at line 17 of file Computable.h.
| Computable::Computable | ( | const FirstOrderLiteral & | literal, |
| const std::vector< DefiningReasoner > & | reasonerList | ||
| ) |
Create a computable first-order literal.
| literal | the first-order literal. |
| reasonerList | the list of reasoners. |
Definition at line 10 of file Computable.cpp.
| Computable::Computable | ( | const PredicatePtr & | predicate, |
| bool | isNegative, | ||
| const std::vector< DefiningReasoner > & | reasonerList | ||
| ) |
Create a computable first-order literal.
| predicate | the predicate of the literal. |
| isNegative | true if the literal is negated. |
| reasonerList | the list of reasoners that define the predicate. |
Definition at line 13 of file Computable.cpp.
| knowrob::Computable::Computable | ( | const FirstOrderLiteral & | literal, |
| const std::vector< DefiningReasoner > & | reasonerList | ||
| ) |
Create a computable first-order literal.
| literal | the first-order literal. |
| reasonerList | the list of reasoners. |
| knowrob::Computable::Computable | ( | const PredicatePtr & | predicate, |
| bool | isNegative, | ||
| const std::vector< DefiningReasoner > & | reasonerList | ||
| ) |
Create a computable first-order literal.
| predicate | the predicate of the literal. |
| isNegative | true if the literal is negated. |
| reasonerList | the list of reasoners that define the predicate. |
|
inline |
|
inline |
|
protected |
Definition at line 42 of file Computable.h.