rsesreduct.h
来自「粗糙集应用软件」· C头文件 代码 · 共 88 行
H
88 行
//-------------------------------------------------------------------
// Author........: Aleksander 豩rn
// Date..........: 960628
// Description...:
// Revisions.....:
//===================================================================
#ifndef __RSESREDUCT_H__
#define __RSESREDUCT_H__
#include <copyright.h>
#include <kernel/structures/reduct.h>
//-------------------------------------------------------------------
// Class prototypes.
//===================================================================
class TReduct;
//-------------------------------------------------------------------
// Class.........: RSESReduct
// Author........: Aleksander 豩rn
// Date..........: 960628
// Description...:
// Revisions.....:
//===================================================================
class RSESReduct : public Reduct {
private:
//- Friend declarations............................................
friend class RSESReducts;
friend class RSESRules;
friend class RSESExhaustiveReducer;
friend class RSESJohnsonReducer;
friend class RSESGeneticReducer;
friend class RSESRulelessReductFilter;
private:
//- From the RSES library..........................................
TReduct *reduct_; // Embedded reduct.
bool is_owner_; // Is this object the owner of the embedded reduct?
protected:
//- Constructors...................................................
RSESReduct(const RSESReduct &in);
public:
//- Constructors/destructor........................................
RSESReduct();
virtual ~RSESReduct();
//- Methods inherited from Identifier.............................
DECLAREIDMETHODS()
//- Methods inherited from Structure..............................
virtual Structure *Duplicate() const;
//- Methods inherited from Reduct.................................
virtual int GetNoAttributes() const;
virtual int GetAttribute(int position_no) const;
virtual bool InsertAttribute(int attribute_no);
virtual bool RemoveAttribute(int position_no);
virtual bool IsMember(int attribute_no) const;
virtual bool Reindex(const Vector(int) &indices);
virtual Reduct::Discernibility GetDiscernibilityType() const;
virtual bool SetDiscernibilityType(Reduct::Discernibility discernibility);
virtual int GetObject() const;
virtual bool SetObject(int object_no);
virtual int GetSupport() const;
virtual bool SetSupport(int support);
virtual bool IsModuloDecision() const;
virtual bool IsModuloDecision(bool modulo);
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?