Module Cgr.Simu


module Simu: Cgr_simu


type type_seq =
| IID of Cgr_types.probs
| Markov of Cgr_types.markov_probs

type 'a simulation_on_seq = {
   typ_seq : type_seq;
   len : int;
   result : 'a;
}
val simulate_with_iid : int ->
Cgr_types.probs ->
(Cgr_types.sequence -> 'a) -> 'a simulation_on_seq
val simulate_with_markov : int ->
Cgr_types.markov_probs ->
(Cgr_types.sequence -> 'a) -> 'a simulation_on_seq
val get_seq_file : int -> string