iCub-main
Loading...
Searching...
No Matches
outliersDetection.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2006-2018 Istituto Italiano di Tecnologia (IIT)
3 * Copyright (C) 2006-2010 RobotCub Consortium
4 * All rights reserved.
5 *
6 * This software may be modified and distributed under the terms
7 * of the BSD-3-Clause license. See the accompanying LICENSE file for
8 * details.
9*/
10
22#ifndef __OUTLIERSDETECTION_H__
23#define __OUTLIERSDETECTION_H__
24
25#include <map>
26#include <set>
27
28#include <yarp/os/Property.h>
29#include <yarp/sig/Vector.h>
30
31namespace iCub
32{
33
34namespace ctrl
35{
36
43{
44public:
51 virtual std::set<size_t> detect(const yarp::sig::Vector &data,
52 const yarp::os::Property &options) = 0;
53
57 virtual ~OutliersDetection() { }
58};
59
60
67{
68protected:
69 std::map<size_t,double> tauLUP;
70 std::set<size_t> recurIdx;
71
72public:
77
96 std::set<size_t> detect(const yarp::sig::Vector &data,
97 const yarp::os::Property &options);
98
103};
104
105}
106
107}
108
109#endif
110
111
112
@ data
Perform modified Thompson tau technique for outlier detection.
std::set< size_t > detect(const yarp::sig::Vector &data, const yarp::os::Property &options)
Perform outliers detection over the provided data.
virtual ~ModifiedThompsonTau()
Virtual destructor.
ModifiedThompsonTau()
Default constructor.
std::map< size_t, double > tauLUP
Abstract class for outliers detection.
virtual std::set< size_t > detect(const yarp::sig::Vector &data, const yarp::os::Property &options)=0
Perform outliers detection over the provided data.
virtual ~OutliersDetection()
Virtual destructor.
This file contains the definition of unique IDs for the body parts and the skin parts of the robot.