Skip to content

Commit

Permalink
add config.h in all .h files in shogun/distance
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuyu Zhang committed Mar 21, 2014
1 parent 398d7b4 commit 6ff3446
Show file tree
Hide file tree
Showing 26 changed files with 53 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shogun/distance/AttenuatedEuclideanDistance.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _ATTENUATEDEuclideanDISTANCE_H__
#define _ATTENUATEDEuclideanDISTANCE_H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/RealDistance.h>
#include <shogun/features/DenseFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/BrayCurtisDistance.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _BRAYCURTISDISTANCE_H___
#define _BRAYCURTISDISTANCE_H___

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/DenseDistance.h>

Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/CanberraMetric.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _CANBERRAMETRIC_H__
#define _CANBERRAMETRIC_H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/DenseDistance.h>
#include <shogun/features/DenseFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/CanberraWordDistance.h
Expand Up @@ -12,6 +12,8 @@
#ifndef _CANBERRAWORDDISTANCE_H___
#define _CANBERRAWORDDISTANCE_H___

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/Features.h>
#include <shogun/features/StringFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/ChebyshewMetric.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _CHEBYSHEWMETRIC_H___
#define _CHEBYSHEWMETRIC_H___

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/DenseDistance.h>

Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/ChiSquareDistance.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __CHISQUAREDISTANCE_H__
#define __CHISQUAREDISTANCE_H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/DenseDistance.h>

Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/CosineDistance.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _COSINEDISTANCE_H___
#define _COSINEDISTANCE_H___

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/DenseDistance.h>

Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/CustomDistance.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _CUSTOMDISTANCE_H___
#define _CUSTOMDISTANCE_H___

#include <shogun/lib/config.h>

#include <shogun/mathematics/Math.h>
#include <shogun/lib/common.h>
#include <shogun/distance/Distance.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/CustomMahalanobisDistance.h
Expand Up @@ -13,6 +13,8 @@

#ifdef HAVE_EIGEN3

#include <shogun/lib/config.h>

#include <shogun/distance/RealDistance.h>
#include <shogun/features/DenseFeatures.h>
#include <shogun/lib/SGMatrix.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/DenseDistance.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _DENSEDISTANCE_H___
#define _DENSEDISTANCE_H___

#include <shogun/lib/config.h>

#include <shogun/distance/Distance.h>
#include <shogun/features/FeatureTypes.h>
#include <shogun/features/DenseFeatures.h>
Expand Down
3 changes: 3 additions & 0 deletions src/shogun/distance/DirectorDistance.h
Expand Up @@ -11,6 +11,9 @@
#define _DIRECTORDISTANCE_H___

#ifdef USE_SWIG_DIRECTORS

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/lib/DataType.h>
#include <shogun/distance/Distance.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/Distance.h
Expand Up @@ -12,6 +12,8 @@
#ifndef _DISTANCE_H___
#define _DISTANCE_H___

#include <shogun/lib/config.h>

#include <stdio.h>

#include <shogun/lib/common.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/EuclideanDistance.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _EUCLIDEANDISTANCE_H__
#define _EUCLIDEANDISTANCE_H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/RealDistance.h>
#include <shogun/features/DenseFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/GeodesicMetric.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _GEODESICMETRIC_H___
#define _GEODESICMETRIC_H___

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/DenseDistance.h>

Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/HammingWordDistance.h
Expand Up @@ -12,6 +12,8 @@
#ifndef _HAMMINGWORDDISTANCE_H___
#define _HAMMINGWORDDISTANCE_H___

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/Features.h>
#include <shogun/features/StringFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/JensenMetric.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _JENSENMETRIC_H___
#define _JENSENMETRIC_H___

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/DenseDistance.h>

Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/KernelDistance.h
Expand Up @@ -14,6 +14,8 @@
#ifndef _KERNELDISTANCE_H___
#define _KERNELDISTANCE_H___

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/Distance.h>
#include <shogun/kernel/Kernel.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/MahalanobisDistance.h
Expand Up @@ -13,6 +13,8 @@

#ifdef HAVE_LAPACK

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/RealDistance.h>

Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/ManhattanMetric.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _MANHATTANMETRIC_H___
#define _MANHATTANMETRIC_H___

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/DenseDistance.h>

Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/ManhattanWordDistance.h
Expand Up @@ -12,6 +12,8 @@
#ifndef _MANHATTANWORDDISTANCE_H___
#define _MANHATTANWORDDISTANCE_H___

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/Features.h>
#include <shogun/features/StringFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/MinkowskiMetric.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _MINKOWSKIMETRIC_H___
#define _MINKOWSKIMETRIC_H___

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/DenseDistance.h>

Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/RealDistance.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _REALDISTANCE_H__
#define _REALDISTANCE_H__

#include <shogun/lib/config.h>

#include <shogun/distance/DenseDistance.h>
#include <shogun/lib/common.h>

Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/SparseDistance.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _SPARSEDISTANCE_H___
#define _SPARSEDISTANCE_H___

#include <shogun/lib/config.h>

#include <shogun/distance/Distance.h>
#include <shogun/features/SparseFeatures.h>

Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/SparseEuclideanDistance.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _SPARSEEUCLIDEANDISTANCE_H__
#define _SPARSEEUCLIDEANDISTANCE_H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/SparseDistance.h>
#include <shogun/features/SparseFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/StringDistance.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _STRINGDISTANCE_H___
#define _STRINGDISTANCE_H___

#include <shogun/lib/config.h>

#include <shogun/distance/Distance.h>
#include <shogun/features/StringFeatures.h>

Expand Down
2 changes: 2 additions & 0 deletions src/shogun/distance/TanimotoDistance.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _TANIMOTODISTANCE_H___
#define _TANIMOTODISTANCE_H___

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/distance/DenseDistance.h>

Expand Down

0 comments on commit 6ff3446

Please sign in to comment.