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


Public Member Functions | |
| Implication (const FormulaPtr &antecedent, const FormulaPtr &consequent) | |
| const FormulaPtr & | antecedent () const |
| const FormulaPtr & | consequent () const |
| const char * | operator_symbol () const override |
| Implication (const FormulaPtr &antecedent, const FormulaPtr &consequent) | |
| const FormulaPtr & | antecedent () const |
| const FormulaPtr & | consequent () 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 |
An implication formula.
Definition at line 15 of file Implication.h.
|
explicit |
| antecedent | the antecedent of the implication. |
| consequent | the consequent of the implication. |
Definition at line 11 of file Implication.cpp.
|
explicit |
| antecedent | the antecedent of the implication. |
| consequent | the consequent of the implication. |
|
inline |
Definition at line 26 of file Implication.h.
|
inline |
|
inline |
|
inline |
|
overrideprotectedvirtual |
Implements knowrob::Formula.
Definition at line 15 of file Implication.cpp.
|
overrideprotectedvirtual |
Implements knowrob::Formula.
|
inlineoverridevirtual |
Implements knowrob::CompoundFormula.
Definition at line 34 of file Implication.h.
|
inlineoverridevirtual |
Implements knowrob::CompoundFormula.
Definition at line 34 of file Implication.h.