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

📄 selector.hpp

📁 模糊聚類分析源碼。包含教學文件
💻 HPP
字号:
/*    Context       : Fuzzy Clustering Algorithms  Author        : Frank Hoeppner, see also AUTHORS file   Description   : header of class Selector                    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 Selector_HEADER#define Selector_HEADER/* configuration include */#ifdef HAVE_CONFIG_H/*//FILETREE_IFDEF HAVE_CONFIG_H*/#include "config.h"/*//FILETREE_ENDIF*/#endif// necessary includes#include <strstream.h>//#define INLINE inline// global types, constants, definitions#define SELECT_BEGIN 0#define SELECT_ZERO  0#define SELECT_ONE   1#define SELECT_TIME  2#define SELECT_DATA  3#define SELECT_PROT  4#define SELECT_NPRO  5#define SELECT_ATTR  6#define SELECT_DELT  7#define SELECT_WEIG  8#define SELECT_MEMB  9#define SELECT_PMEM 10#define SELECT_DIST 11#define SELECT_SIDI 12#define SELECT_SIDE 13#define SELECT_HLEV 14#define SELECT_VALM 15#define SELECT_MONE 16#define SELECT_END  17 /*last+1*/// class definitionclass Selector    {    public:        Selector(const char* p_ident = NULL);    Selector(int,int i1=-1,int i2=-1);    const char* get_description() const;    int get_type() const;    void read(istream&);    void write(ostream&) const;    bool operator==(const Selector&) const;    int m_type;    int m_index[2];  protected:              private:                  };// class related functions and definitions/* inline implementation */inline istream& operator>>  (  istream &is,   Selector& a_var  )   {   a_var.read(is);  return is;   }inline ostream& operator<<  (  ostream &os,   const Selector& a_var  )   {  a_var.write(os);  return os;   }#endif // Selector_HEADER

⌨️ 快捷键说明

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