gislauncheritem.h
来自「Amis - A maximum entropy estimator 一个最大」· C头文件 代码 · 共 30 行
H
30 行
#ifndef Amis_GISLauncherItem_h_#define Amis_GISLauncherItem_h_#include <amis/configure.h>#include <amis/EstimatorLauncher.h>#include <amis/Property.h>AMIS_NAMESPACE_BEGINtemplate < class GIS >class GISLauncherItem : public EstimatorLauncherItem {public: GISLauncherItem( const std::string& name, const std::string& event, const std::string& feature, const std::string& desc ) : EstimatorLauncherItem( name, event, feature, desc ) {} EstimatorPtr launch( Property* property ) { GIS* gis = new GIS(); gis->setNumThreads( property->getNumThreads() ); return EstimatorPtr( gis ); }};AMIS_NAMESPACE_END#endif // Amis_GISLauncherItem_h_// end of GISLauncherItem.h
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?