Apollo  v5.5.0
Open source self driving car software
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
apollo::perception::benchmark::SequenceSelfStatistics< KeyType > Class Template Reference

#include <sequence_self_statistics.h>

Collaboration diagram for apollo::perception::benchmark::SequenceSelfStatistics< KeyType >:
Collaboration graph

Public Member Functions

 SequenceSelfStatistics ()
 
 ~SequenceSelfStatistics ()=default
 
void reset ()
 
bool add_objects (const std::vector< ObjectPtr > &objects, KeyType key)
 
void get_classification_type_change_rates (std::vector< std::vector< double >> *rate_per_class, double *rate) const
 

Protected Member Functions

void add_statistics (SequenceType< KeyType > *sequence)
 

Protected Attributes

SequenceMaintainer< KeyType > _sequences
 
std::vector< std::vector< unsigned int > > _type_change_counts
 

Constructor & Destructor Documentation

◆ SequenceSelfStatistics()

◆ ~SequenceSelfStatistics()

template<typename KeyType>
apollo::perception::benchmark::SequenceSelfStatistics< KeyType >::~SequenceSelfStatistics ( )
default

Member Function Documentation

◆ add_objects()

template<typename KeyType>
bool apollo::perception::benchmark::SequenceSelfStatistics< KeyType >::add_objects ( const std::vector< ObjectPtr > &  objects,
KeyType  key 
)

◆ add_statistics()

template<typename KeyType>
void apollo::perception::benchmark::SequenceSelfStatistics< KeyType >::add_statistics ( SequenceType< KeyType > *  sequence)
protected

◆ get_classification_type_change_rates()

template<typename KeyType>
void apollo::perception::benchmark::SequenceSelfStatistics< KeyType >::get_classification_type_change_rates ( std::vector< std::vector< double >> *  rate_per_class,
double *  rate 
) const

◆ reset()

template<typename KeyType>
void apollo::perception::benchmark::SequenceSelfStatistics< KeyType >::reset ( )

Member Data Documentation

◆ _sequences

template<typename KeyType>
SequenceMaintainer<KeyType> apollo::perception::benchmark::SequenceSelfStatistics< KeyType >::_sequences
protected

◆ _type_change_counts

template<typename KeyType>
std::vector<std::vector<unsigned int> > apollo::perception::benchmark::SequenceSelfStatistics< KeyType >::_type_change_counts
protected

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