module Utilities:sig
..end
module S:Generic_branch_and_cut_solver.Solver
typeerror_log =
Exception.method_handler
val error_init : error_log
typeparameter =
S.PH.B.PB.CI.Po.K.H.parameter
typekappa_handler =
S.PH.B.PB.CI.Po.K.H.handler
typeprofiling_info =
StoryProfiling.StoryStats.log_info
typeshall_we =
parameter -> bool
type'a
with_handlers =parameter ->
?shall_we_compute:shall_we ->
?shall_we_compute_profiling_information:shall_we ->
?print_if_zero:shall_we ->
kappa_handler ->
profiling_info -> error_log -> 'a
type'a
zeroary =(error_log * profiling_info * 'a) with_handlers
type('a, 'b)
unary =('a -> error_log * profiling_info * 'b)
with_handlers
type('a, 'b, 'c)
binary =('a -> 'b -> error_log * profiling_info * 'c)
with_handlers
type('a, 'b, 'c, 'd)
ternary =('a -> 'b -> 'c -> error_log * profiling_info * 'd)
with_handlers
type('a, 'b, 'c, 'd, 'e)
quaternary =('a -> 'b -> 'c -> 'd -> error_log * profiling_info * 'e)
with_handlers
type('a, 'b, 'c, 'd, 'e, 'f)
quinternary =('a ->
'b -> 'c -> 'd -> 'e -> error_log * profiling_info * 'f)
with_handlers
type('a, 'b, 'c, 'd, 'e, 'f, 'g)
sexternary =('a ->
'b ->
'c -> 'd -> 'e -> 'f -> error_log * profiling_info * 'g)
with_handlers
val fold_left_with_progress_bar : ?event:StoryProfiling.step_kind ->
(('a, 'b, 'a) binary, 'a, 'b list, 'a) ternary
val pop_json : parameter -> Yojson.Basic.json option
val profiling_state_to_json : parameter -> Yojson.Basic.json
val error_list_to_json : parameter -> Yojson.Basic.json
val computation_steps_to_json : parameter -> Yojson.Basic.json
type
on_the_fly_cut_state
val on_the_fly_cut_init : on_the_fly_cut_state
val on_the_fly_cut_step : on_the_fly_cut_state ->
Trace.step -> on_the_fly_cut_state
val on_the_fly_cut_finalize : on_the_fly_cut_state -> Trace.step list
val cut_rev_trace : Trace.step list -> Trace.step list
type
trace
typetrace_runtime_info =
profiling_info Trace.Simulation_info.t
val size_of_pretrace : trace -> int
val last_eid_in_pretrace : trace -> int
val print_trace : parameter -> kappa_handler -> trace -> unit
val has_obs : trace -> bool
val trace_of_pretrace : Trace.t -> trace
val get_pretrace_of_trace : trace -> Trace.t
val get_simulation_time_of_event : Trace.step -> float option
val get_id_of_event : Trace.step -> int option
val remove_events_after_last_obs : (trace, trace) unary
val split_init : (trace, trace) unary
val fill_siphon : (trace, trace) unary
val cut : (trace, trace) unary
val remove_pseudo_inverse_events : (trace, trace) unary
val remove_obs_before : (trace_runtime_info list option, trace, trace)
binary
val make_unambiguous : (trace, trace) unary
val weakly_compress : ?heuristic:Priority.priorities ->
(trace, trace list) unary
val strongly_compress : ?heuristic:Priority.priorities ->
(trace, trace list) unary
val fold_over_the_causal_past_of_observables_with_a_progress_bar : (shall_we, shall_we, int,
(trace, trace_runtime_info list, 'a, ('a, 'b) Stop.stop)
ternary, trace, 'a, ('a, 'b * int) Stop.stop)
sexternary
type
black_list
val create_black_list : int -> black_list
val black_list : (trace, black_list, black_list)
binary
val remove_blacklisted_event : (black_list, trace, trace) binary
type
story_table
val create_story_table : story_table zeroary
val count_stories : story_table -> int
val store_trace : (trace, trace_runtime_info list, story_table,
story_table)
ternary
val fold_story_table_with_progress_bar : (string,
(trace, trace_runtime_info list, 'a, 'a)
ternary, story_table, 'a, 'a)
quaternary
val fold_story_table_without_progress_bar : (string,
(trace, trace_runtime_info list, 'a, 'a)
ternary, story_table, 'a, 'a)
quaternary
val flatten_story_table : (story_table, story_table) unary
val export_story_table : (story_table,
(Trace.t * Causal.grid * trace_runtime_info list) list)
unary
val compress : ?heuristic:Priority.priorities ->
(trace, trace list) unary
val copy_log_info : StoryProfiling.StoryStats.log_info -> StoryProfiling.StoryStats.log_info
typecflow_grid =
Causal.grid
typeenriched_cflow_grid =
Causal.enriched_grid
val convert_trace_into_grid : trace -> kappa_handler -> cflow_grid
val enrich_grid_with_transitive_past_of_observables_with_a_progress_bar : (cflow_grid, enriched_cflow_grid) unary
val enrich_grid_with_transitive_past_of_observables_without_a_progress_bar : (cflow_grid, enriched_cflow_grid) unary
val enrich_grid_with_transitive_past_of_each_node_without_a_progress_bar : (cflow_grid, enriched_cflow_grid) unary
type
canonical_form
val compare_canonical_form : canonical_form -> canonical_form -> int
val compute_canonical_form : (trace, canonical_form) unary
type
musical_grid
type
observable_hit
val get_runtime_info_from_observable_hit : observable_hit -> unit Trace.Simulation_info.t option
val convert_trace_into_musical_notation : (trace, musical_grid) unary
val extract_observable_hits_from_musical_notation : (musical_grid, observable_hit list) unary
val extract_observable_hit_from_musical_notation : (string, musical_grid, observable_hit) binary
val causal_prefix_of_an_observable_hit : (string, musical_grid, enriched_cflow_grid,
observable_hit, trace)
quaternary
val export_musical_grid_to_xls : (string, int, int, musical_grid, unit) quaternary
Show the current status of the branch and cut assumptions in ASCII
val print_musical_grid : (musical_grid, unit) unary
val get_counter : story_table -> int