📄 rsesreduct.h
字号:
//-------------------------------------------------------------------
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -