Package jdistlib.inference
Class DiscreteMetropolisKernel
java.lang.Object
jdistlib.inference.DiscreteMetropolisKernel
- All Implemented Interfaces:
HybridKernel
Symmetric Metropolis update for one bounded or unbounded discrete coordinate.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()update(double[] state, double currentLogDensity, LogDensity target, MixedStateSpace space, RandomEngine random)
-
Constructor Details
-
DiscreteMetropolisKernel
public DiscreteMetropolisKernel(int coordinate)
-
-
Method Details
-
name
- Specified by:
namein interfaceHybridKernel
-
update
public HybridKernelTransition update(double[] state, double currentLogDensity, LogDensity target, MixedStateSpace space, RandomEngine random) - Specified by:
updatein interfaceHybridKernel
-