31 u_int64_t combiProduct = 1;
35 if (summarizedVote.first->source->type.find(
"_sub") == std::string::npos)
37 combiProduct *= summarizedVote.second.first;
42 u_int64_t combiSum = (this->
subPatterns.size() > 0) ? 0 : 1;
45 if(sub->patternName == summarizedVote.first->source->type)
47 combiSum += sub->getNumberOfCombinations();
50 combiProduct *= summarizedVote.second.first * combiSum;
62 strm <<
";sub patterns: [";
83 return *recogRes1 == *recogRes2;
std::vector< RecognitionResultPtr > subPatterns
SummarizedVotedPosePtrs summarizedVotes
u_int64_t getNumberOfCombinations()
static constexpr double epsilon
std::ostream & operator<<(std::ostream &strm, const ISM::ObjectRelation &r)
boost::shared_ptr< RecognitionResult > RecognitionResultPtr
bool operator==(const PointPtr &p1, const PointPtr &p2)
std::pair< VotedPosePtr, CountWeightPair > SummarizedVotedPosePtr
PosePtr referencePose
Pose of ism reference in this object configuration.
this namespace contains all generally usable classes.
ObjectSetPtr recognizedSet
Objects that have been assigned to scene instance. That match scene model.
u_int64_t numberOfCombinations