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

📄 intervalsetrelation.hpp

📁 模糊聚類分析源碼。包含教學文件
💻 HPP
字号:
/*    Context       : Fuzzy Clustering Algorithms  Author        : Frank Hoeppner, see also AUTHORS file   Description   : header of class IntervalSetRelation                    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 IntervalSetRelation_HEADER#define IntervalSetRelation_HEADER/* configuration include */#ifdef HAVE_CONFIG_H/*//FILETREE_IFDEF HAVE_CONFIG_H*/#include "config.h"/*//FILETREE_ENDIF*/#endif// necessary includes#include <list>#include <set>#include "stlutil.hpp"#include "ddl.hpp"#include "SubMatrix.hpp"//#define INLINE inline// global types, constants, definitions#define MAXWINWID 2#define IP_LEFT       (16)         // 10000#define IP_LEFTBOUND  (8)          // 01000#define IP_MIDDLE     (4)          // 00100#define IP_RIGHTBOUND (2)          // 00010#define IP_RIGHT      (1)          // 00001#define IP_FULLMASK   (31)         // 11111// A xxx B : A- AB= B~ #define IR_AFTER           (16)  // ~~~  ---   10000#define IR_IS_MET_BY       (24)  // ~~~~----   11000#define IR_IS_OVERLAPED_BY (28)  // ~~~===--   11100#define IR_IS_FINISHED_BY  (30)  // ~~~=====   11110#define IR_DURING          (31)  // ~~~===~~   11111#define IR_IS_STARTED_BY   (12)  // =====---   01100#define IR_EQUALS          (14)  // ========   01110#define IR_STARTS          (15)  // ======~~   01111#define IR_CONTAINS         (4)  // ---===--   00100#define IR_FINISHES         (6)  // -----===   00110#define IR_OVERLAPS         (7)  // ---===~~   00111#define IR_MEETS            (3)  // ----~~~~   00011#define IR_BEFORE           (1)  // ---  ~~~   00001#define SI_START_AXIS 0#define SI_STATE_AXIS 1#define SI_FINAL_AXIS 2// class definitionclass IntervalSetRelation    {    public:        IntervalSetRelation(real_type,int,real_type);    IntervalSetRelation(const IntervalSetRelation&);    IntervalSetRelation(IntervalSetRelation*,real_type,int,real_type);    bool operator<(const IntervalSetRelation&) const;    void write(ostream&) const;    real_type m_occurences;    const IntervalSetRelation *mp_predecessor;    int_tuple_type m_alphabet;    int_matrix_type m_relation;    tuple_type m_leftbound;    tuple_type m_rightbound;    real_type m_leftmostright;    real_type m_rightmostleft;  protected:              private:                  };// class related functions and definitionsint interval_relation(real_type a,real_type b,real_type c,real_type d);/* inline implementation */inline ostream& operator<<  (  ostream &os,   const IntervalSetRelation& a_var  )   {  a_var.write(os);  return os;   }#endif // IntervalSetRelation_HEADER

⌨️ 快捷键说明

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