knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <Negation.h>
Public Member Functions | |
Negation (const FormulaPtr &formula) | |
const FormulaPtr & | negatedFormula () const |
const char * | operator_symbol () const override |
Negation (const FormulaPtr &formula) | |
const FormulaPtr & | negatedFormula () const |
const char * | operator_symbol () const override |
Public Member Functions inherited from knowrob::CompoundFormula | |
CompoundFormula (FormulaType type, const std::vector< FormulaPtr > &formulae) | |
virtual | ~CompoundFormula ()=default |
const std::vector< FormulaPtr > & | formulae () const |
void | write (std::ostream &os) const override |
CompoundFormula (FormulaType type, const std::vector< FormulaPtr > &formulae) | |
virtual | ~CompoundFormula ()=default |
const std::vector< FormulaPtr > & | formulae () const |
void | write (std::ostream &os) const override |
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 |
Protected Member Functions | |
bool | isEqual (const Formula &other) const override |
bool | isEqual (const Formula &other) const override |
Protected Member Functions inherited from knowrob::CompoundFormula | |
bool | isGround1 () const |
bool | isGround1 () const |
Additional Inherited Members | |
Protected Attributes inherited from knowrob::CompoundFormula | |
const std::vector< FormulaPtr > | formulae_ |
Protected Attributes inherited from knowrob::Formula | |
const FormulaType | type_ |
bool | isGround_ = true |
A negated formula.
Definition at line 16 of file Negation.h.
|
explicit |
formula | the negated formula. |
Definition at line 14 of file Negation.cpp.
|
explicit |
formula | the negated formula. |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Implements knowrob::Formula.
|
inline |
Definition at line 23 of file Negation.h.
|
inline |
Definition at line 23 of file Negation.h.
|
inlineoverridevirtual |
Implements knowrob::CompoundFormula.
Definition at line 26 of file Negation.h.
|
inlineoverridevirtual |
Implements knowrob::CompoundFormula.
Definition at line 26 of file Negation.h.