Bigraph.NodesOperations on sets of bigraph nodes.
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 empty : tThe empty node set.
find_all c ns finds all the nodes in node set ns with control c.
val is_empty : t -> boolReturn true if the set is empty.
Ground control parameter expressions that reference a name in the given list, within the given environment (see Ctrl.ground_exprs).
Check a boolean predicate holds for all the elements of a set.
Check a boolean predicate holds for at least one element of a set.
val norm : t -> stringCompute the norm of a set. The norm is defined as a string representing a sorted list of controls. Example:
"A~A(4)~C~D(3,6.2)~T"flatten ns replaces each control with its unparameterized base name equivalent, preserving node IDs. Used for wildcard matching.
val ctrl_counts : t -> (string * int) listctrl_counts ns returns a sorted list of (control_name, count) pairs, one per distinct unparameterized control name in ns. Useful for cached per-control count checking in pattern matching.
val size : t -> intReturn the cardinality of a node set.
tens n0 n1 returns the disjoint union of node sets n0 and n1. Note: no check is performed on control arities.
val to_dot : t -> stringto_dot ns returns a string expressing node shapes in dot format.