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

📄 logmeanfield.h

📁 The package includes 3 Matlab-interfaces to the c-code: 1. inference.m An interface to the full
💻 H
字号:
#include "MeanField.h"#ifndef __LOG_MEAN_FIELD__#define __LOG_MEAN_FIELD__class LogMeanField : public MeanField {  /**     This class makes inference using mean-field approximation in the log-space        Part of the c_inference package     @version March 2006     @author Talya Meltzer  */   public:  // ctor  LogMeanField(MRF const* mrf, int maxIter = 2000, bool logBels = false, double th = log(pow(10.,-8))) :    MeanField(mrf,maxIter,th) {lmf_logBels = logBels;}    virtual ~LogMeanField() {} // dtor  virtual double** inference(int* converged); protected:    bool lmf_logBels; // return the beliefs in the -log-space  };#endif

⌨️ 快捷键说明

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