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

📄 discernibilitymatrix.h

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

#ifndef __DISCERNIBILITYMATRIX_H__
#define __DISCERNIBILITYMATRIX_H__

#include <copyright.h>

#include <kernel/structures/structure.h>
#include <kernel/structures/generalizeddecision.h>

#include <kernel/basic/bits.h>

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

class DecisionTable;
class Discerner;
class ifstream;
class ofstream;

//-------------------------------------------------------------------
// Class.........: DiscernibilityMatrix
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Represents a discernibility matrix, optimized
//                 somewhat wrt space.
//
//                 Each matrix entry is a bitset. Slightly less than
//                 half the matrix is actually stored, since the matrix
//                 is symmetric with empty diagonal entries.
//
//                 NOTE: The assumption above implies that the
//                       Discerner object must define a reflexive and
//                       symmetric relation. It is the caller's
//                       responsibility to check this!
//
//                 Moreover, only one bitset per equivalence class
//                 is stored, with the mapping from object index to
//                 equivalence class index taking O(1) time.
//
//                 Empty sets are returned as NULL.
//
// Comments......: The friend declaration is an ugly hack. Resolve
//                 later,
//
// Revisions.....: A

⌨️ 快捷键说明

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