Tapkee
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
defines.hpp
Go to the documentation of this file.
1
/* This software is distributed under BSD 3-clause license (see LICENSE file).
2
*
3
* Copyright (c) 2012-2013 Sergey Lisitsyn
4
*/
5
6
#ifndef TAPKEE_DEFINES_H_
7
#define TAPKEE_DEFINES_H_
8
9
/* Tapkee includes */
10
#include <
tapkee/exceptions.hpp
>
11
#include <
tapkee/parameters/parameters.hpp
>
12
#include <
tapkee/traits/callbacks_traits.hpp
>
13
#include <
tapkee/traits/methods_traits.hpp
>
14
/* End of Tapkee includes */
15
16
#include <string>
17
18
#define TAPKEE_WORLD_VERSION 1
19
#define TAPKEE_MAJOR_VERSION 0
20
#define TAPKEE_MINOR_VERSION 0
21
22
/* Tapkee includes */
23
#include <
tapkee/defines/eigen3.hpp
>
24
#include <
tapkee/defines/types.hpp
>
25
#include <
tapkee/defines/methods.hpp
>
26
#include <
tapkee/defines/keywords.hpp
>
27
#include <
tapkee/defines/stdtypes.hpp
>
28
#include <
tapkee/defines/synonyms.hpp
>
29
#include <
tapkee/defines/random.hpp
>
30
#include <
tapkee/projection.hpp
>
31
/* End of Tapkee includes */
32
33
#ifdef TAPKEE_CUSTOM_PROPERTIES
34
#include TAPKEE_CUSTOM_PROPERTIES
35
#else
36
#define COVERTREE_BASE 1.3
38
#endif
39
40
namespace
tapkee
41
{
43
struct
TapkeeOutput
44
{
45
TapkeeOutput
() :
46
embedding
(),
projection
()
47
{
48
}
49
TapkeeOutput
(
const
tapkee::DenseMatrix
& e,
const
tapkee::ProjectingFunction
& p) :
50
embedding
(),
projection
(p)
51
{
52
embedding
.swap(e);
53
}
54
TapkeeOutput
(
const
TapkeeOutput
& that) :
55
embedding
(),
projection
(that.
projection
)
56
{
57
this->
embedding
.swap(that.
embedding
);
58
}
59
tapkee::DenseMatrix
embedding
;
60
tapkee::ProjectingFunction
projection
;
61
};
62
}
63
64
#endif // TAPKEE_DEFINES_H_
tapkee::TapkeeOutput::embedding
tapkee::DenseMatrix embedding
Definition:
defines.hpp:59
tapkee::DenseMatrix
Eigen::Matrix< tapkee::ScalarType, Eigen::Dynamic, Eigen::Dynamic > DenseMatrix
dense matrix type (non-overridable)
Definition:
types.hpp:23
callbacks_traits.hpp
keywords.hpp
eigen3.hpp
methods.hpp
exceptions.hpp
methods_traits.hpp
synonyms.hpp
tapkee::TapkeeOutput::projection
tapkee::ProjectingFunction projection
Definition:
defines.hpp:60
types.hpp
tapkee::TapkeeOutput::TapkeeOutput
TapkeeOutput()
Definition:
defines.hpp:45
stdtypes.hpp
tapkee::TapkeeOutput::TapkeeOutput
TapkeeOutput(const TapkeeOutput &that)
Definition:
defines.hpp:54
tapkee::TapkeeOutput::TapkeeOutput
TapkeeOutput(const tapkee::DenseMatrix &e, const tapkee::ProjectingFunction &p)
Definition:
defines.hpp:49
tapkee::ProjectingFunction
A pimpl wrapper for projecting function.
Definition:
projection.hpp:25
tapkee::TapkeeOutput
Return result of the library - a pair of DenseMatrix (embedding) and ProjectingFunction.
Definition:
defines.hpp:43
random.hpp
projection.hpp
parameters.hpp
include
tapkee
defines.hpp
Generated by
1.8.5