6 #ifndef KNOWROB_ANSWER_COMBINER_H_
7 #define KNOWROB_ANSWER_COMBINER_H_
19 class ConjunctiveBroadcaster :
public TokenBroadcaster {
26 using AnswerMap = std::map<uint32_t, std::map<size_t, AnswerPtr>>;
ConjunctiveBroadcaster(bool ignoreInconsistentAnswers=true)
bool ignoreInconsistentAnswers_
void genCombinations(uint32_t pushedChannelID, AnswerMap::iterator it, AnswerPtr &combinedResult)
void push(Channel &channel, const TokenPtr &tok) override
std::map< uint32_t, std::map< size_t, AnswerPtr > > AnswerMap
std::vector< AnswerNoPtr > negativeAnswers_
std::shared_ptr< const Token > TokenPtr
std::shared_ptr< const Answer > AnswerPtr