discernibilityfunction.cpp

来自「粗糙集应用软件」· C++ 代码 · 共 89 行

CPP
89
字号
//-------------------------------------------------------------------
// Author........: Aleksander 豩rn
// Date..........:
// Description...:
// Revisions.....:
//===================================================================

#include <stdafx.h> // Precompiled headers.
#include <copyright.h>

#include <kernel/structures/discernibilityfunction.h>
#include <kernel/structures/discernibilitymatrix.h>
#include <kernel/structures/decisiontable.h>

#include <kernel/basic/algorithm.h>
#include <kernel/basic/message.h>

//-------------------------------------------------------------------
// Methods for class DiscernibilityFunction.
//===================================================================

//-------------------------------------------------------------------
// Constructors/destructor.
//===================================================================

//-------------------------------------------------------------------
// Method........: Constructor
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Copy constructor
// Comments......:
// Revisions.....:
//===================================================================

DiscernibilityFunction::DiscernibilityFunction(const DiscernibilityFunction &in) : BooleanPOSFunction(in) {
}

//-------------------------------------------------------------------
// Method........: Constructor
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Empty constructor
// Comments......:
// Revisions.....:
//===================================================================

DiscernibilityFunction::DiscernibilityFunction() {
}

//-------------------------------------------------------------------
// Method........: Destructor.
// Author........: Aleksander 豩rn
// Date..........:
// Description...:
// Comments......:
// Revisions.....:
//===================================================================

DiscernibilityFunction::~DiscernibilityFunction() {
}

//-------------------------------------------------------------------
// Methods inherited from Identifier.
//===================================================================

IMPLEMENTIDMETHODS(DiscernibilityFunction, DISCERNIBILITYFUNCTION, BooleanPOSFunction)

//-------------------------------------------------------------------
// Creation methods.
//===================================================================

//-------------------------------------------------------------------
// Method........: Create
// Author........: Aleksander 豩rn
// Date..........:
// Description...: Creates the discernibility function from the
//                 given non-NULL discernibility matrix entries.
//
//                 Simplifies the function if specified.
//
// Comments......: Non-public method, for internal use.
//
//                 The weight vector should have been properly
//                 initialized, if present.
//
//                 The non-NULL entries should be from a matrix of
//                 representatives, if simplification is specified.
//
// Revisions.....: A

⌨️ 快捷键说明

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