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

📄 classifier.h

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

#ifndef __CLASSIFIER_H__
#define __CLASSIFIER_H__

#include <copyright.h>

#include <kernel/algorithms/algorithm.h>

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

class DecisionTable;
class Rules;

//-------------------------------------------------------------------
// Class.........: Classifier
// Author........:
// Date..........:
// Description...: Base class for classifiers.  Can be subclassed to
//                 allow for various different classification schemes,
//                 e.g. rule-based classifiers, neural networks,
//                 statistical classifiers etc.
// Revisions.....:
//===================================================================

class Classifier : public Algorithm {
public:

  //- Constructors/destructor........................................
  Classifier();
  virtual ~Classifier();

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

  //- Methods inherited from Algorithm...............................
	virtual bool IsApplicable(const Structure &structure, bool warn = true) const;

  //- Classifier methods.............................................
	virtual bool SetRules(const Rules *rules);
	virtual bool IsCompatible(const DecisionTable &table, bool masked) const;
	virtual bool Initialize(const DecisionTable &table, bool masked);
	virtual bool Reset();

};

#endif

⌨️ 快捷键说明

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