package orgeat
Module From_encoding.SamplingSource
Source
val get_solved_tree :
K.t ->
K.t Misc.LClassMap.t ->
'a Combi.combi_class ->
'a Combi.solved_treeSource
type !'c konts = | K_Left : 'right Combi.stub * ((int * 'left) -> (int * 'right) -> int * 'root) -> ('left -> 'root) konts| K_Right : ((int * 'right0) -> int * 'root0) -> ('right0 -> 'root0) konts| K_Map : ('a -> 'b) -> ('a -> 'b) konts
Source
val sample :
?min_size:??? ->
?max_size:??? ->
K.t ->
K.t Misc.LClassMap.t ->
'a Combi.combi_class ->
Random.State.t ->
int * 'aSource
val get_singular_boltzmann_sampler :
?min_size:??? ->
?max_size:??? ->
'a Combi.combi_class ->
K.t ->
Random.State.t ->
int * 'a