SHOGUN
4.1.0
首页
相关页面
模块
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
src
shogun
lib
StructuredDataTypes.h
浏览该文件的文档.
1
/*
2
* This program is free software; you can redistribute it and/or modify
3
* it under the terms of the GNU General Public License as published by
4
* the Free Software Foundation; either version 3 of the License, or
5
* (at your option) any later version.
6
*
7
* Written (W) 2012 Fernando José Iglesias García
8
* Copyright (C) 2012 Fernando José Iglesias García
9
*/
10
11
#ifndef _STRUCTURED_DATA_TYPES__H__
12
#define _STRUCTURED_DATA_TYPES__H__
13
14
#include <
shogun/lib/config.h
>
15
16
namespace
shogun
17
{
18
20
enum
EStructuredDataType
21
{
22
SDT_UNKNOWN
= 0,
23
SDT_REAL
= 1,
24
SDT_SEQUENCE
= 2,
25
SDT_FACTOR_GRAPH
= 3,
26
SDT_SPARSE_MULTILABEL
= 4
27
};
28
29
#define STRUCTURED_DATA_TYPE(SDT) \
30
\
34
virtual EStructuredDataType get_structured_data_type() const { return SDT; }
35
}
36
37
#endif
/* _STRUCTURED_DATA_TYPES__H__ */
config.h
shogun::SDT_SEQUENCE
Definition:
StructuredDataTypes.h:24
shogun::SDT_REAL
Definition:
StructuredDataTypes.h:23
shogun::EStructuredDataType
EStructuredDataType
Definition:
StructuredDataTypes.h:20
shogun
all of classes and functions are contained in the shogun namespace
Definition:
class_list.h:18
shogun::SDT_FACTOR_GRAPH
Definition:
StructuredDataTypes.h:25
shogun::SDT_SPARSE_MULTILABEL
Definition:
StructuredDataTypes.h:26
shogun::SDT_UNKNOWN
Definition:
StructuredDataTypes.h:22
SHOGUN
机器学习工具包 - 项目文档