logmeanfield.h
来自「The package includes 3 Matlab-interfaces」· C头文件 代码 · 共 32 行
H
32 行
#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 + =
减小字号Ctrl + -
显示快捷键?