Module Kappa_terms.Pattern
type link=|UnSpec|Free|Link of int * inttype cctype t= cctype for domain points
val debug_print_id : Format.formatter -> id -> unit
module ObsMap : sig ... endmodule Env : sig ... endmodule PreEnv : sig ... endval empty_cc : Kappa_mixtures.Signature.s -> ccval begin_new : PreEnv.t -> workStarts creation
val new_node : work -> int -> Kappa_mixtures.Agent.t * worknew_node wk node_type
val new_link : work -> (Kappa_mixtures.Agent.t * int) -> (Kappa_mixtures.Agent.t * int) -> worknew_link wk (node, site_id) (node', site_id')
val new_free : work -> (Kappa_mixtures.Agent.t * int) -> workval new_internal_state : work -> (Kappa_mixtures.Agent.t * int) -> int -> worknew_link_type work (node,site) type
val finish_new : debugMode:bool -> ?origin:Kappa_generic_toolset.Operator.rev_dep -> work -> PreEnv.t * Kappa_generic_toolset.Renaming.t * cc * id
Use a connected component
val compare_canonicals : id -> id -> intval is_equal_canonicals : id -> id -> boolval print_cc : noCounters:bool -> ?dotnet:bool -> ?full_species:bool -> ?sigs:Kappa_mixtures.Signature.s -> ?cc_id:id -> with_id:bool -> Format.formatter -> t -> unitval print_cc_as_id : Kappa_mixtures.Signature.s -> Format.formatter -> t -> unitval print : noCounters:bool -> ?domain:Env.t -> with_id:bool -> Format.formatter -> id -> unitprint ~domain ?with_id:None form cc
val id_to_yojson : id -> Yojson.Basic.tval id_of_yojson : Yojson.Basic.t -> idval find_ty : cc -> int -> intAbstraction leak, please do not use
val automorphisms : debugMode:bool -> t -> Kappa_generic_toolset.Renaming.t listval embeddings_to_fully_specified : debugMode:bool -> Env.t -> id -> cc -> Kappa_generic_toolset.Renaming.t listval size_of_cc : cc -> intval fold_by_type : (pos:int -> agent_type:int -> (link * int) array -> 'a -> 'a) -> cc -> 'a -> 'aUSE WITH CARE: Break some abstraction. The array must not be modified and internal state
-1means unspecified
val fold : (int -> (link * int) array -> 'acc -> 'acc) -> cc -> 'acc -> 'accUSE WITH CARE: Break some abstraction. The array must not be modified and internal state
-1means unspecified
type sharing_level=|No_sharing|Compatible_patterns|Max_sharingHeuristic to use on domain construction
val write_sharing_level : Bi_outbuf.t -> sharing_level -> unitOutput a JSON value of type
sharing_level.
val string_of_sharing_level : ?len:int -> sharing_level -> stringSerialize a value of type
sharing_levelinto a JSON string.- parameter len
specifies the initial length of the buffer used internally. Default: 1024.
val read_sharing_level : Yojson.Safe.lexer_state -> Lexing.lexbuf -> sharing_levelInput JSON data of type
sharing_level.
val sharing_level_of_string : string -> sharing_levelDeserialize JSON data of type
sharing_level.
val finalize : debugMode:bool -> sharing:sharing_level -> PreEnv.t -> Contact_map.t -> Env.t * PreEnv.statval infs : debugMode:bool -> t -> t -> t listval matchings : debugMode:bool -> t -> t -> Kappa_generic_toolset.Renaming.t listval merge_on_inf : debugMode:bool -> PreEnv.t -> Kappa_generic_toolset.Renaming.t -> t -> t -> t option * (t * int * t * int * int * bool) optionval length : t -> int
module Set : Kappa_generic_toolset.SetMap.Set with type elt = idmodule Map : Kappa_generic_toolset.SetMap.Map with type elt = idval counter_value_cc : cc -> (Kappa_generic_toolset.Mods.IntMap.elt * int) -> int -> int