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

📄 gisfix.h

📁 Amis - A maximum entropy estimator 一个最大熵模型统计工具
💻 H
字号:
#ifndef Amis_GISFix_h_#define Amis_GISFix_h_#include <amis/configure.h>#include <amis/GIS.h>#include <amis/ModelFix.h>#include <amis/EventFixSpace.h>//#include <amis/ModelExpectFix.h>//#include <amis/EmpiricalExpectFix.h>#include <amis/FeatureFreqArray.h>AMIS_NAMESPACE_BEGINtemplate < class Feature >class GISFix : public GISBase< ModelFixBase, EventFixSpaceBase< Feature > > {public:  GISFix() :    GISBase< ModelFixBase, EventFixSpaceBase< Feature > >() {}  GISFix( ModelFixBase& init_model, EventFixSpaceBase< Feature >& init_event ) :    GISBase< ModelFixBase, EventFixSpaceBase< Feature > >( init_model, init_event ) {}  virtual ~GISFix() {}  const std::string estimatorName( void ) const {    return "GISFix<" + Feature::featureTypeName() + ">";  }  /// Get the name of this class};/*template < class Feature >class GISMAPFix : public GISMAPBase< EventFixSpaceBase< Feature >, ModelExpectFix< Feature, FeatureFreqValue >, EmpiricalExpectFix > {public:  GISMAPFix( ModelFix* init_model, EventFixSpaceBase< Feature >* init_event, int max, Real sigma, int num_threads ) :    GISMAPBase< EventFixSpaceBase< Feature >, ModelExpectFix< Feature, FeatureFreqValue >, EmpiricalExpectFix >( init_model, init_event, max, sigma, num_threads ) {}  virtual ~GISMAPFix() {}  const std::string estimatorName( void ) const {    return "GISMAPFix<" + Feature::featureTypeName() + ">";  }  /// Get the name of this class};*//*template < class Feature >class GISFixKernel : public GISBase< EventFixSpaceKernel< Feature >, ModelExpectFixKernel< Feature >, EmpiricalExpectFixKernel< Feature, EventFixSpaceKernel< Feature > > >{	public:	typedef EventFixSpaceKernel< Feature > EventSpace;		typedef GISBase< EventSpace,  ModelExpectFixKernel< Feature >, EmpiricalExpectFixKernel< Feature, EventSpace > > Base;		GISFixKernel( ModelFix* init_model, EventSpace* init_event, int num_threads ) : Base( init_model, init_event, num_threads ) {}	virtual ~GISFixKernel() {}		const std::string estimatorName( void ) const {		return "GISFixKernel<" + Feature::featureTypeName() + ">";	}	/// Get the name of this class};*//*template < class Feature >class GISMAPFixKernel : public GISMAPBase< EventFixSpaceKernel< Feature >, ModelExpectFixKernel< Feature >, EmpiricalExpectFixKernel< Feature, EventFixSpaceKernel< Feature > > >{	public:	typedef EventFixSpaceKernel< Feature > EventSpace;		typedef GISMAPBase< EventSpace,  ModelExpectFixKernel< Feature >, EmpiricalExpectFixKernel< Feature, EventSpace > > Base;		GISMAPFixKernel( ModelFix* init_model, EventSpace* init_event, int max, Real sigma, int num_threads ) : Base( init_model, init_event, max, sigma, num_threads ) {}	virtual ~GISMAPFixKernel() {}		const std::string estimatorName( void ) const {		return "GISMAPFixKernel<" + Feature::featureTypeName() + ">";	}	/// Get the name of this class};*/AMIS_NAMESPACE_END#endif // Amis_GISFix_h_// end of GISFix.h

⌨️ 快捷键说明

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