Skip to content

Commit

Permalink
modify #include in tapkee to be indepent from specific location
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Esser committed Jan 1, 2014
1 parent 739a23f commit 50a85a6
Show file tree
Hide file tree
Showing 33 changed files with 94 additions and 94 deletions.
4 changes: 2 additions & 2 deletions src/shogun/lib/tapkee/tapkee_shogun.cpp
Expand Up @@ -20,8 +20,8 @@
#define TAPKEE_WITH_ARPACK
#endif
#define TAPKEE_USE_LGPL_COVERTREE
#include <shogun/lib/tapkee/tapkee.hpp>
#include <shogun/lib/tapkee/callbacks/pimpl_callbacks.hpp>
#include <tapkee/tapkee.hpp>
#include <tapkee/callbacks/pimpl_callbacks.hpp>

using namespace shogun;

Expand Down
2 changes: 1 addition & 1 deletion third_party/tapkee/callbacks/neighbor_callbacks.hpp
Expand Up @@ -7,7 +7,7 @@
#define TAPKEE_NEIGHBOR_CALLBACK_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/tapkee_defines.hpp>
#include <tapkee/tapkee_defines.hpp>
/* End of Tapkee includes */

template<class RandomAccessIterator>
Expand Down
6 changes: 3 additions & 3 deletions third_party/tapkee/chain_interface.hpp
Expand Up @@ -7,9 +7,9 @@
#define TAPKEE_CHAIN_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/embed.hpp>
#include <shogun/lib/tapkee/callbacks/dummy_callbacks.hpp>
#include <shogun/lib/tapkee/callbacks/eigen_callbacks.hpp>
#include <tapkee/embed.hpp>
#include <tapkee/callbacks/dummy_callbacks.hpp>
#include <tapkee/callbacks/eigen_callbacks.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
24 changes: 12 additions & 12 deletions third_party/tapkee/defines.hpp
Expand Up @@ -7,10 +7,10 @@
#define TAPKEE_DEFINES_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/exceptions.hpp>
#include <shogun/lib/tapkee/parameters/parameters.hpp>
#include <shogun/lib/tapkee/traits/callbacks_traits.hpp>
#include <shogun/lib/tapkee/traits/methods_traits.hpp>
#include <tapkee/exceptions.hpp>
#include <tapkee/parameters/parameters.hpp>
#include <tapkee/traits/callbacks_traits.hpp>
#include <tapkee/traits/methods_traits.hpp>
/* End of Tapkee includes */

#include <string>
Expand All @@ -20,14 +20,14 @@
#define TAPKEE_MINOR_VERSION 0

/* Tapkee includes */
#include <shogun/lib/tapkee/defines/eigen3.hpp>
#include <shogun/lib/tapkee/defines/types.hpp>
#include <shogun/lib/tapkee/defines/methods.hpp>
#include <shogun/lib/tapkee/defines/keywords.hpp>
#include <shogun/lib/tapkee/defines/stdtypes.hpp>
#include <shogun/lib/tapkee/defines/synonyms.hpp>
#include <shogun/lib/tapkee/defines/random.hpp>
#include <shogun/lib/tapkee/projection.hpp>
#include <tapkee/defines/eigen3.hpp>
#include <tapkee/defines/types.hpp>
#include <tapkee/defines/methods.hpp>
#include <tapkee/defines/keywords.hpp>
#include <tapkee/defines/stdtypes.hpp>
#include <tapkee/defines/synonyms.hpp>
#include <tapkee/defines/random.hpp>
#include <tapkee/projection.hpp>
/* End of Tapkee includes */

#ifdef TAPKEE_CUSTOM_PROPERTIES
Expand Down
2 changes: 1 addition & 1 deletion third_party/tapkee/defines/keywords.hpp
Expand Up @@ -7,7 +7,7 @@
#define TAPKEE_DEFINES_KEYWORDS_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines/types.hpp>
#include <tapkee/defines/types.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
4 changes: 2 additions & 2 deletions third_party/tapkee/defines/synonyms.hpp
Expand Up @@ -7,8 +7,8 @@
#define TAPKEE_DEFINES_SYNONYMS_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines/types.hpp>
#include <shogun/lib/tapkee/defines/stdtypes.hpp>
#include <tapkee/defines/types.hpp>
#include <tapkee/defines/stdtypes.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
4 changes: 2 additions & 2 deletions third_party/tapkee/embed.hpp
Expand Up @@ -7,8 +7,8 @@
#define TAPKEE_EMBED_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <shogun/lib/tapkee/methods.hpp>
#include <tapkee/defines.hpp>
#include <tapkee/methods.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
8 changes: 4 additions & 4 deletions third_party/tapkee/external/barnes_hut_sne/tsne.hpp
Expand Up @@ -33,10 +33,10 @@
#define TSNE_H

/* Tapkee includes */
#include <shogun/lib/tapkee/utils/logging.hpp>
#include <shogun/lib/tapkee/utils/time.hpp>
#include <shogun/lib/tapkee/external/barnes_hut_sne/quadtree.hpp>
#include <shogun/lib/tapkee/external/barnes_hut_sne/vptree.hpp>
#include <tapkee/utils/logging.hpp>
#include <tapkee/utils/time.hpp>
#include <tapkee/external/barnes_hut_sne/quadtree.hpp>
#include <tapkee/external/barnes_hut_sne/vptree.hpp>
/* End of Tapkee includes */

#include <math.h>
Expand Down
44 changes: 22 additions & 22 deletions third_party/tapkee/methods.hpp
Expand Up @@ -7,28 +7,28 @@
#define TAPKEE_METHODS_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <shogun/lib/tapkee/utils/naming.hpp>
#include <shogun/lib/tapkee/utils/time.hpp>
#include <shogun/lib/tapkee/utils/logging.hpp>
#include <shogun/lib/tapkee/utils/conditional_select.hpp>
#include <shogun/lib/tapkee/utils/features.hpp>
#include <shogun/lib/tapkee/parameters/defaults.hpp>
#include <shogun/lib/tapkee/parameters/context.hpp>
#include <shogun/lib/tapkee/routines/locally_linear.hpp>
#include <shogun/lib/tapkee/routines/eigendecomposition.hpp>
#include <shogun/lib/tapkee/routines/generalized_eigendecomposition.hpp>
#include <shogun/lib/tapkee/routines/multidimensional_scaling.hpp>
#include <shogun/lib/tapkee/routines/diffusion_maps.hpp>
#include <shogun/lib/tapkee/routines/laplacian_eigenmaps.hpp>
#include <shogun/lib/tapkee/routines/isomap.hpp>
#include <shogun/lib/tapkee/routines/pca.hpp>
#include <shogun/lib/tapkee/routines/random_projection.hpp>
#include <shogun/lib/tapkee/routines/spe.hpp>
#include <shogun/lib/tapkee/routines/fa.hpp>
#include <shogun/lib/tapkee/routines/manifold_sculpting.hpp>
#include <shogun/lib/tapkee/neighbors/neighbors.hpp>
#include <shogun/lib/tapkee/external/barnes_hut_sne/tsne.hpp>
#include <tapkee/defines.hpp>
#include <tapkee/utils/naming.hpp>
#include <tapkee/utils/time.hpp>
#include <tapkee/utils/logging.hpp>
#include <tapkee/utils/conditional_select.hpp>
#include <tapkee/utils/features.hpp>
#include <tapkee/parameters/defaults.hpp>
#include <tapkee/parameters/context.hpp>
#include <tapkee/routines/locally_linear.hpp>
#include <tapkee/routines/eigendecomposition.hpp>
#include <tapkee/routines/generalized_eigendecomposition.hpp>
#include <tapkee/routines/multidimensional_scaling.hpp>
#include <tapkee/routines/diffusion_maps.hpp>
#include <tapkee/routines/laplacian_eigenmaps.hpp>
#include <tapkee/routines/isomap.hpp>
#include <tapkee/routines/pca.hpp>
#include <tapkee/routines/random_projection.hpp>
#include <tapkee/routines/spe.hpp>
#include <tapkee/routines/fa.hpp>
#include <tapkee/routines/manifold_sculpting.hpp>
#include <tapkee/neighbors/neighbors.hpp>
#include <tapkee/external/barnes_hut_sne/tsne.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
2 changes: 1 addition & 1 deletion third_party/tapkee/neighbors/covertree.hpp
Expand Up @@ -11,7 +11,7 @@
#define COVERTREE_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/neighbors/covertree_point.hpp>
#include <tapkee/neighbors/covertree_point.hpp>
/* End of Tapkee includes */

#include <cmath>
Expand Down
2 changes: 1 addition & 1 deletion third_party/tapkee/neighbors/covertree_point.hpp
Expand Up @@ -12,7 +12,7 @@
#define _JL_COVERTREE_POINT_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <tapkee/defines.hpp>
/* End of Tapkee includes */

#include <iostream>
Expand Down
8 changes: 4 additions & 4 deletions third_party/tapkee/neighbors/neighbors.hpp
Expand Up @@ -7,12 +7,12 @@
#define TAPKEE_NEIGHBORS_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <tapkee/defines.hpp>
#ifdef TAPKEE_USE_LGPL_COVERTREE
#include <shogun/lib/tapkee/neighbors/covertree.hpp>
#include <tapkee/neighbors/covertree.hpp>
#endif
#include <shogun/lib/tapkee/neighbors/connected.hpp>
#include <shogun/lib/tapkee/neighbors/vptree.hpp>
#include <tapkee/neighbors/connected.hpp>
#include <tapkee/neighbors/vptree.hpp>
/* End of Tapkee includes */

#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion third_party/tapkee/neighbors/vptree.hpp
Expand Up @@ -7,7 +7,7 @@
#define TAPKEE_VPTREE_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <tapkee/defines.hpp>
/* End of Tapkee includes */

#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion third_party/tapkee/parameters/parameters.hpp
Expand Up @@ -7,7 +7,7 @@
#define TAPKEE_PARAMETERS_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/parameters/value_keeper.hpp>
#include <tapkee/parameters/value_keeper.hpp>
/* End of Tapkee includes */

#include <sstream>
Expand Down
2 changes: 1 addition & 1 deletion third_party/tapkee/parameters/value_keeper.hpp
Expand Up @@ -7,7 +7,7 @@
#define TAPKEE_VALUE_KEEPER_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/parameters/policy.hpp>
#include <tapkee/parameters/policy.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
4 changes: 2 additions & 2 deletions third_party/tapkee/routines/diffusion_maps.hpp
Expand Up @@ -7,8 +7,8 @@
#define TAPKEE_DiffusionMapS_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <shogun/lib/tapkee/utils/time.hpp>
#include <tapkee/defines.hpp>
#include <tapkee/utils/time.hpp>
/* End of Tapke includes */

namespace tapkee
Expand Down
6 changes: 3 additions & 3 deletions third_party/tapkee/routines/eigendecomposition.hpp
Expand Up @@ -14,10 +14,10 @@

/* Tapkee includes */
#ifdef TAPKEE_WITH_ARPACK
#include <shogun/lib/tapkee/utils/arpack_wrapper.hpp>
#include <tapkee/utils/arpack_wrapper.hpp>
#endif
#include <shogun/lib/tapkee/routines/matrix_operations.hpp>
#include <shogun/lib/tapkee/defines.hpp>
#include <tapkee/routines/matrix_operations.hpp>
#include <tapkee/defines.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
Expand Up @@ -8,9 +8,9 @@

/* Tapkee includes */
#ifdef TAPKEE_WITH_ARPACK
#include <shogun/lib/tapkee/utils/arpack_wrapper.hpp>
#include <tapkee/utils/arpack_wrapper.hpp>
#endif
#include <shogun/lib/tapkee/routines/matrix_operations.hpp>
#include <tapkee/routines/matrix_operations.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
8 changes: 4 additions & 4 deletions third_party/tapkee/routines/isomap.hpp
Expand Up @@ -7,10 +7,10 @@
#define TAPKEE_Isomap_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <shogun/lib/tapkee/utils/fibonacci_heap.hpp>
#include <shogun/lib/tapkee/utils/reservable_priority_queue.hpp>
#include <shogun/lib/tapkee/utils/time.hpp>
#include <tapkee/defines.hpp>
#include <tapkee/utils/fibonacci_heap.hpp>
#include <tapkee/utils/reservable_priority_queue.hpp>
#include <tapkee/utils/time.hpp>
/* End of Tapkee includes */

#include <limits>
Expand Down
4 changes: 2 additions & 2 deletions third_party/tapkee/routines/laplacian_eigenmaps.hpp
Expand Up @@ -7,8 +7,8 @@
#define TAPKEE_LaplacianEigenmaps_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <shogun/lib/tapkee/utils/time.hpp>
#include <tapkee/defines.hpp>
#include <tapkee/utils/time.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
10 changes: 5 additions & 5 deletions third_party/tapkee/routines/locally_linear.hpp
Expand Up @@ -7,11 +7,11 @@
#define TAPKEE_LOCALLY_LINEAR_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/routines/eigendecomposition.hpp>
#include <shogun/lib/tapkee/defines.hpp>
#include <shogun/lib/tapkee/utils/matrix.hpp>
#include <shogun/lib/tapkee/utils/time.hpp>
#include <shogun/lib/tapkee/utils/sparse.hpp>
#include <tapkee/routines/eigendecomposition.hpp>
#include <tapkee/defines.hpp>
#include <tapkee/utils/matrix.hpp>
#include <tapkee/utils/time.hpp>
#include <tapkee/utils/sparse.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
4 changes: 2 additions & 2 deletions third_party/tapkee/routines/manifold_sculpting.hpp
Expand Up @@ -7,8 +7,8 @@
#define TAPKEE_MANIFOLD_SCULPTING_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <shogun/lib/tapkee/utils/sparse.hpp>
#include <tapkee/defines.hpp>
#include <tapkee/utils/sparse.hpp>
/* End of Tapkee includes */

#include <math.h>
Expand Down
2 changes: 1 addition & 1 deletion third_party/tapkee/routines/matrix_operations.hpp
Expand Up @@ -8,7 +8,7 @@
#define TAPKEE_MATRIX_OPS_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <tapkee/defines.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
4 changes: 2 additions & 2 deletions third_party/tapkee/routines/multidimensional_scaling.hpp
Expand Up @@ -7,8 +7,8 @@
#define TAPKEE_MDS_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <shogun/lib/tapkee/utils/time.hpp>
#include <tapkee/defines.hpp>
#include <tapkee/utils/time.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
4 changes: 2 additions & 2 deletions third_party/tapkee/routines/pca.hpp
Expand Up @@ -7,8 +7,8 @@
#define TAPKEE_PCA_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <shogun/lib/tapkee/utils/time.hpp>
#include <tapkee/defines.hpp>
#include <tapkee/utils/time.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
4 changes: 2 additions & 2 deletions third_party/tapkee/routines/random_projection.hpp
Expand Up @@ -7,8 +7,8 @@
#define TAPKEE_RandomProjection_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <shogun/lib/tapkee/utils/time.hpp>
#include <tapkee/defines.hpp>
#include <tapkee/utils/time.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
4 changes: 2 additions & 2 deletions third_party/tapkee/routines/spe.hpp
Expand Up @@ -7,8 +7,8 @@
#define TAPKEE_SPE_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <shogun/lib/tapkee/utils/time.hpp>
#include <tapkee/defines.hpp>
#include <tapkee/utils/time.hpp>
/* End of Tapkee includes */

namespace tapkee
Expand Down
4 changes: 2 additions & 2 deletions third_party/tapkee/tapkee.hpp
Expand Up @@ -7,8 +7,8 @@
#define TAPKEE_MAIN_H_

/* Tapkee includes */
#include <shogun/lib/tapkee/embed.hpp>
#include <shogun/lib/tapkee/chain_interface.hpp>
#include <tapkee/embed.hpp>
#include <tapkee/chain_interface.hpp>
/* End of Tapkee includes */

#endif
2 changes: 1 addition & 1 deletion third_party/tapkee/utils/arpack_wrapper.hpp
Expand Up @@ -11,7 +11,7 @@
#define EIGEN_ARPACKGENERALIZEDSELFADJOINTEIGENSOLVER_H

/* Tapkee includes */
#include <shogun/lib/tapkee/defines.hpp>
#include <tapkee/defines.hpp>
/* End of Tapkee includes */

using Eigen::Matrix;
Expand Down

0 comments on commit 50a85a6

Please sign in to comment.