gistree.h

来自「Amis - A maximum entropy estimator 一个最大」· C头文件 代码 · 共 58 行

H
58
字号
////////////////////////////////////////////////////////////////////////////  Copyright (c) 2000, Yusuke Miyao///  You may distribute under the terms of the Artistic License.//////  <id>$Id: GISTree.h,v 1.2 2003/05/11 18:12:09 yusuke Exp $</id>///  <collection>Maximum Entropy Estimator</collection>///  <name>GISTree.h</name>///  <overview>Generalized Iterative Scaling for feature forest model</overview>/////////////////////////////////////////////////////////////////////////#ifndef Amis_GISTree_h_#define Amis_GISTree_h_#include <amis/configure.h>#include <amis/GIS.h>#include <amis/ModelExpectTree.h>#include <amis/EventTreeSpaceBase.h>#include <amis/AlphaSet.h>AMIS_NAMESPACE_BEGIN///////////////////////////////////////////////////////////////////////// <classdef>/// <name>GISTree</name>/// <overview>Generalized Iterative Scaling</overview>/// <desc>/// A maximum entropy estimator based on the Generalized Iterative Scaling/// algorithm./// </desc>/// <body>template < class Feature >class GISTree : public GISBase< ModelBase, EventTreeSpaceBase< Feature >,				ModelExpectTree< Feature, FeatureFreqValue, AlphaValue > > {public:  GISTree()    : GISBase< ModelBase, EventTreeSpaceBase< Feature >,               ModelExpectTree< Feature, FeatureFreqValue, AlphaValue > >() {}  GISTree( ModelBase& init_model, EventTreeSpaceBase< Feature >& init_event )    : GISBase< ModelBase, EventTreeSpaceBase< Feature >,               ModelExpectTree< Feature, FeatureFreqValue, AlphaValue > >( init_model, init_event ) {}  virtual ~GISTree() {}  const std::string estimatorName( void ) const {    return "GISTree<" + Feature::featureTypeName() + ">";  }  /// Get the name of this class};AMIS_NAMESPACE_END#endif // Amis_GISTree_h_// end of GISTree.h

⌨️ 快捷键说明

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