Skip to content

Commit

Permalink
add config.h in all .h files in shogun/features
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuyu Zhang committed Mar 21, 2014
1 parent 67dd251 commit 204b191
Show file tree
Hide file tree
Showing 41 changed files with 83 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shogun/features/DenseFeatures.h
Expand Up @@ -14,6 +14,8 @@
#ifndef _DENSEFEATURES__H__
#define _DENSEFEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/lib/Cache.h>
#include <shogun/io/File.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/DotFeatures.h
Expand Up @@ -12,6 +12,8 @@
#ifndef _DOTFEATURES_H___
#define _DOTFEATURES_H___

#include <shogun/lib/config.h>

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

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/Features.h>

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

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/DotFeatures.h>
#include <shogun/features/StringFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/FKFeatures.h
Expand Up @@ -12,6 +12,8 @@
#ifndef _CFKFEATURES__H__
#define _CFKFEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/features/DenseFeatures.h>
#include <shogun/distributions/HMM.h>

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

#include <shogun/lib/config.h>

#include <shogun/features/Features.h>
#include <shogun/structure/FactorGraph.h>

Expand Down
3 changes: 3 additions & 0 deletions src/shogun/features/FeatureTypes.h
Expand Up @@ -9,6 +9,9 @@
*/
#ifndef _FEATURE_TYPES__H__
#define _FEATURE_TYPES__H__

#include <shogun/lib/config.h>

namespace shogun
{

Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/Features.h
Expand Up @@ -13,6 +13,8 @@
#ifndef _CFEATURES__H__
#define _CFEATURES__H__

#include <shogun/lib/config.h>

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

#include <shogun/lib/config.h>

#include <shogun/features/DenseFeatures.h>
#include <shogun/features/DotFeatures.h>

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

#include <shogun/lib/config.h>

#include <shogun/features/DotFeatures.h>
#include <shogun/features/StringFeatures.h>
#include <shogun/converter/HashedDocConverter.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/HashedSparseFeatures.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _HASHED_SPARSEFEATURES_H__
#define _HASHED_SPARSEFEATURES_H__

#include <shogun/lib/config.h>

#include <shogun/features/SparseFeatures.h>
#include <shogun/features/DotFeatures.h>
#include <shogun/lib/SGSparseVector.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/HashedWDFeatures.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _HASHEDWDFEATURES_H___
#define _HASHEDWDFEATURES_H___

#include <shogun/lib/config.h>

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

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/DotFeatures.h>
#include <shogun/features/StringFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/ImplicitWeightedSpecFeatures.h
Expand Up @@ -12,6 +12,8 @@
#ifndef _IMPLICITSPECFEATURES_H___
#define _IMPLICITSPECFEATURES_H___

#include <shogun/lib/config.h>

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

#include <shogun/lib/config.h>

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

#include <shogun/lib/config.h>

#include <shogun/features/Features.h>
#include <shogun/lib/Data.h>

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

#include <shogun/lib/config.h>

#include <shogun/features/Features.h>
#include <shogun/lib/SGMatrixList.h>

Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/PolyFeatures.h
Expand Up @@ -10,6 +10,8 @@
#ifndef _POLYFEATURES__H__
#define _POLYFEATURES__H__

#include <shogun/lib/config.h>

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

#include <shogun/lib/config.h>

#include <shogun/features/RandomKitchenSinksDotFeatures.h>
#include <shogun/features/DenseFeatures.h>
#include <shogun/features/DotFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/RandomKitchenSinksDotFeatures.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _RANDOMKITCHENSINKS_DOT_FEATURES_H__
#define _RANDOMKITCHENSINKS_DOT_FEATURES_H__

#include <shogun/lib/config.h>

#include <shogun/features/DotFeatures.h>

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

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/DenseFeatures.h>

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

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/DotFeatures.h>
#include <shogun/features/StringFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/SparseFeatures.h
Expand Up @@ -14,6 +14,8 @@
#ifndef _SPARSEFEATURES__H__
#define _SPARSEFEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/DenseFeatures.h>
#include <shogun/features/DotFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/SparsePolyFeatures.h
Expand Up @@ -10,6 +10,8 @@
#ifndef _SPARSEPOLYFEATURES__H__
#define _SPARSEPOLYFEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/DotFeatures.h>
#include <shogun/features/SparseFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/StringFeatures.h
Expand Up @@ -13,6 +13,8 @@
#ifndef _CSTRINGFEATURES__H__
#define _CSTRINGFEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/lib/Cache.h>
#include <shogun/lib/DynamicArray.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/StringFileFeatures.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _CSTRINGFILEFEATURES__H__
#define _CSTRINGFILEFEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/features/StringFeatures.h>
#include <shogun/features/Alphabet.h>
#include <shogun/io/MemoryMappedFile.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/Subset.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __SUBSET_H_
#define __SUBSET_H_

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/base/SGObject.h>
#include <shogun/mathematics/Math.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/SubsetStack.h
Expand Up @@ -10,6 +10,8 @@
#ifndef __SUBSETSTACK_H_
#define __SUBSETSTACK_H_

#include <shogun/lib/config.h>

#include <shogun/base/SGObject.h>
#include <shogun/mathematics/Math.h>
#include <shogun/lib/DynamicObjectArray.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/TOPFeatures.h
Expand Up @@ -12,6 +12,8 @@
#ifndef _CTOPFEATURES__H__
#define _CTOPFEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/features/DenseFeatures.h>
#include <shogun/distributions/HMM.h>

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

#include <shogun/lib/config.h>

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

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/streaming/StreamingDotFeatures.h>
#include <shogun/features/DenseFeatures.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/streaming/StreamingDotFeatures.h
Expand Up @@ -10,6 +10,8 @@
#ifndef _STREAMING_DOTFEATURES__H__
#define _STREAMING_DOTFEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/streaming/StreamingFeatures.h>
#include <shogun/features/FeatureTypes.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/streaming/StreamingFeatures.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _STREAMING_FEATURES__H__
#define _STREAMING_FEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/Features.h>
#include <shogun/io/streaming/StreamingFile.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/streaming/StreamingHashedDenseFeatures.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _STREAMING_HASHED_DENSEFEATURES__H__
#define _STREAMING_HASHED_DENSEFEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/features/DenseFeatures.h>
#include <shogun/features/streaming/StreamingDotFeatures.h>
#include <shogun/io/streaming/InputParser.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/streaming/StreamingHashedDocDotFeatures.h
Expand Up @@ -10,6 +10,8 @@
#ifndef _STREAMING_HASHEDDOCDOTFEATURES__H__
#define _STREAMING_HASHEDDOCDOTFEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/features/StringFeatures.h>
#include <shogun/features/streaming/StreamingDotFeatures.h>
#include <shogun/lib/Tokenizer.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/streaming/StreamingHashedSparseFeatures.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _STREAMING_HASHED_SPARSEFEATURES__H__
#define _STREAMING_HASHED_SPARSEFEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/features/SparseFeatures.h>
#include <shogun/features/streaming/StreamingDotFeatures.h>
#include <shogun/io/streaming/InputParser.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/streaming/StreamingSparseFeatures.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _STREAMING_SPARSEFEATURES__H__
#define _STREAMING_SPARSEFEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/streaming/StreamingDotFeatures.h>
#include <shogun/io/streaming/InputParser.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/streaming/StreamingStringFeatures.h
Expand Up @@ -10,6 +10,8 @@
#ifndef _STREAMING_STRINGFEATURES__H__
#define _STREAMING_STRINGFEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/mathematics/Math.h>
#include <shogun/base/Parameter.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/features/streaming/StreamingVwFeatures.h
Expand Up @@ -16,6 +16,8 @@
#ifndef _STREAMING_VWFEATURES__H__
#define _STREAMING_VWFEATURES__H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/lib/DataType.h>
#include <shogun/mathematics/Math.h>
Expand Down
Expand Up @@ -10,6 +10,8 @@
#ifndef __GAUSSIANBLOBSDATAGENERATOR_H_
#define __GAUSSIANBLOBSDATAGENERATOR_H_

#include <shogun/lib/config.h>

#include <shogun/features/streaming/StreamingDenseFeatures.h>

namespace shogun
Expand Down
Expand Up @@ -10,6 +10,8 @@
#ifndef __MEANSHIFTDATAGENERATOR_H_
#define __MEANSHIFTDATAGENERATOR_H_

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/features/streaming/StreamingDenseFeatures.h>

Expand Down

0 comments on commit 204b191

Please sign in to comment.