manualreducer.h
来自「粗糙集应用软件」· C头文件 代码 · 共 49 行
H
49 行
//-------------------------------------------------------------------
// Author........: Aleksander 豩rn
// Date..........:
// Description...:
// Revisions.....:
//===================================================================
#ifndef __MANUALREDUCER_H__
#define __MANUALREDUCER_H__
#include <copyright.h>
#include <kernel/algorithms/reducer.h>
//-------------------------------------------------------------------
// Class.........: ManualReducer
// Author........: Aleksander 豩rn
// Date..........:
// Description...: An algorithmic shell around Creator::Reduct.
// Revisions.....:
//===================================================================
class ManualReducer : public Reducer {
protected:
// Parameters......................................................
String attributes_; // Attribute subset, e.g., "{bird, penguin}" or "{0, 3}".
public:
//- Constructors/destructor........................................
ManualReducer();
virtual ~ManualReducer();
//- Methods inherited from Identifier..............................
DECLAREIDMETHODS()
//- Methods inherited from Algorithm...............................
virtual String GetParameters() const;
virtual bool SetParameter(const String &keyword, const String &value);
virtual Structure *Apply(Structure &structure) const;
//- Local parameter methods........................................
const String &GetAttributes() const {return attributes_;}
bool SetAttributes(const String &attributes) {attributes_ = attributes; return true;}
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?