Specialisation of algoithms that return a 3d position as an result. More...
#include <AttentionAlgorithm.h>
Public Member Functions | |
AttentionAlgorithm () | |
virtual double | CheckSignature (const Signature &object, const std::vector< Sensor * > &sensors) |
evaluate shortly of the signature contains necessary model information to perform the algorithm | |
virtual std::vector< Signature * > | Perform (std::vector< Sensor * > sensors, RelPose *pose, Signature &prototype, int &numOfObjects, double &qualityMeasure)=0 |
the function that is called to execute this current algorithm | |
virtual XMLTag * | Save ()=0 |
saves the algorithms name and a parameter set | |
virtual void | SetData (XMLTag *tag) |
virtual | ~AttentionAlgorithm () |
Static Public Member Functions | |
static AttentionAlgorithm * | AttentionAlgFactory (XMLTag *tag) |
Specialisation of algoithms that return a 3d position as an result.
class AttentionAlgorithm
Definition at line 42 of file AttentionAlgorithm.h.
cop::AttentionAlgorithm::AttentionAlgorithm | ( | ) | [inline] |
Constructor
Definition at line 53 of file AttentionAlgorithm.h.
virtual cop::AttentionAlgorithm::~AttentionAlgorithm | ( | ) | [inline, virtual] |
Destructor
Definition at line 58 of file AttentionAlgorithm.h.
AttentionAlgorithm * AttentionAlgorithm::AttentionAlgFactory | ( | XMLTag * | tag | ) | [static] |
Definition at line 40 of file AttentionAlgorithm.cpp.
virtual double cop::AttentionAlgorithm::CheckSignature | ( | const Signature & | object, |
const std::vector< Sensor * > & | sensors | ||
) | [inline, virtual] |
evaluate shortly of the signature contains necessary model information to perform the algorithm
CheckSignature
object | the signature that has to be checked |
sensors | a list of available sensors seeing the target area |
Implements cop::Evaluable.
Reimplemented in cop::RemoteAttention< Message >.
Definition at line 72 of file AttentionAlgorithm.h.
virtual std::vector<Signature*> cop::AttentionAlgorithm::Perform | ( | std::vector< Sensor * > | sensors, |
RelPose * | pose, | ||
Signature & | prototype, | ||
int & | numOfObjects, | ||
double & | qualityMeasure | ||
) | [pure virtual] |
the function that is called to execute this current algorithm
Perform
sensors | list of available sensors for attending |
pose | Position that can restict the search |
prototype | Description of the object to search for |
numOfObjects | number of objects that should be found and on return that were found |
qualityMeasure | Takes threshold limiting results quality and receives resulting quality |
Implements cop::Algorithm< std::vector< Signature * > >.
Implemented in cop::RemoteAttention< Message >.
virtual XMLTag* cop::AttentionAlgorithm::Save | ( | ) | [pure virtual] |
saves the algorithms name and a parameter set
Save
Implements cop::Evaluable.
Implemented in cop::RemoteAttention< Message >.
virtual void cop::AttentionAlgorithm::SetData | ( | XMLTag * | tag | ) | [inline, virtual] |
Reimplemented in cop::RemoteAttention< Message >.
Definition at line 75 of file AttentionAlgorithm.h.