Public Member Functions | Private Member Functions | Private Attributes | List of all members
ISM::VotingResultCalculator Class Reference

#include <VotingResultCalculator.hpp>

Public Member Functions

bool computeVotingResult (VotingResultPtr &result, TypeToInnerMap votedReferencePoses)
 
 VotingResultCalculator (VotingSpacePtr votingSpaceInEval, bool enabledSelfVoteCheck, int raterType=0)
 

Private Member Functions

unsigned int countSupportingOriginForFittingVotes (VotedPosePtrs originForFittingVotes)
 
void countSupportingOriginForFittingVotes (VotedPosePtrs votes, unsigned int &fittingVoteCounter, double &bestWeight, VotedPosePtr &bestVotedPose)
 
void searchFittingVotes (TypeToInnerMap votes)
 

Private Attributes

bool enabledSelfVoteCheck
 
ISM::RaterPtr mRater
 
VotingSpacePtr mVotingSpaceInEval
 
VotedPosePtr originForFitting
 
std::string originId
 
PosePtr originPose
 
std::string originType
 
RatingDataPtr ratingCache
 
std::set< ObjectPtrsourcesWithFittingVotes
 
SummarizedVotedPosePtrs summarizedFittingVotes
 

Detailed Description

Definition at line 36 of file VotingResultCalculator.hpp.

Constructor & Destructor Documentation

ISM::VotingResultCalculator::VotingResultCalculator ( VotingSpacePtr  votingSpaceInEval,
bool  enabledSelfVoteCheck,
int  raterType = 0 
)

Definition at line 25 of file VotingResultCalculator.cpp.

Member Function Documentation

bool ISM::VotingResultCalculator::computeVotingResult ( VotingResultPtr result,
TypeToInnerMap  votedReferencePoses 
)

Definition at line 42 of file VotingResultCalculator.cpp.

unsigned int ISM::VotingResultCalculator::countSupportingOriginForFittingVotes ( VotedPosePtrs  originForFittingVotes)
inlineprivate

Definition at line 78 of file VotingResultCalculator.hpp.

void ISM::VotingResultCalculator::countSupportingOriginForFittingVotes ( VotedPosePtrs  votes,
unsigned int &  fittingVoteCounter,
double &  bestWeight,
VotedPosePtr bestVotedPose 
)
inlineprivate

Definition at line 103 of file VotingResultCalculator.hpp.

void ISM::VotingResultCalculator::searchFittingVotes ( TypeToInnerMap  votes)
private

Definition at line 129 of file VotingResultCalculator.cpp.

Member Data Documentation

bool ISM::VotingResultCalculator::enabledSelfVoteCheck
private

Definition at line 73 of file VotingResultCalculator.hpp.

ISM::RaterPtr ISM::VotingResultCalculator::mRater
private

Definition at line 53 of file VotingResultCalculator.hpp.

VotingSpacePtr ISM::VotingResultCalculator::mVotingSpaceInEval
private

Definition at line 51 of file VotingResultCalculator.hpp.

VotedPosePtr ISM::VotingResultCalculator::originForFitting
private

Definition at line 56 of file VotingResultCalculator.hpp.

std::string ISM::VotingResultCalculator::originId
private

Definition at line 61 of file VotingResultCalculator.hpp.

PosePtr ISM::VotingResultCalculator::originPose
private

Definition at line 58 of file VotingResultCalculator.hpp.

std::string ISM::VotingResultCalculator::originType
private

Definition at line 60 of file VotingResultCalculator.hpp.

RatingDataPtr ISM::VotingResultCalculator::ratingCache
private

Definition at line 67 of file VotingResultCalculator.hpp.

std::set<ObjectPtr> ISM::VotingResultCalculator::sourcesWithFittingVotes
private

Definition at line 70 of file VotingResultCalculator.hpp.

SummarizedVotedPosePtrs ISM::VotingResultCalculator::summarizedFittingVotes
private

Definition at line 64 of file VotingResultCalculator.hpp.


The documentation for this class was generated from the following files:


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41