blog
Class DMHSampler

java.lang.Object
  extended by blog.Sampler
      extended by blog.MHSampler
          extended by blog.DMHSampler

public class DMHSampler
extends MHSampler

Implements a Metropolis-Hastings sampler with the DecayedProposer.


Field Summary
 
Fields inherited from class blog.MHSampler
acceptProbTimer, curWorld, numAcceptedThisTrial, numSamplesThisTrial, numTrials, proposer, totalNumAccepted, totalNumSamples, worldUpdateTimer
 
Fields inherited from class blog.Sampler
evidence, model, queries
 
Constructor Summary
DMHSampler(Model model, java.util.Properties properties)
          Creates a new sampler for the given BLOG model.
 
Method Summary
protected  void constructProposer(java.util.Properties properties)
          Method responsible for initializing the proposer field.
 int getMaxRecall()
           
 
Methods inherited from class blog.MHSampler
getLatestWorld, initialize, nextSample, nextSample, printStats, setWorld
 
Methods inherited from class blog.Sampler
getLatestWeight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DMHSampler

public DMHSampler(Model model,
                  java.util.Properties properties)
Creates a new sampler for the given BLOG model. The properties table specifies configuration parameters to be passed to the super class MHSampler and the proposer DecayedProposer.

Method Detail

constructProposer

protected void constructProposer(java.util.Properties properties)
Method responsible for initializing the proposer field.

Overrides:
constructProposer in class MHSampler

getMaxRecall

public int getMaxRecall()