📄 gistree.h
字号:
//////////////////////////////////////////////////////////////////////////// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -