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

#include <Cluster.hpp>

Public Member Functions

 Cluster (const std::pair< TrackPtr, boost::shared_ptr< Cluster > > &referenceWithParent, ObjectRelations &topology, const std::vector< std::pair< int, TrackPtr > > &mostCommonObjects, std::map< TrackPtr, int > &objectOccurences)
 
TracksPtr getChildren ()
 
unsigned getRecommendedLevel ()
 
TrackPtr getReference ()
 
std::vector< VoteSpecifierPtrgetVotersByVotersTypeAndObservedId (const std::string &type, const std::string &observedId) const
 
void recommendLevel (unsigned level)
 

Private Attributes

TracksPtr children
 
unsigned recommendedLevel
 
TrackPtr reference
 
std::map< std::string, std::map< std::string, std::vector< VoteSpecifierPtr > > > votesByVotersTypeAndObservedId
 

Detailed Description

Definition at line 26 of file Cluster.hpp.

Constructor & Destructor Documentation

ISM::Cluster::Cluster ( const std::pair< TrackPtr, boost::shared_ptr< Cluster > > &  referenceWithParent,
ObjectRelations topology,
const std::vector< std::pair< int, TrackPtr > > &  mostCommonObjects,
std::map< TrackPtr, int > &  objectOccurences 
)

Definition at line 24 of file Cluster.cpp.

Member Function Documentation

TracksPtr ISM::Cluster::getChildren ( )
inline

Definition at line 33 of file Cluster.hpp.

unsigned ISM::Cluster::getRecommendedLevel ( )

Definition at line 133 of file Cluster.cpp.

TrackPtr ISM::Cluster::getReference ( )
inline

Definition at line 38 of file Cluster.hpp.

std::vector< VoteSpecifierPtr > ISM::Cluster::getVotersByVotersTypeAndObservedId ( const std::string &  type,
const std::string &  observedId 
) const

Definition at line 127 of file Cluster.cpp.

void ISM::Cluster::recommendLevel ( unsigned  level)

Member Data Documentation

TracksPtr ISM::Cluster::children
private

Definition at line 49 of file Cluster.hpp.

unsigned ISM::Cluster::recommendedLevel
private

Definition at line 51 of file Cluster.hpp.

TrackPtr ISM::Cluster::reference
private

Definition at line 48 of file Cluster.hpp.

std::map<std::string, std::map<std::string, std::vector<VoteSpecifierPtr> > > ISM::Cluster::votesByVotersTypeAndObservedId
private

Definition at line 50 of file Cluster.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