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