Package jdistlib.inference
Class FixedDimensionSamplerRjKernel
java.lang.Object
jdistlib.inference.FixedDimensionSamplerRjKernel
- All Implemented Interfaces:
ReversibleJumpWithinModelKernel
public final class FixedDimensionSamplerRjKernel
extends Object
implements ReversibleJumpWithinModelKernel
Adapts one frozen ordinary JDistlib sampler transition for use within an RJ model.
-
Constructor Summary
ConstructorsConstructorDescriptionFixedDimensionSamplerRjKernel(String name, Sampler sampler, SamplingOptions transitionOptions) -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplicable(ReversibleJumpState state, ReversibleJumpTarget target) name()update(ReversibleJumpState state, double currentLogJoint, ReversibleJumpTarget target, RandomEngine random, boolean warmup) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jdistlib.inference.ReversibleJumpWithinModelKernel
adaptationState, freezeAdaptation, resetAdaptation, restoreAdaptation
-
Constructor Details
-
FixedDimensionSamplerRjKernel
public FixedDimensionSamplerRjKernel(String name, Sampler sampler, SamplingOptions transitionOptions)
-
-
Method Details
-
name
- Specified by:
namein interfaceReversibleJumpWithinModelKernel
-
applicable
- Specified by:
applicablein interfaceReversibleJumpWithinModelKernel
-
update
public ReversibleJumpWithinModelTransition update(ReversibleJumpState state, double currentLogJoint, ReversibleJumpTarget target, RandomEngine random, boolean warmup) - Specified by:
updatein interfaceReversibleJumpWithinModelKernel
-