Skip to content

Commit

Permalink
Merge pull request #2063 from frank0523/develop
Browse files Browse the repository at this point in the history
Continue adding include config.h
  • Loading branch information
iglesias committed Mar 25, 2014
2 parents 2baecff + 277e3ef commit ac88728
Show file tree
Hide file tree
Showing 498 changed files with 989 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/interfaces/cmdline_static/CmdLineInterface.h
@@ -1,6 +1,8 @@
#ifndef __CMDLINEINTERFACE__H_
#define __CMDLINEINTERFACE__H_

#include <shogun/lib/config.h>

#include <shogun/base/DynArray.h>
#include <shogun/io/SGIO.h>

Expand Down
2 changes: 2 additions & 0 deletions src/interfaces/python_static/PythonInterface.h
Expand Up @@ -4,6 +4,8 @@
#undef _POSIX_C_SOURCE
#undef HAVE_STAT

#include <shogun/lib/config.h>

extern "C" {
#include <Python.h>
#include <numpy/arrayobject.h>
Expand Down
1 change: 1 addition & 0 deletions src/interfaces/r_static/RInterface.h
@@ -1,6 +1,7 @@
#ifndef __RINTERFACE__H_
#define __RINTERFACE__H_

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/ui/SGInterface.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/base/DynArray.h
Expand Up @@ -12,6 +12,8 @@
#ifndef _DYNARRAY_H_
#define _DYNARRAY_H_

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/mathematics/Math.h>

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

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>

namespace shogun
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/base/Parameter.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __PARAMETER_H__
#define __PARAMETER_H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/lib/DataType.h>
#include <shogun/base/DynArray.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/base/ParameterMap.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __PARAMETERMAP_
#define __PARAMETERMAP_

#include <shogun/lib/config.h>

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

#include <shogun/lib/config.h>

#include <shogun/base/RefObject.h>
#include <shogun/base/DynArray.h>
#include <shogun/base/Parameter.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/base/SGObject.h
Expand Up @@ -13,6 +13,8 @@
#ifndef __SGOBJECT_H__
#define __SGOBJECT_H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/lib/DataType.h>
#include <shogun/base/SGRefObject.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/base/Version.h
Expand Up @@ -13,6 +13,8 @@
#ifndef VERSION_H__
#define VERSION_H__

#include <shogun/lib/config.h>

namespace shogun
{
class RefCount;
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/base/class_list.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __SG_CLASS_LIST_H__
#define __SG_CLASS_LIST_H__

#include <shogun/lib/config.h>

#include <shogun/lib/DataType.h>

namespace shogun {
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/base/init.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __SG_INIT_H__
#define __SG_INIT_H__

#include <shogun/lib/config.h>

#include <stdio.h>

namespace shogun
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/clustering/Hierarchical.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _HIERARCHICAL_H__
#define _HIERARCHICAL_H__

#include <shogun/lib/config.h>

#include <stdio.h>
#include <shogun/lib/common.h>
#include <shogun/io/SGIO.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/clustering/KMeans.h
Expand Up @@ -12,6 +12,8 @@
#ifndef _KMEANS_H__
#define _KMEANS_H__

#include <shogun/lib/config.h>

#include <stdio.h>
#include <shogun/lib/common.h>
#include <shogun/io/SGIO.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/clustering/KMeansLloydImpl.h
Expand Up @@ -10,6 +10,8 @@
#ifndef _LKMEANS_H__
#define _LKMEANS_H__

#include <shogun/lib/config.h>

#include <stdio.h>
#include <shogun/lib/common.h>
#include <shogun/io/SGIO.h>
Expand Down
1 change: 1 addition & 0 deletions src/shogun/clustering/KMeansMiniBatchImpl.h
Expand Up @@ -10,6 +10,7 @@
#ifndef _MBKMEANS_H__
#define _MBKMEANS_H__

#include <shogun/lib/config.h>

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

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/base/SGObject.h>
#include <shogun/features/Features.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/converter/EmbeddingConverter.h
Expand Up @@ -11,6 +11,8 @@
#ifndef EMBEDDINGCONVERTER_H_
#define EMBEDDINGCONVERTER_H_

#include <shogun/lib/config.h>

#include <shogun/converter/Converter.h>
#include <shogun/features/Features.h>
#include <shogun/features/DenseFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/converter/HashedDocConverter.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _HASHEDDOCCONVERTER__H__
#define _HASHEDDOCCONVERTER__H__

#include <shogun/lib/config.h>

#include <shogun/converter/Converter.h>
#include <shogun/features/Features.h>
#include <shogun/lib/Tokenizer.h>
Expand Down
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

0 comments on commit ac88728

Please sign in to comment.