6 #include "knowrob/formulas/FirstOrderLiteral.h"
7 #include "knowrob/integration/python/utils.h"
13 isNegated_(isNegative) {}
33 return std::make_shared<FirstOrderLiteral>(
predicate, lit->isNegated());
45 class_<FirstOrderLiteral, std::shared_ptr<FirstOrderLiteral>>
46 (
"FirstOrderLiteral", init<const PredicatePtr &, bool>())
void write(std::ostream &os) const override
FirstOrderLiteral(const PredicatePtr &predicate, bool isNegative)
virtual uint32_t numVariables() const
const auto & predicate() const
const PredicatePtr predicate_
void createType< FirstOrderLiteral >()
std::shared_ptr< Predicate > PredicatePtr
FirstOrderLiteralPtr applyBindings(const FirstOrderLiteralPtr &lit, const Bindings &bindings)
std::shared_ptr< FirstOrderLiteral > FirstOrderLiteralPtr