Mavryk_benchmark_002_PtBoreas.Micheline_samplerMicheline sampling.
type width_function = depth:int -> int Mavryk_benchmark.Base_samplers.samplerA width_function specifies the distribution of node degree as a function of depth. A width_function must be supported by the nonnegative integers.
Note that picking a width_function which doesn't converge fast enough to the singular distribution on 0 could yield very large terms.
val reasonable_width_function : width_functionreasonable_width_function is a width function which works well empirically.
module type Base_samplers = sig ... endBase_samplers specifies samplers for leaves, primitives and annotations.
module type S = sig ... endApplying the Make functor below yields a module with the following type.