⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ginidefs.h

📁 也是一个不错的SVM实现算法。经常有人要用的
💻 H
字号:
/*****************************************************************************/// NAME : ginidefs.h// // DESCRIPTION : This file contains all the definations for the generic data//               structures that will be used. This hides the platform //               dependence from the code.//// USAGE ://// KNOWN BUGS :////// BUG REPORT : shantanu@jhu.edu/*****************************************************************************/#ifndef _GINI_DEF_#define _GINI_DEF_//Maximum range of the smallest unit of storage#define GINI_BYTE_MAX_VAL 30000#define GINI_MAX_PKT_SIZE 256#define GINI_NULL 0#define GINI_EPS 1e-45#define GINI_MAX(a,b) (a<=b) ? b : a#define GINI_MIN(a,b) (a>=b) ? b : aenum GINI_bool {GINI_FALSE , GINI_TRUE}; typedef unsigned char       GINI_u8;  typedef unsigned short int  GINI_u16;  typedef unsigned int        GINI_u32;typedef unsigned long long  GINI_u64;typedef unsigned long       GINI_ulong;  typedef  char   GINI_char;  typedef  int    GINI_int;  typedef  float  GINI_float;  typedef  float GINI_double;  const GINI_float PI=3.141592654;const GINI_float GINI_FLOAT_INVALID=99999;struct GINI_data{   GINI_u32 length;   GINI_char storage[GINI_BYTE_MAX_VAL];};// Enumeration for the Possible error values in the application.enum  GINI_ERROR_VAL{   GINI_NO_ERROR,   GINI_FILE_ERROR,   GINI_INDEX_OUT_RANGE,   GINI_ILLEGAL_OPERATION,   GINI_INVALID_VALUE,   GINI_BAD_STREAM,   GINI_OUTOF_MEMORY,   GINI_NOOBJECT_SPACE,   GINI_PRECISION_ERROR};extern GINI_ERROR_VAL GINI_Errno;#endif   

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -