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

📄 ghmm_gmlstate.h

📁 General Hidden Markov Model Library 一个通用的隐马尔科夫模型的C代码库
💻 H
字号:
/* * * created: 26 Feb 2002 by Wasinee Rungsarityotin * authors: Wasinee Rungsarityotin (rungsari@molgen.mpg.de) * file   : $Source$ * $Id: GHMM_GMLState.h 288 2003-11-07 22:17:38Z wasinee $ * revision date   : $Date: 2003-11-07 23:17:38 +0100 (Fri, 07 Nov 2003) $  ___copyright__  */#ifndef _GHMM_GMLSTATE_H#define _GHMM_GMLSTATE_H 1#include <map>#include <ghmm++/GHMM_Types.h>#include <ghmm++/GHMM_State.h>#include <ghmm++/GHMM_GMLTransition.h>#include <ghmm++/begin_code.h>#ifdef HAVE_NAMESPACESnamespace std {#endif/** */class GHMM_GMLState: public GHMM_State { public:  /** */  GHMM_GMLState(GHMM_AbstractModel* my_model, int index, XMLIO_Attributes& attrs);  /** */  GHMM_GMLState(GHMM_AbstractModel* my_model, int index, sstate* my_state);  /** */  GHMM_GMLState(GHMM_AbstractModel* my_model, int index, state* my_state);    /** Returns name of class. */  const char* toString() const;  GHMM_GMLTransition *createTransition(int edge_index);  GHMM_GMLState* getMySelf() { return this; }  float get2DPosition(int index);  /** */  string label;  int    m_countme; protected:  /** Collects all character data. */  void XMLIO_getCharacters(const string& characters);  /** Called by XMLIO_Document when a end tag is found.       This happens when a sub element has finished reading its      content. By default this function does nothing. */  void XMLIO_endTag(const string& tag);  /** Called by GHMM_Document when a start tag is received. Tag and       attributes are passed to this function. */  XMLIO_Element* XMLIO_startTag(const string& tag, XMLIO_Attributes &attrs);  /** Returns the attributes of this element (XML Spec [40], [41]).       By default returns content of variable 'attributes'.*/  XMLIO_Attributes& XMLIO_getAttributes();  /** Writes the content (XML Spec[43]) of this element.      You should use the public XMLIO_Document::write* functions.      @return Returns the number of bytes written,      but is negative when an error occured and 0 by default. */  const int XMLIO_writeContent(XMLIO_Document& doc);  /** Position attributes */  float vPosition[3]; private:  map<const string, bool> hasData;};#ifdef HAVE_NAMESPACES}#endif#include <ghmm++/close_code.h>#endif /* _GHMM_STATE_H */

⌨️ 快捷键说明

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