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

📄 logpairsgbp.h

📁 The package includes 3 Matlab-interfaces to the c-code: 1. inference.m An interface to the full
💻 H
字号:
#include "PairsGBP.h"#include <math.h>#ifndef __LOG_PAIRS_GBP__#define __LOG_PAIRS_GBP__class LogPairsGBP : public PairsGBP {  /**     This class makes inference using the simple form of GBP for pairs-regions     in the log-space        Part of the c_inference package     @version August 2006     @author Talya Meltzer  */   public: public:  // ctor  LogPairsGBP(MRF const* mrf, SumOrMax m = MAX, Strategy s = SEQUENTIAL,	      int maxIter = 2000, double* doubleCount = 0, double*** initMsg = 0,	      bool logBels = false, double th = log(pow(10.,-8))) :    PairsGBP(mrf,m,s,maxIter,doubleCount,initMsg,th) {lpgbp_logBels = logBels;}    virtual ~LogPairsGBP() {} // dtor    virtual double** inference(int* converged);    virtual double**** calcPairBeliefs(); protected:    bool lpgbp_logBels; // return the beliefs in the -log-space};#endif

⌨️ 快捷键说明

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