📄 myrulefilter.cpp
字号:
//-------------------------------------------------------------------// Author........: Aleksander 豩rn// Date..........:// Description...:// Revisions.....://===================================================================#include <stdafx.h> // Precompiled headers.#include <copyright.h>#include <kernel/algorithms/myrulefilter.h>#include <kernel/algorithms/keyword.h>#include <kernel/structures/rule.h>#include <kernel/structures/rules.h>//-------------------------------------------------------------------// Methods for class MyRuleFilter.//===================================================================//-------------------------------------------------------------------// Constructors/destructor.//===================================================================MyRuleFilter::MyRuleFilter() { SetFilteringStrategy(0); SetFilteringConnective(CONNECTIVE_OR); SetDecision(Undefined::Integer()); IsDominatingDecision(false); SetLowerRHSSupportThreshold(0); SetUpperRHSSupportThreshold(4); SetLowerRHSAccuracyThreshold(0.0f); SetUpperRHSAccuracyThreshold(0.75f); SetLowerRHSCoverageThreshold(0.0f); SetUpperRHSCoverageThreshold(0.05f); SetLowerRHSStabilityThreshold(0.0); SetUpperRHSStabilityThreshold(0.5); SetLowerLHSLengthThreshold(5); SetUpperLHSLengthThreshold(1000); SetAttribute(Undefined::Integer()); SetAttributeValue(Undefined::Integer());}MyRuleFilter::~MyRuleFilter() {}//-------------------------------------------------------------------// Methods inherited from Identifier.//===================================================================IMPLEMENTIDMETHODS(MyRuleFilter, MYRULEFILTER, RuleFilter)//-------------------------------------------------------------------// Methods inherited from Algorithm.//===================================================================//-------------------------------------------------------------------// Method........: GetParameters// Author........: Aleksander 豩rn// Date..........:// Description...:// Comments......:// Revisions.....: A
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -