Tapkee
 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>
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 */
24 #include <tapkee/defines/types.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  {
47  {
48  }
50  embedding(), projection(p)
51  {
52  embedding.swap(e);
53  }
54  TapkeeOutput(const TapkeeOutput& that) :
56  {
57  this->embedding.swap(that.embedding);
58  }
61  };
62 }
63 
64 #endif // TAPKEE_DEFINES_H_
tapkee::DenseMatrix embedding
Definition: defines.hpp:59
Eigen::Matrix< tapkee::ScalarType, Eigen::Dynamic, Eigen::Dynamic > DenseMatrix
dense matrix type (non-overridable)
Definition: types.hpp:23
tapkee::ProjectingFunction projection
Definition: defines.hpp:60
TapkeeOutput(const TapkeeOutput &that)
Definition: defines.hpp:54
TapkeeOutput(const tapkee::DenseMatrix &e, const tapkee::ProjectingFunction &p)
Definition: defines.hpp:49
A pimpl wrapper for projecting function.
Definition: projection.hpp:25
Return result of the library - a pair of DenseMatrix (embedding) and ProjectingFunction.
Definition: defines.hpp:43