SHOGUN
4.1.0
首页
相关页面
模块
类
文件
文件列表
文件成员
全部
类
命名空间
文件
函数
变量
类型定义
枚举
枚举值
友元
宏定义
组
页
src
shogun
lib
StructuredData.cpp
浏览该文件的文档.
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
#include <
shogun/lib/StructuredData.h
>
12
#include <
shogun/base/SGObject.h
>
13
#include <
shogun/io/SGIO.h
>
14
#include <
shogun/lib/StructuredDataTypes.h
>
15
16
using namespace
shogun
;
17
18
CStructuredData::CStructuredData
()
19
:
CSGObject
()
20
{
21
}
22
23
CStructuredData::~CStructuredData
()
24
{
25
}
26
27
EStructuredDataType
CStructuredData::get_structured_data_type
()
const
28
{
29
SG_ERROR
(
"get_structured_data_type() not defined. \n"
30
"Make sure that STRUCTURED_DATA_TYPE(SDT) is defined "
31
"in every class that inherits from CStructuredData.\n"
);
32
33
return
SDT_UNKNOWN
;
34
};
shogun::CStructuredData::~CStructuredData
virtual ~CStructuredData()
Definition:
StructuredData.cpp:23
SGObject.h
StructuredDataTypes.h
SGIO.h
SG_ERROR
#define SG_ERROR(...)
Definition:
SGIO.h:129
StructuredData.h
shogun::CStructuredData::get_structured_data_type
virtual EStructuredDataType get_structured_data_type() const
Definition:
StructuredData.cpp:27
shogun::CSGObject
Class SGObject is the base class of all shogun objects.
Definition:
SGObject.h:112
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_UNKNOWN
Definition:
StructuredDataTypes.h:22
shogun::CStructuredData::CStructuredData
CStructuredData()
Definition:
StructuredData.cpp:18
SHOGUN
机器学习工具包 - 项目文档