6 #include <knowrob/formulas/Formula.h>
7 #include "knowrob/formulas/Top.h"
8 #include "knowrob/formulas/Bottom.h"
9 #include "knowrob/integration/python/utils.h"
10 #include "knowrob/formulas/CompoundFormula.h"
11 #include "knowrob/formulas/Negation.h"
12 #include "knowrob/formulas/Implication.h"
13 #include "knowrob/formulas/Disjunction.h"
14 #include "knowrob/formulas/ModalFormula.h"
15 #include "knowrob/formulas/FirstOrderLiteral.h"
16 #include "knowrob/formulas/PredicateIndicator.h"
17 #include "knowrob/formulas/Conjunction.h"
18 #include "knowrob/knowrob.h"
27 return typeid(*this) ==
typeid(other) &&
isEqual(other);
43 return typeid(*this) ==
typeid(other) &&
isEqual(other);
50 enum_<FormulaType>(
"FormulaType")
58 class_<Formula, std::shared_ptr<Formula>, boost::noncopyable>
61 .def(
"__eq__", &Formula::operator==)
static const std::shared_ptr< Bottom > & get()
virtual std::string format() const
static const std::shared_ptr< Top > & get()
void createType< PredicateIndicator >()
void createType< Bottom >()
void createType< FirstOrderLiteral >()
void createType< CompoundFormula >()
void createType< Predicate >()
void createType< Negation >()
void createType< Implication >()
void createType< Disjunction >()
void createType< ModalFormula >()
void createType< Formula >()
void createType< Conjunction >()