Dagger_tests.Resampling_test
Test resampling (used in SMC)
val state : Dagger.RNG.t
module Rat : sig ... end
val uniform : Q.t -> Dagger.RNG.t -> Q.t
Instantiate resampling over the field of (arbitrary precision) rationals
module Dist : sig ... end
Define a Q-valued measure generator for QCheck
module R : sig ... end
val environment : 'a Dist.t -> ('a0, Q.t) Dagger.Resampling.particles
val resample :
'a Dist.t ->
(('a0, Q.t) Dagger.Resampling.particles -> unit -> Dagger.RNG.t -> unit) ->
Dagger.RNG.t ->
unit
val total_mass : 'a Dist.t -> Q.t
val cardinal : 'a Dist.t -> int
val iterative_resampling_generic :
?state:Dagger.RNG.t ->
'a Dist.t ->
(int -> Dagger.RNG.t -> Rat.t) ->
unit
val iterative_stratified_resampling : ?state:Dagger.RNG.t -> 'a Dist.t -> unit