qualityrulefilter.cpp

来自「The ROSETTA C++ library is a collection 」· C++ 代码 · 共 52 行

CPP
52
字号
//-------------------------------------------------------------------// Author........: Thomas 舋otnes/Aleksander 豩rn// Date..........: 981111// Description...:// Revisions.....://===================================================================#include <stdafx.h> // Precompiled headers.#include <copyright.h>#include <kernel/algorithms/qualityrulefilter.h>#include <kernel/algorithms/keyword.h>//-------------------------------------------------------------------// Methods for class QualityRuleFilter//===================================================================//-------------------------------------------------------------------// Constructors/destructor.//===================================================================QualityRuleFilter::QualityRuleFilter() {	SetFilteringStrategy(FILTERING_TORGO);	SetMichalskiWeight(0.5);	SetColemanNormalization(ColemanRuleEvaluator::NORMALIZATION_NONE);	UseUpper(false);	UseLower(true);	SetUpper(1.0);	SetLower(0.0);	RemoveUndefinedRules(true);}QualityRuleFilter::~QualityRuleFilter() {}//-------------------------------------------------------------------// Methods inherited from Identifier.//===================================================================IMPLEMENTIDMETHODS(QualityRuleFilter, QUALITYRULEFILTER, RuleFilter)//-------------------------------------------------------------------// Methods inherited from Algorithm.//===================================================================//-------------------------------------------------------------------// Method........: GetParameters// Author........: Thomas 舋otnes// Date..........: 981111// Description...:// Comments......:// Revisions.....: A

⌨️ 快捷键说明

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