Module Kappa_runtime.Data
type snapshot={snapshot_event : int;snapshot_time : float;snapshot_agents : (int * Kappa_mixtures.User_graph.connected_component) list;snapshot_tokens : (string * Kappa_generic_toolset.Nbr.t) array;}type din_data={din_kind : Kappa_terms.Primitives.din_kind;din_start : float;din_hits : int array;din_fluxs : float array array;}type din={din_rules : string array;din_data : din_data;din_end : float;}type file_line={file_line_name : string option;file_line_text : string;}type t=|DIN of string * din|DeltaActivities of int * (int * (float * float)) list|Plot of Kappa_generic_toolset.Nbr.t arrayMust have length >= 1 (at least
TorE)|Print of file_line|TraceStep of Trace.step|Snapshot of string * snapshot|Log of string|Species of string * float * Kappa_mixtures.User_graph.connected_component|Warning of Kappa_generic_toolset.Locality.t option * Format.formatter -> unit
val print_snapshot : ?uuid:int -> Format.formatter -> snapshot -> unitval print_dot_snapshot : ?uuid:int -> Format.formatter -> snapshot -> unitval write_snapshot : Bi_outbuf.t -> snapshot -> unitOutput a JSON value of type
snapshot.
val string_of_snapshot : ?len:int -> snapshot -> stringSerialize a value of type
snapshotinto a JSON string.- parameter len
specifies the initial length of the buffer used internally. Default: 1024.
val read_snapshot : Yojson.Safe.lexer_state -> Lexing.lexbuf -> snapshotInput JSON data of type
snapshot.
val print_dot_din : ?uuid:int -> Format.formatter -> din -> unitval print_html_din : Format.formatter -> din -> unitval write_din : Bi_outbuf.t -> din -> unitOutput a JSON value of type
din.
val string_of_din : ?len:int -> din -> stringSerialize a value of type
dininto a JSON string.- parameter len
specifies the initial length of the buffer used internally. Default: 1024.
val add_plot_line : Kappa_generic_toolset.Nbr.t array -> plot -> plotval init_plot : Kappa_terms.Model.t -> plotval write_plot : Bi_outbuf.t -> plot -> unitOutput a JSON value of type
plot.
val string_of_plot : ?len:int -> plot -> stringSerialize a value of type
plotinto a JSON string.- parameter len
specifies the initial length of the buffer used internally. Default: 1024.
val print_plot_legend : is_tsv:bool -> Format.formatter -> string array -> unitval print_plot_line : is_tsv:bool -> (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a array -> unitval export_plot : is_tsv:bool -> plot -> stringval print_initial_inputs : ?uuid:int -> Kappa_terms.Configuration.t -> Kappa_terms.Model.t -> Format.formatter -> (Kappa_terms.Primitives.alg_expr * Kappa_terms.Primitives.elementary_rule) list -> unitval print_warning : ?pos:Kappa_generic_toolset.Locality.t -> Format.formatter -> (Format.formatter -> unit) -> unit