6 #ifndef KNOWROB_NEGATIVE_ANSWER_H
7 #define KNOWROB_NEGATIVE_ANSWER_H
10 #include "knowrob/formulas/FramedPredicate.h"
17 class AnswerNo :
public Answer {
74 using AnswerNoPtr = std::shared_ptr<const AnswerNo>;
79 const std::shared_ptr<const AnswerNo> &
GenericNo();
AnswerNo(const AnswerNo &other)
std::vector< FramedPredicate > positiveUngrounded_
std::string stringFormOfNo() const
std::vector< FramedPredicate > negativeUngrounded_
std::string humanReadableFormOfNo() const
void addUngrounded(const std::shared_ptr< Predicate > &predicate, bool isNegated=false)
auto & positiveUngrounded() const
bool mergeWith(const AnswerNo &other)
auto & negativeUngrounded() const
AnswerPtr mergeNegativeAnswers(const AnswerNoPtr &a, const AnswerNoPtr &b)
std::shared_ptr< const Answer > AnswerPtr
const std::shared_ptr< const AnswerNo > & GenericNo()
std::shared_ptr< const AnswerNo > AnswerNoPtr