Bigraph.PortsOperations on Ports.
val pp :
Ppx_deriving_runtime.Format.formatter ->
t ->
Ppx_deriving_runtime.unitval show : t -> Ppx_deriving_runtime.stringval to_yojson : t -> Yojson.Safe.tval of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_orval choose : t -> int * intcompare cmp p1 p2 compares port multisets p1 and p2 using cmp to order node identifiers. The multiplicity values are not directly compared -- they determine the number of entries for each node in the comparison sequence.
val empty : tcompare cmp p1 p2 compares port multisets p1 and p2 using cmp to order node identifiers. The multiplicity values are not directly compared -- they determine the number of entries for each node in the comparison sequence.
val fold : (int -> int -> 'b -> 'b) -> t -> 'b -> 'bval is_empty : t -> boolval iter : (int -> int -> unit) -> t -> unitval max_binding : t -> int * intval min_binding : t -> int * intval min_binding_opt : t -> (int * int) optionval for_all : (int -> int -> bool) -> t -> boolval bindings : t -> (int * int) listval binding_count : t -> intNumber of port nodes (bindings), without allocating a list.
apply i p applies isomorphism i to port multiset p. Elements of p not in the domain of i are dropped.
val arity : t -> int -> int optionReturn the arity (multiplicity) of a node in the port multiset.
val cardinal : t -> intReturn the number of distinct nodes in the port multiset.