Module InferModules__ToplAutomaton
type t
type vname
= InferModules.ToplAst.property_name * InferModules.ToplAst.vertex
type vindex
= int
type tindex
= int
type transition
=
{
source : vindex;
target : vindex;
label : InferModules.ToplAst.label;
}
val make : InferModules.ToplAst.t list -> t
val outgoing : t -> vindex -> tindex list
val vname : t -> vindex -> vname
val vcount : t -> int
val transition : t -> tindex -> transition
val tcount : t -> int
val max_args : t -> int
val get_start_error_pairs : t -> (vindex * vindex) list
Returns pairs
(i,j)
of vertex indices corresponding to pairs((p, "start"), (p, "error"))
of vertex names, wherep
ranges over property names. POST: no vertex index occurs more than once in the result.