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

📄 lingfuncapprx.hpp

📁 模糊聚類分析源碼。包含教學文件
💻 HPP
字号:
/*    Context       : Fuzzy Clustering Algorithms  Author        : Frank Hoeppner, see also AUTHORS file   Description   : header of class LingFuncApprx                    History       : see source file  Comment       :     This file was generated automatically. DO NOT EDIT.  Copyright     : Copyright (C) 1999-2000 Frank Hoeppner    This program is free software; you can redistribute it and/or modify    it under the terms of the GNU General Public License as published by    the Free Software Foundation; either version 2 of the License, or    (at your option) any later version.    This program is distributed in the hope that it will be useful,    but WITHOUT ANY WARRANTY; without even the implied warranty of    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    GNU General Public License for more details.    You should have received a copy of the GNU General Public License    along with this program; if not, write to the Free Software    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA*//*  The University of Applied Sciences Oldenburg/Ostfriesland/Wilhelmshaven  hereby disclaims all copyright interests in the program package `fc'   (tool package for fuzzy cluster analysis) written by Frank Hoeppner.    Prof. Haass, President of Vice, 2000-Mar-10*/#ifndef LingFuncApprx_HEADER#define LingFuncApprx_HEADER/* configuration include */#ifdef HAVE_CONFIG_H/*//FILETREE_IFDEF HAVE_CONFIG_H*/#include "config.h"/*//FILETREE_ENDIF*/#endif// necessary includes#include "ddl.hpp"#include "algorithm.hpp"#include <string>#include "FuzzySet.hpp"#include "hausdorff.hpp"//#define INLINE inline// global types, constants, definitions#define CRISPNESS 0.0#define MODIFIER_MASK (3<<0)#define MODIFIER_ABSOLUTELY (1<<0)#define MODIFIER_MORE_OR_LESS (2<<0)#define SLOPE_MASK (3<<2)#define SLOPE_GENTLY (1<<2)#define SLOPE_MODERATELY (2<<2)#define SLOPE_STEEPLY (3<<2)#define CURVATURE_MASK (3<<4)#define CURVATURE_CONVEX (1<<4)#define CURVATURE_CONCAVE (2<<4)#define SHAPE_MASK (7<<6)#define SHAPE_CONSTANT (1<<6)#define SHAPE_INCREASING (2<<6)#define SHAPE_DECREASING (3<<6)#define SHAPE_LOCAL_MAX (4<<6)#define SHAPE_LOCAL_MIN (5<<6)#define DERIVATIVE_BIG 4.0#define DERIVATIVE_MEDIUM 1.0#define DERIVATIVE_SMALL 0.25#define DERIVATIVE_ZERO 0// class definitiontemplate < class ANALYSIS >class LingFuncApprx  : public Algorithm<ANALYSIS>  {    public:        LingFuncApprx(Algorithm<ANALYSIS> *ap_alg);    ~LingFuncApprx();    virtual void operator()(ANALYSIS&);      protected:            Algorithm<ANALYSIS>* mp_succ_alg;  private:                  };// class related functions and definitionsvoid write_description(ostream&,int,real_type);template <class ALGORITHM>inline LingFuncApprx<typename ALGORITHM::input_type>*lifa(ALGORITHM* a)  { return new LingFuncApprx<typename ALGORITHM::input_type>(a); }/* inline implementation */#endif // LingFuncApprx_HEADER

⌨️ 快捷键说明

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