Module Bigraph.Nodes
val empty : t
The empty node set.
val find_all : Ctrl.t -> t -> IntSet.t
find_all c ns
finds all the nodes in node setns
with control contained by the sort that also contains controlc
.
val is_empty : t -> bool
Return
true
if the set is empty.
val norm : t -> string list
Compute the norm of a set. The norm is a defined as a sorted list of controls. Example:
[ "A"; "A(4)"; "C"; "D(3,6.2)"; "T" ]
val of_string : string -> t
Opposite of
Nodes.to_string
.- raises Invalid_argument
if the input cannot be parsed.
val size : t -> int
Return the cardinality of a node set.
val to_string : t -> string
Return a string representation of a node set. Example:
{(2, Ready:0),(0, A(1,4):1),(3, Fun:0),(1, Snd:2)}
val pp : Stdlib.Format.formatter -> t -> unit
Pretty printer.
val to_dot : t -> string
to_dot ns
returns a string expressing node shapes in dot format.