Tapkee
defines.hpp
Go to the documentation of this file.
00001 /* This software is distributed under BSD 3-clause license (see LICENSE file).
00002  *
00003  * Copyright (c) 2012-2013 Sergey Lisitsyn
00004  */
00005 
00006 #ifndef TAPKEE_DEFINES_H_
00007 #define TAPKEE_DEFINES_H_
00008 
00009 /* Tapkee includes */
00010 #include <tapkee/exceptions.hpp>
00011 #include <tapkee/parameters/parameters.hpp>
00012 #include <tapkee/traits/callbacks_traits.hpp>
00013 #include <tapkee/traits/methods_traits.hpp>
00014 /* End of Tapkee includes */
00015 
00016 #include <string>
00017 
00018 #define TAPKEE_WORLD_VERSION 1
00019 #define TAPKEE_MAJOR_VERSION 0
00020 #define TAPKEE_MINOR_VERSION 0
00021 
00022 /* Tapkee includes */
00023 #include <tapkee/defines/eigen3.hpp>
00024 #include <tapkee/defines/types.hpp>
00025 #include <tapkee/defines/methods.hpp>
00026 #include <tapkee/defines/keywords.hpp>
00027 #include <tapkee/defines/stdtypes.hpp>
00028 #include <tapkee/defines/synonyms.hpp>
00029 #include <tapkee/defines/random.hpp>
00030 #include <tapkee/projection.hpp>
00031 /* End of Tapkee includes */
00032 
00033 #ifdef TAPKEE_CUSTOM_PROPERTIES
00034     #include TAPKEE_CUSTOM_PROPERTIES
00035 #else
00036 
00037     #define COVERTREE_BASE 1.3
00038 #endif
00039 
00040 namespace tapkee
00041 {
00043     struct TapkeeOutput
00044     {
00045         TapkeeOutput() :
00046             embedding(), projection()
00047         {
00048         }
00049         TapkeeOutput(const tapkee::DenseMatrix& e, const tapkee::ProjectingFunction& p) :
00050             embedding(), projection(p)
00051         {
00052             embedding.swap(e);
00053         }
00054         TapkeeOutput(const TapkeeOutput& that) :
00055             embedding(), projection(that.projection)
00056         {
00057             this->embedding.swap(that.embedding);
00058         }
00059         tapkee::DenseMatrix embedding;
00060         tapkee::ProjectingFunction projection;
00061     };
00062 }
00063 
00064 #endif // TAPKEE_DEFINES_H_
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines