Kappa_terms.Pattern
Domain to navigate in the graph
type t = cc
type for domain points
val debug_print_id : Stdlib.Format.formatter -> id -> unit
module ObsMap : sig ... end
Maps from patterns to something
module Env : sig ... end
module PreEnv : sig ... end
val empty_cc : Kappa_site_graphs.Signature.s -> cc
val new_node : work -> int -> Kappa_site_graphs.Agent.t * work
new_node wk node_type
val new_link :
work ->
(Kappa_site_graphs.Agent.t * int) ->
(Kappa_site_graphs.Agent.t * int) ->
work
new_link wk (node, site_id) (node', site_id')
val new_free : work -> (Kappa_site_graphs.Agent.t * int) -> work
val new_internal_state :
work ->
(Kappa_site_graphs.Agent.t * int) ->
int ->
work
new_link_type work (node,site) type
val finish_new :
debug_mode:bool ->
?origin:Kappa_data_structures.Operator.rev_dep ->
work ->
PreEnv.t * Kappa_data_structures.Renaming.t * cc * id
val print_cc :
noCounters:bool ->
?dotnet:bool ->
?full_species:bool ->
?sigs:Kappa_site_graphs.Signature.s ->
?counters_info:Kappa_site_graphs.Counters_info.t ->
?cc_id:id ->
with_id:bool ->
Stdlib.Format.formatter ->
t ->
unit
val print_cc_as_id :
Kappa_site_graphs.Signature.s ->
Kappa_site_graphs.Counters_info.t ->
Stdlib.Format.formatter ->
t ->
unit
val print :
noCounters:bool ->
?domain:Env.t ->
with_id:bool ->
Stdlib.Format.formatter ->
id ->
unit
print ~domain ?with_id:None form cc
val id_to_yojson : id -> Yojson.Basic.t
val id_of_yojson : Yojson.Basic.t -> id
val find_ty : cc -> int -> int
Abstraction leak, please do not use
val automorphisms :
debug_mode:bool ->
t ->
Kappa_data_structures.Renaming.t list
val embeddings_to_fully_specified :
debug_mode:bool ->
Env.t ->
id ->
cc ->
Kappa_data_structures.Renaming.t list
val size_of_cc : cc -> int
USE WITH CARE: Break some abstraction. The array must not be modified and internal state -1
means unspecified
USE WITH CARE: Break some abstraction. The array must not be modified and internal state -1
means unspecified
val write_sharing_level : Stdlib.Buffer.t -> sharing_level -> unit
Output a JSON value of type sharing_level
.
val string_of_sharing_level : ?len:int -> sharing_level -> string
Serialize a value of type sharing_level
into a JSON string.
val read_sharing_level :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
sharing_level
Input JSON data of type sharing_level
.
val sharing_level_of_string : string -> sharing_level
Deserialize JSON data of type sharing_level
.
val finalize :
debug_mode:bool ->
sharing:sharing_level ->
PreEnv.t ->
Contact_map.t ->
Env.t * PreEnv.stat
val infs : debug_mode:bool -> Kappa_site_graphs.Signature.s -> t -> t -> t list
val matchings :
debug_mode:bool ->
Kappa_site_graphs.Signature.s ->
t ->
t ->
Kappa_data_structures.Renaming.t list
val length : t -> int
module Set : Kappa_data_structures.SetMap.Set with type elt = id
module Map : Kappa_data_structures.SetMap.Map with type elt = id
val counter_value_cc :
Kappa_site_graphs.Signature.s option ->
Kappa_site_graphs.Counters_info.counter_sig ->
cc ->
(Kappa_data_structures.Mods.IntMap.elt * int) ->
int