Module Kappa_runtime.Trace
module Simulation_info : sig ... endval print_event_kind : ?env:Kappa_terms.Model.t -> Format.formatter -> event_kind -> unitval print_event_kind_dot_annot : Kappa_terms.Model.t -> Format.formatter -> event_kind -> unit
type step=|Subs of int * int|Rule of int * Kappa_terms.Instantiation.concrete Kappa_terms.Instantiation.event * unit Simulation_info.t|Pert of string * Kappa_terms.Instantiation.concrete Kappa_terms.Instantiation.event * unit Simulation_info.t|Init of Kappa_terms.Instantiation.concrete Kappa_terms.Instantiation.action list|Obs of string * Kappa_terms.Instantiation.concrete Kappa_terms.Instantiation.test list list * unit Simulation_info.t|Dummy of stringtype t= step list
val dummy_step : string -> stepval subs_step : int -> int -> stepval step_is_obs : step -> boolval step_is_init : step -> boolval step_is_subs : step -> boolval step_is_rule : step -> boolval step_is_pert : step -> boolval has_creation_of_step : step -> boolval tests_of_step : step -> Kappa_terms.Instantiation.concrete Kappa_terms.Instantiation.test listval actions_of_step : step -> Kappa_terms.Instantiation.concrete Kappa_terms.Instantiation.action list * (Kappa_terms.Instantiation.concrete Kappa_terms.Instantiation.site * Kappa_terms.Instantiation.concrete Kappa_terms.Instantiation.binding_state) list- returns
(actions, side_effects)
val side_effects_of_step : step -> Kappa_terms.Instantiation.concrete Kappa_terms.Instantiation.site listval simulation_info_of_step : step -> unit Simulation_info.t optionval creation_of_actions : ('a -> 'b) -> 'a Kappa_terms.Instantiation.action list -> 'b listval creation_of_step : step -> int listval print_step : ?compact:bool -> ?env:Kappa_terms.Model.t -> Format.formatter -> step -> unitval print_label_of_step : ?env:Kappa_terms.Model.t -> Format.formatter -> step -> unitval step_to_yojson : step -> Yojson.Basic.tval json_dictionnary : stringval write_step : Bi_outbuf.t -> step -> unitOutput a JSON value of type
step.
val string_of_step : ?len:int -> step -> stringSerialize a value of type
stepinto a JSON string.- parameter len
specifies the initial length of the buffer used internally. Default: 1024.
val write_json : Bi_outbuf.t -> t -> unitval read_json : Yojson.Safe.lexer_state -> Lexing.lexbuf -> tval init_trace_file : uuid:int -> Kappa_terms.Model.t -> Pervasives.out_channel -> unitval fold_trace : (Kappa_terms.Model.t -> 'a -> step -> 'a) -> (Kappa_terms.Model.t -> 'a) -> Yojson.Safe.lexer_state -> Lexing.lexbuf -> Kappa_terms.Model.t * 'aval fold_trace_file : (Kappa_terms.Model.t -> 'a -> step -> 'a) -> (Kappa_terms.Model.t -> 'a) -> string -> Kappa_terms.Model.t * 'aval get_headers_from_file : string -> int option * Kappa_terms.Model.t