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

📄 wolff.h

📁 The package includes 3 Matlab-interfaces to the c-code: 1. inference.m An interface to the full
💻 H
字号:
#include "MonteCarlo.h"#include "PottsMRF.h"#ifndef __WOLFF__#define __WOLFF__class Wolff : public MonteCarlo {  /**     This class makes inference using Wolff sampling method,     where in each steps one cluster can change its state     This method is specific for q-state Potts model        Part of the c_inference package     @version November 2004     @author Talya Meltzer  */   public:  // ctor  Wolff(PottsMRF const* mrf, int* startX, int burningTime, int samplingInterval, int S) :    MonteCarlo(mrf,startX,burningTime,samplingInterval,S) {}    virtual ~Wolff() {} // dtor protected:  virtual void transition();  int cluster(int i, int i_nei, int new_xi);  bool accept(int i, int i_nei);  };#endif

⌨️ 快捷键说明

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