knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <Top.h>
Public Member Functions | |
void | write (std::ostream &os) const override |
void | write (std::ostream &os) const override |
Public Member Functions inherited from knowrob::Predicate | |
Predicate (std::string_view functor, const std::vector< TermPtr > &arguments={}) | |
Predicate (AtomPtr functor, const std::vector< TermPtr > &arguments={}) | |
auto & | functor () const |
auto | arity () const |
const std::vector< TermPtr > & | arguments () const |
const std::set< std::string_view > & | variables () |
size_t | hash () const |
Predicate (std::string_view functor, const std::vector< TermPtr > &arguments={}) | |
Predicate (AtomPtr functor, const std::vector< TermPtr > &arguments={}) | |
auto & | functor () const |
auto | arity () const |
const std::vector< TermPtr > & | arguments () const |
const std::set< std::string_view > & | variables () |
size_t | hash () const |
Public Member Functions inherited from knowrob::Formula | |
Formula (const FormulaType &type) | |
virtual | ~Formula ()=default |
bool | operator== (const Formula &other) const |
FormulaType | type () const |
bool | isAtomic () const |
bool | isGround () const |
bool | isTop () const |
bool | isBottom () const |
Formula (const FormulaType &type) | |
virtual | ~Formula ()=default |
bool | operator== (const Formula &other) const |
FormulaType | type () const |
bool | isAtomic () const |
bool | isGround () const |
bool | isTop () const |
bool | isBottom () const |
Public Member Functions inherited from knowrob::Printable | |
virtual | ~Printable ()=default |
virtual std::string | format () const |
virtual | ~Printable ()=default |
virtual std::string | format () const |
Static Public Member Functions | |
static const std::shared_ptr< Top > & | get () |
static const std::shared_ptr< Top > & | get () |
Static Public Member Functions inherited from knowrob::Predicate | |
static FunctionPtr | toFunction (const std::shared_ptr< Predicate > &predicate) |
static std::shared_ptr< Predicate > | fromFunction (const FunctionPtr &fn) |
static FunctionPtr | toFunction (const std::shared_ptr< Predicate > &predicate) |
static std::shared_ptr< Predicate > | fromFunction (const FunctionPtr &fn) |
Protected Member Functions | |
bool | isEqual (const Formula &other) const override |
bool | isEqual (const Formula &other) const override |
Protected Member Functions inherited from knowrob::Predicate | |
std::set< std::string_view > | getVariables1 () const |
std::set< std::string_view > | getVariables1 () const |
Additional Inherited Members | |
Protected Attributes inherited from knowrob::Predicate | |
const AtomPtr | functor_ |
const std::vector< TermPtr > | arguments_ |
const std::set< std::string_view > | variables_ |
Protected Attributes inherited from knowrob::Formula | |
const FormulaType | type_ |
bool | isGround_ = true |
|
static |
|
static |
|
overrideprotectedvirtual |
Reimplemented from knowrob::Predicate.
|
overrideprotectedvirtual |
Reimplemented from knowrob::Predicate.
|
overridevirtual |
Print this object to a stream.
os | the stream to print to. |
Reimplemented from knowrob::Predicate.
|
overridevirtual |
Print this object to a stream.
os | the stream to print to. |
Reimplemented from knowrob::Predicate.