org.omegahat.Simulation.MCMC.Proposals
Class AdaptiveMultiSourceCoupler

java.lang.Object
  |
  +--org.omegahat.Simulation.MCMC.Proposals.AdaptiveMultiKernelProposal
        |
        +--org.omegahat.Simulation.MCMC.Proposals.AdaptiveMultiSourceCoupler
All Implemented Interfaces:
HastingsCoupledProposal

public class AdaptiveMultiSourceCoupler
extends AdaptiveMultiKernelProposal


Field Summary
protected  boolean DEBUG
           
protected  double inflationFactor
           
protected  int method
           
protected  int numNeighbors
           
 
Fields inherited from class org.omegahat.Simulation.MCMC.Proposals.AdaptiveMultiKernelProposal
kernels, prng
 
Constructor Summary
AdaptiveMultiSourceCoupler(int numStates, int numNeighbors, double[][] var, double inflationFactor, PRNG prng)
          Constructor for normal increments with specified covariance matrix.
AdaptiveMultiSourceCoupler(int numStates, int numNeighbors, double[][] var, PRNG prng)
          Constructor for normal increment proposal with specified covariance matrix, no variance inflation
AdaptiveMultiSourceCoupler(int numStates, int numNeighbors, int length, double inflationFactor, PRNG prng)
          Constructor for a spherical independent standard normal increments
AdaptiveMultiSourceCoupler(int numStates, int numNeighbors, int length, PRNG prng)
          Constructor for a sperical independent standard normal increments No variance inflation.
 
Method Summary
 void adapt(MultiState mstate, int which)
          modify the state of the enclosed proposal distribution using information from the provided state vector
 boolean getDEBUG()
           
 int getDistanceMethod()
           
 double getInflationFactor()
           
static void main(java.lang.String[] argv)
           
 boolean setDEBUG(boolean flag)
           
 int setDistanceMethod(int method)
           
 double setInflationFactor(double factor)
           
 
Methods inherited from class org.omegahat.Simulation.MCMC.Proposals.AdaptiveMultiKernelProposal
conditionalPDF, generate, getKernels, getPRNG, logConditionalPDF, logTransitionProbability, setKernels, setPRNG, transitionProbability
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

inflationFactor

protected double inflationFactor

DEBUG

protected boolean DEBUG

numNeighbors

protected int numNeighbors

method

protected int method
Constructor Detail

AdaptiveMultiSourceCoupler

public AdaptiveMultiSourceCoupler(int numStates,
                                  int numNeighbors,
                                  double[][] var,
                                  PRNG prng)
Constructor for normal increment proposal with specified covariance matrix, no variance inflation
Parameters:
var - variance matrix

AdaptiveMultiSourceCoupler

public AdaptiveMultiSourceCoupler(int numStates,
                                  int numNeighbors,
                                  double[][] var,
                                  double inflationFactor,
                                  PRNG prng)
Constructor for normal increments with specified covariance matrix.
Parameters:
var - variance matrix

AdaptiveMultiSourceCoupler

public AdaptiveMultiSourceCoupler(int numStates,
                                  int numNeighbors,
                                  int length,
                                  PRNG prng)
Constructor for a sperical independent standard normal increments No variance inflation.
Parameters:
length - number of dimensions

AdaptiveMultiSourceCoupler

public AdaptiveMultiSourceCoupler(int numStates,
                                  int numNeighbors,
                                  int length,
                                  double inflationFactor,
                                  PRNG prng)
Constructor for a spherical independent standard normal increments
Parameters:
length - number of dimensions
inflationFactor - factor to inflate observed variance when adaptng.
Method Detail

getInflationFactor

public double getInflationFactor()

setInflationFactor

public double setInflationFactor(double factor)

getDEBUG

public boolean getDEBUG()

setDEBUG

public boolean setDEBUG(boolean flag)

getDistanceMethod

public int getDistanceMethod()

setDistanceMethod

public int setDistanceMethod(int method)

adapt

public void adapt(MultiState mstate,
                  int which)
Description copied from class: AdaptiveMultiKernelProposal
modify the state of the enclosed proposal distribution using information from the provided state vector
Overrides:
adapt in class AdaptiveMultiKernelProposal

main

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