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

📄 algorithm.cpp

📁 粗糙集应用软件
💻 CPP
字号:
//-------------------------------------------------------------------
// Author........: Aleksander 豩rn
// Date..........: 960307
// Description...:
// Revisions.....:
//===================================================================

#include <stdafx.h> // Precompiled headers.
#include <copyright.h>

#include <kernel/algorithms/algorithm.h>
#include <kernel/algorithms/keyword.h>

#include <kernel/structures/structure.h>

#include <kernel/basic/message.h>

//-------------------------------------------------------------------
// Methods for class Algorithm.
//===================================================================

//-------------------------------------------------------------------
// Constructors/destructor.
//===================================================================

Algorithm::Algorithm() {
}

Algorithm::~Algorithm() {
}

//-------------------------------------------------------------------
// Methods inherited from Identifier.
//===================================================================

IMPLEMENTIDMETHODS(Algorithm, ALGORITHM, Identifier)

//-------------------------------------------------------------------
// Parameter manipulation.
//===================================================================

//-------------------------------------------------------------------
// Method........: GetParameters
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Returns a parsable string describing the algorithm
//                 parameters.
//
//                 Default implementation, should be overloaded where
//                 appropriate.
// Comments......:
// Revisions.....:
//===================================================================

String
Algorithm::GetParameters() const {
	return String("");
}

//-------------------------------------------------------------------
// Method........: GetOutputFilenames
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Returns in-place all names of files that the
//                 algorithm has produced as side-effects if
//                 application went well.
// Comments......: Used for creating file wrappers in project tree,
// Revisions.....:
//===================================================================

bool
Algorithm::GetOutputFilenames(Vector(String) &filenames) const {
	filenames.erase(filenames.begin(), filenames.end());
	return true;
}

//-------------------------------------------------------------------
// Method........: SetParameters
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Parses the input string and sets the algorithm
//                 parameters.
// Comments......: Cannot use nested calls to String::GetToken.
// Revisions.....: A

⌨️ 快捷键说明

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