WilliamsGMMReducer.h
Go to the documentation of this file.
1
/*
2
* This file is part of ArmarX.
3
*
4
* ArmarX is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License version 2 as
6
* published by the Free Software Foundation.
7
*
8
* ArmarX is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
12
*
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
15
*
16
* @package MemoryX::GaussianMixtureHelpers
17
* @author Alexey Kozlov <kozlov@kit.edu>
18
* @copyright 2013 Alexey Kozlov
19
* @license http://www.gnu.org/licenses/gpl-2.0.txt
20
* GNU General Public License
21
*/
22
23
#pragma once
24
25
#include <string>
26
#include <cfloat>
27
#include <
ArmarXCore/core/system/ImportExport.h
>
28
29
#include <
MemoryX/core/entity/ProbabilityMeasures.h
>
30
#include "
GMMReducer.h
"
31
#include "
ISDDistance.h
"
32
33
namespace
memoryx
34
{
35
/**
36
* @class WilliamsGMMReducer
37
* @ingroup GaussianMixtureHelpers
38
*/
39
class
ARMARXCORE_IMPORT_EXPORT
WilliamsGMMReducer
:
40
public
GMMReducer
41
{
42
public
:
43
WilliamsGMMReducer
();
44
45
protected
:
46
float
getMergingCost(
const
GaussianMixtureDistributionBasePtr& gmm,
int
c1,
int
c2)
override
;
47
void
fillMergingCostVector(
const
GaussianMixtureDistributionBasePtr& gmm,
GMMCompPairDistanceVector
& costVec)
override
;
48
49
private
:
50
ISDDistancePtr
isdDistance;
51
};
52
}
53
memoryx::GMMCompPairDistanceVector
std::vector< GMMCompPairDistance > GMMCompPairDistanceVector
Definition:
GMMReducer.h:45
ISDDistance.h
memoryx
VirtualRobot headers.
Definition:
CommonPlacesTester.cpp:48
memoryx::ISDDistancePtr
std::shared_ptr< ISDDistance > ISDDistancePtr
Definition:
ISDDistance.h:162
memoryx::WilliamsGMMReducer
Definition:
WilliamsGMMReducer.h:39
memoryx::GMMReducer
Definition:
GMMReducer.h:51
GMMReducer.h
ProbabilityMeasures.h
ImportExport.h
ARMARXCORE_IMPORT_EXPORT
#define ARMARXCORE_IMPORT_EXPORT
Definition:
ImportExport.h:38
MemoryX
libraries
helpers
GaussianMixtureHelpers
WilliamsGMMReducer.h
Generated on Sat Oct 12 2024 09:14:05 for armarx_documentation by
1.8.17