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

📄 rsesinformationvector.h

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

#ifndef __RSESINFORMATIONVECTOR_H__
#define __RSESINFORMATIONVECTOR_H__

#include <copyright.h>

#include <kernel/structures/informationvector.h>

//-------------------------------------------------------------------
// Class prototypes.
//===================================================================

class TDObject;

//-------------------------------------------------------------------
// Class.........: RSESInformationVector
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Wrapper class for inf. vectors from the RSES library.
// Revisions.....:
//===================================================================

class RSESInformationVector : public InformationVector {
private:

	//- Friend declarations............................................
	friend class RSESDecisionTable;

private:

	//- Private member variables.......................................
	TDObject *inf_;      // From the RSES library.
	bool      is_owner_; // Does the wrapper own the embedded object?

protected:

  //- Constructors...................................................
	RSESInformationVector(const RSESInformationVector &in);

public:

  //- Constructor and destructor....................................
	RSESInformationVector();
	RSESInformationVector(int size);
  virtual ~RSESInformationVector();

  //- Methods inherited from Identifier.............................
	DECLAREIDMETHODS()

  //- Methods inherited from Structure..............................
  virtual Structure *Duplicate() const;

  //- Access methods................................................
	virtual int        GetNoAttributes() const;

	virtual int        GetEntry(int attribute_no) const;
  virtual bool       SetEntry(int attribute_no, int value);

  //- Attribute administration......................................
  virtual bool       InsertAttribute(int attribute_no);
  virtual bool       RemoveAttribute(int attribute_no);

};

#endif

⌨️ 快捷键说明

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