All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions | Static Public Member Functions
cop::Algorithm< T > Class Template Reference

interface for all algorithms that can be executed by the AlgorithmSelector More...

#include <Algorithm.h>

Inheritance diagram for cop::Algorithm< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Algorithm ()
virtual T Perform (std::vector< Sensor * > sensors, RelPose *pose, Signature &object, int &numOfObjects, double &qualityMeasure)=0
 Performs the main action of the algorithm (online)
virtual ~Algorithm ()

Static Public Member Functions

static Algorithm< T > * AlgFactory (XMLTag *tag)
 Factory for all knwon Algorithms, this function has to be adapted when a new algorithm is added!

Detailed Description

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

interface for all algorithms that can be executed by the AlgorithmSelector

class Algorithm

Definition at line 73 of file Algorithm.h.


Constructor & Destructor Documentation

template<typename T>
cop::Algorithm< T >::Algorithm ( ) [inline]

Constructor

Definition at line 82 of file Algorithm.h.

template<typename T>
virtual cop::Algorithm< T >::~Algorithm ( ) [inline, virtual]

Empty Destructor

Definition at line 94 of file Algorithm.h.


Member Function Documentation

template<typename T>
Algorithm< T > * Algorithm::AlgFactory ( XMLTag tag) [static]

Factory for all knwon Algorithms, this function has to be adapted when a new algorithm is added!

AlgFactory

Parameters:
tagcontains the identifier and the information about the algorithm

Definition at line 12 of file Algorithm.hpp.

template<typename T>
virtual T cop::Algorithm< T >::Perform ( std::vector< Sensor * >  sensors,
RelPose pose,
Signature object,
int &  numOfObjects,
double &  qualityMeasure 
) [pure virtual]

Performs the main action of the algorithm (online)

Perform

Parameters:
sensorsa list of sensors that look at the specified position
poseEstimated position of the scene, mostly the center of the image (if the camera can be moved)
objectin/out A signature class that contains all model information about a certain object or a class of objects. This object will retrieve the results of the algorithm
numOfObjectsin/out The number of instances that should be detected of this signature atmost, it will be filled with 0 .. numOfObjects on exit and should contain the information how many objects were found
qualityMeasureout this param will should a score that can be used to evaluate the algorithm in this situation
Returns:
An instanz of T

Implemented in cop::AttentionAlgorithm, cop::LocateAlgorithm, cop::RemoteAttention< Message >, cop::ProveAlgorithm, and cop::RefineAlgorithm.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


cognitive_perception
Author(s): Ulrich F Klank
autogenerated on Thu May 23 2013 07:38:35