From adc1c7bbb2a7993dc87cee4091f7a8bdc1b79c97 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 16 May 2016 21:46:45 +0200 Subject: rename types to conform with naming convention --- include/gensvm_types.h | 33 +++++++++++++++++++++++++++++++++ include/globals.h | 2 +- include/types.h | 33 --------------------------------- 3 files changed, 34 insertions(+), 34 deletions(-) create mode 100644 include/gensvm_types.h delete mode 100644 include/types.h (limited to 'include') diff --git a/include/gensvm_types.h b/include/gensvm_types.h new file mode 100644 index 0000000..96b6311 --- /dev/null +++ b/include/gensvm_types.h @@ -0,0 +1,33 @@ +/** + * @file gensvm_types.h + * @author Gertjan van den Burg + * @date August, 2013 + * @brief Definitions of common types + * + * @details + * Here common types used throughout the program are defined. + * + */ + +#ifndef GENSVM_TYPES_H +#define GENSVM_TYPES_H + +/** + * @brief type of training used in parameter grid search + */ +typedef enum { + CV=0, /**< cross validation */ + TT=1 /**< data with existing train/test split */ +} TrainType; + +/** + * @brief type of kernel used in training + */ +typedef enum { + K_LINEAR=0, /**< Linear kernel */ + K_POLY=1, /**< Polynomial kernel */ + K_RBF=2, /**< RBF kernel */ + K_SIGMOID=3, /**< Sigmoid kernel */ +} KernelType; + +#endif diff --git a/include/globals.h b/include/globals.h index 7fad7b1..96d3b38 100644 --- a/include/globals.h +++ b/include/globals.h @@ -19,7 +19,7 @@ #define GENSVM_GLOBALS_H #include "gensvm_memory.h" -#include "types.h" +#include "gensvm_types.h" #include #include diff --git a/include/types.h b/include/types.h deleted file mode 100644 index 3a17461..0000000 --- a/include/types.h +++ /dev/null @@ -1,33 +0,0 @@ -/** - * @file types.h - * @author Gertjan van den Burg - * @date August, 2013 - * @brief Definitions of common types - * - * @details - * Here common types used throughout the program are defined. - * - */ - -#ifndef GENSVM_TYPES_H -#define GENSVM_TYPES_H - -/** - * @brief type of training used in parameter grid search - */ -typedef enum { - CV=0, /**< cross validation */ - TT=1 /**< data with existing train/test split */ -} TrainType; - -/** - * @brief type of kernel used in training - */ -typedef enum { - K_LINEAR=0, /**< Linear kernel */ - K_POLY=1, /**< Polynomial kernel */ - K_RBF=2, /**< RBF kernel */ - K_SIGMOID=3, /**< Sigmoid kernel */ -} KernelType; - -#endif -- cgit v1.2.3