knowrob
2.1.0
A Knowledge Base System for Cognition-enabled Robots
|
#include <Disjunction.h>
Public Member Functions | |
Disjunction (const std::vector< FormulaPtr > &formulae) | |
const char * | operator_symbol () const override |
Disjunction (const std::vector< FormulaPtr > &formulae) | |
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 disjunctive expression.
Definition at line 17 of file Disjunction.h.
|
explicit |
formulae | list of sub-formulas. |
|
explicit |
formulae | list of sub-formulas. |
|
overrideprotectedvirtual |
Implements knowrob::Formula.
Definition at line 38 of file Disjunction.cpp.
|
overrideprotectedvirtual |
Implements knowrob::Formula.
|
inlineoverridevirtual |
Implements knowrob::CompoundFormula.
Definition at line 25 of file Disjunction.h.
|
inlineoverridevirtual |
Implements knowrob::CompoundFormula.
Definition at line 25 of file Disjunction.h.