Skip to content

Commit

Permalink
add config.h in all .h files in shogun/structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuyu Zhang committed Mar 21, 2014
1 parent d22e148 commit d47ed75
Show file tree
Hide file tree
Showing 30 changed files with 60 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shogun/structure/BeliefPropagation.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __BELIEF_PROPAGATION_H__
#define __BELIEF_PROPAGATION_H__

#include <shogun/lib/config.h>

#include <shogun/lib/SGVector.h>
#include <shogun/structure/FactorGraph.h>
#include <shogun/structure/MAPInference.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/BmrmStatistics.h
Expand Up @@ -11,6 +11,8 @@
#ifndef BMRM_RETURN_VALUE_H_
#define BMRM_RETURN_VALUE_H_

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/io/SerializableFile.h>
#include <shogun/lib/SGVector.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/DisjointSet.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __DISJOINTSET_H__
#define __DISJOINTSET_H__

#include <shogun/lib/config.h>

#include <shogun/base/SGObject.h>
#include <shogun/lib/SGVector.h>

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

#include <shogun/lib/config.h>

#include <shogun/machine/LinearStructuredOutputMachine.h>
#include <shogun/features/DotFeatures.h>
#include <shogun/structure/BmrmStatistics.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/Factor.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __FACTOR_RELATED_H__
#define __FACTOR_RELATED_H__

#include <shogun/lib/config.h>

#include <shogun/base/SGObject.h>
#include <shogun/lib/SGVector.h>
#include <shogun/lib/SGSparseVector.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/FactorGraph.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __FACTORGRAPH_H__
#define __FACTORGRAPH_H__

#include <shogun/lib/config.h>

#include <shogun/lib/DynamicObjectArray.h>
#include <shogun/lib/SGVector.h>
#include <shogun/structure/Factor.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/FactorGraphModel.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __FACTOR_GRAPH_MODEL_H__
#define __FACTOR_GRAPH_MODEL_H__

#include <shogun/lib/config.h>

#include <shogun/lib/SGString.h>
#include <shogun/lib/DynamicObjectArray.h>
#include <shogun/structure/StructuredModel.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/FactorType.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __FACTOR_TYPE_H__
#define __FACTOR_TYPE_H__

#include <shogun/lib/config.h>

#include <shogun/base/SGObject.h>
#include <shogun/lib/SGVector.h>

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

#include <shogun/lib/config.h>

#include <shogun/structure/StructuredModel.h>
#include <shogun/structure/SequenceLabels.h>
#include <shogun/structure/StateModelTypes.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/IntronList.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __INTRON_LIST__
#define __INTRON_LIST__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/base/SGObject.h>

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

#include <shogun/lib/config.h>

#include <shogun/base/SGObject.h>
#include <shogun/lib/SGVector.h>
#include <shogun/structure/FactorGraph.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/MulticlassModel.h
Expand Up @@ -12,6 +12,8 @@
#ifndef _MULTICLASS_MODEL__H__
#define _MULTICLASS_MODEL__H__

#include <shogun/lib/config.h>

#include <shogun/structure/StructuredModel.h>

namespace shogun
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/MulticlassSOLabels.h
Expand Up @@ -12,6 +12,8 @@
#ifndef _MULTICLASS_SO_LABELS__H__
#define _MULTICLASS_SO_LABELS__H__

#include <shogun/lib/config.h>

#include <shogun/labels/StructuredLabels.h>
#include <shogun/lib/SGVector.h>
#include <shogun/lib/StructuredData.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/Plif.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __PLIF_H__
#define __PLIF_H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/lib/SGVector.h>
#include <shogun/mathematics/Math.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/PlifArray.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __PLIFARRAY_H__
#define __PLIFARRAY_H__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/mathematics/Math.h>
#include <shogun/base/DynArray.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/PlifBase.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __PLIF_BASE_H__
#define __PLIF_BASE_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/structure/PlifMatrix.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _PLIFMATRIX_H_
#define _PLIFMATRIX_H_

#include <shogun/lib/config.h>

#include <shogun/lib/DataType.h>
#include <shogun/lib/SGNDArray.h>
#include <shogun/lib/SGMatrix.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/PrimalMosekSOSVM.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _PRIMAL_MOSEK_SOSVM__H__
#define _PRIMAL_MOSEK_SOSVM__H__

#include <shogun/lib/config.h>

#ifdef USE_MOSEK

#include <shogun/machine/LinearStructuredOutputMachine.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/SOSVMHelper.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __SOSVM_HELPER_H__
#define __SOSVM_HELPER_H__

#include <shogun/lib/config.h>

#include <shogun/base/SGObject.h>
#include <shogun/lib/SGVector.h>
#include <shogun/structure/StructuredModel.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/SegmentLoss.h
Expand Up @@ -10,6 +10,8 @@
#ifndef __SEGMENT_LOSS__
#define __SEGMENT_LOSS__

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/base/SGObject.h>
#include <shogun/lib/DynamicArray.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/SequenceLabels.h
Expand Up @@ -11,6 +11,8 @@
#ifndef _SEQUENCE_LABELS__H__
#define _SEQUENCE_LABELS__H__

#include <shogun/lib/config.h>

#include <shogun/labels/StructuredLabels.h>
#include <shogun/lib/SGVector.h>
#include <shogun/lib/StructuredData.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/StateModel.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __STATE_MODEL_H__
#define __STATE_MODEL_H__

#include <shogun/lib/config.h>

#include <shogun/base/SGObject.h>
#include <shogun/lib/SGMatrix.h>
#include <shogun/lib/SGVector.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/StateModelTypes.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __STATE_MODEL_TYPES_H__
#define __STATE_MODEL_TYPES_H__

#include <shogun/lib/config.h>

namespace shogun
{

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

#include <shogun/lib/config.h>

#include <shogun/lib/SGVector.h>
#include <shogun/machine/LinearStructuredOutputMachine.h>

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

#include <shogun/lib/config.h>

#include <shogun/base/SGObject.h>
#include <shogun/features/Features.h>
#include <shogun/labels/StructuredLabels.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/TwoStateModel.h
Expand Up @@ -11,6 +11,8 @@
#ifndef __TWO_STATE_MODEL_H__
#define __TWO_STATE_MODEL_H__

#include <shogun/lib/config.h>

#include <shogun/structure/StateModel.h>
#include <shogun/structure/HMSVMModel.h>

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

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/structure/BmrmStatistics.h>
#include <shogun/structure/DualLibQPBMSOSVM.h>
Expand Down
2 changes: 2 additions & 0 deletions src/shogun/structure/libncbm.h
Expand Up @@ -11,6 +11,8 @@
#ifndef libncbm_h
#define libncbm_h

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/structure/libbmrm.h>

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

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/structure/libbmrm.h>

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

#include <shogun/lib/config.h>

#include <shogun/lib/common.h>
#include <shogun/structure/libbmrm.h>

Expand Down

0 comments on commit d47ed75

Please sign in to comment.