edu.ksu.cis.bnj.bbn.inference.approximate.sampling
Class ChavezMCMC

java.lang.Object
  extended byedu.ksu.cis.bnj.bbn.inference.Inference
      extended byedu.ksu.cis.bnj.bbn.inference.ApproximateInference
          extended byedu.ksu.cis.bnj.bbn.inference.approximate.sampling.MCMC
              extended byedu.ksu.cis.bnj.bbn.inference.approximate.sampling.ChavezMCMC
All Implemented Interfaces:
DataGenerator, Optionable

public class ChavezMCMC
extends MCMC

Chavez MCMC method

Author:
Roby Joehanes

Field Summary
static int defaultUpdateIteration
           
protected  int updateIteration
           
 
Fields inherited from class edu.ksu.cis.bnj.bbn.inference.approximate.sampling.MCMC
abort, abortTimer, defaultMaxIteration, generateSamples, listeners, maxIteration, NO_TIME_LIMIT, OPT_GENERATE_DATA, OPT_MAX_ITERATION, OPT_RUNNING_TIME_LIMIT, OPT_USE_MARKOV_BLANKET, random, runningTimeLimit, tuples, useMarkovBlanketScore
 
Fields inherited from class edu.ksu.cis.bnj.bbn.inference.ApproximateInference
rmseWriter
 
Fields inherited from class edu.ksu.cis.bnj.bbn.inference.Inference
graph, inferenceClassName, MAP, MARGINALS, marginalsResult, MPE, OPT_RUN_TYPE, options
 
Fields inherited from interface edu.ksu.cis.kdd.util.gui.Optionable
OPT_OUTPUT_FILE
 
Constructor Summary
ChavezMCMC()
           
ChavezMCMC(BBNGraph g)
           
 
Method Summary
 InferenceResult getMarginals()
          Getting the result of the marginals (i.e. the belief revision)
 java.lang.String getName()
           
 int getUpdateIteration()
           
static void main(java.lang.String[] args)
           
 void setUpdateIteration(int updateIteration)
          Sets the updateIteration.
 
Methods inherited from class edu.ksu.cis.bnj.bbn.inference.approximate.sampling.MCMC
abort, addListener, cancelAbortTimer, generateData, generateData, getData, getDefaultOptions, getMarkovBlanketScore, getMaxIteration, getOptionsDialog, getRunningTimeLimit, isUseMarkovBlanketScore, removeListener, sendEvent, setAbortTimer, setMaxIteration, setRunningTimeLimit, setUseMarkovBlanketScore
 
Methods inherited from class edu.ksu.cis.bnj.bbn.inference.ApproximateInference
computeRMSE, getRMSEWriter, setRMSEfile
 
Methods inherited from class edu.ksu.cis.bnj.bbn.inference.Inference
execute, getCurrentOptions, getGraph, getMAP, getMarginalsResult, getMPE, getOutputFile, getRunType, load, setGraph, setOption, setOptions, setOutputFile, setRunType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultUpdateIteration

public static final int defaultUpdateIteration
See Also:
Constant Field Values

updateIteration

protected int updateIteration
Constructor Detail

ChavezMCMC

public ChavezMCMC()

ChavezMCMC

public ChavezMCMC(BBNGraph g)
Parameters:
g -
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface DataGenerator
Specified by:
getName in class Inference

getMarginals

public InferenceResult getMarginals()
Description copied from class: Inference
Getting the result of the marginals (i.e. the belief revision)

Specified by:
getMarginals in class Inference
Returns:
InferenceResult The marginals
See Also:
Inference.getMarginals()

getUpdateIteration

public int getUpdateIteration()
Returns:
int

setUpdateIteration

public void setUpdateIteration(int updateIteration)
Sets the updateIteration.

Parameters:
updateIteration - The updateIteration to set

main

public static void main(java.lang.String[] args)