org.knowceans.arms
Class ArmSampler.Metropolis

java.lang.Object
  extended by org.knowceans.arms.ArmSampler.Metropolis
Enclosing class:
ArmSampler

 class ArmSampler.Metropolis
extends java.lang.Object

for metropolis step


Field Summary
(package private)  boolean on
          whether metropolis is to be used
(package private)  double xprev
          previous Markov chain iterate
(package private)  double yprev
          current log density at xprev
 
Constructor Summary
ArmSampler.Metropolis()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

on

boolean on
whether metropolis is to be used


xprev

double xprev
previous Markov chain iterate


yprev

double yprev
current log density at xprev

Constructor Detail

ArmSampler.Metropolis

ArmSampler.Metropolis()