gisfix.h

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

H
85
字号
#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 + =
减小字号Ctrl + -
显示快捷键?