Public Member Functions | Public Attributes | Private Attributes
cop::AlgorithmEval< T > Class Template Reference

Template for saving the evaluation of an algorithm for the algorithm selector, the type refers to the used algorithm. More...

#include <AlgorithmEval.h>

List of all members.

Public Member Functions

 AlgorithmEval (Algorithm< T > *alg, int type, double eval, double m_avgRunTime)
 AlgorithmEval (XMLTag *tag)
std::pair< double, int > GetEval (ObjectID_t id) const
const std::map< ObjectID_t,
std::pair< double, int > > 
GetMap () const
size_t MapLength () const
XMLTagSave (std::string name="")
void SetEval (ObjectID_t id, double eval)

Public Attributes

Algorithm< T > * m_algorithm
int m_algorithmType
double m_avgRunTime
double m_eval

Private Attributes

std::map< ObjectID_t,
std::pair< double, int > > 
m_objectEval

Detailed Description

template<typename T>
class cop::AlgorithmEval< T >

Template for saving the evaluation of an algorithm for the algorithm selector, the type refers to the used algorithm.

template<typename T> class AlgorithmEval

Definition at line 64 of file AlgorithmEval.h.


Constructor & Destructor Documentation

template<typename T>
cop::AlgorithmEval< T >::AlgorithmEval ( Algorithm< T > *  alg,
int  type,
double  eval,
double  m_avgRunTime 
) [inline]

Definition at line 67 of file AlgorithmEval.h.

template<typename T >
AlgorithmEval::AlgorithmEval ( XMLTag tag)

Definition at line 27 of file AlgorithmEval.cpp.


Member Function Documentation

template<typename T>
std::pair<double, int> cop::AlgorithmEval< T >::GetEval ( ObjectID_t  id) const [inline]

Definition at line 94 of file AlgorithmEval.h.

template<typename T>
const std::map<ObjectID_t, std::pair<double, int> > cop::AlgorithmEval< T >::GetMap ( ) const [inline]

Definition at line 125 of file AlgorithmEval.h.

template<typename T>
size_t cop::AlgorithmEval< T >::MapLength ( ) const [inline]

Definition at line 124 of file AlgorithmEval.h.

template<typename T >
XMLTag * AlgorithmEval::Save ( std::string  name = "")

Definition at line 66 of file AlgorithmEval.cpp.

template<typename T>
void cop::AlgorithmEval< T >::SetEval ( ObjectID_t  id,
double  eval 
) [inline]

Definition at line 110 of file AlgorithmEval.h.


Member Data Documentation

template<typename T>
Algorithm<T>* cop::AlgorithmEval< T >::m_algorithm

Definition at line 136 of file AlgorithmEval.h.

template<typename T>
int cop::AlgorithmEval< T >::m_algorithmType

Definition at line 137 of file AlgorithmEval.h.

template<typename T>
double cop::AlgorithmEval< T >::m_avgRunTime

Definition at line 139 of file AlgorithmEval.h.

template<typename T>
double cop::AlgorithmEval< T >::m_eval

Definition at line 138 of file AlgorithmEval.h.

template<typename T>
std::map<ObjectID_t, std::pair<double, int> > cop::AlgorithmEval< T >::m_objectEval [private]

Definition at line 141 of file AlgorithmEval.h.


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


cognitive_perception
Author(s): Ulrich F Klank
autogenerated on Mon Oct 6 2014 10:48:46