X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Fata.mli;h=2676923656857fba902522e0ba60de71c6cff636;hp=8b7851b8c573236df3b9b9b37cd1d8e4c9c41c3c;hb=be588f7af67f6b24aa423ff374c0f1c058e64951;hpb=af9d790ca62e678e8e70ab8d8fa7f804985a75e0 diff --git a/src/ata.mli b/src/ata.mli index 8b7851b..2676923 100644 --- a/src/ata.mli +++ b/src/ata.mli @@ -85,6 +85,9 @@ type t val get_states : t -> StateSet.t (** return the set of states of the automaton *) +val get_starting_states : t -> StateSet.t +(** return the set of starting states of the automaton *) + val get_selecting_states : t -> StateSet.t (** return the set of selecting states of the automaton *) @@ -109,10 +112,11 @@ sig val make : unit -> t (** Create a fresh builder *) - val add_state : t -> ?selecting:bool -> State.t -> unit - (** Add a state to the set of states of the automaton. The optional argument - [?selecting] (defaulting to [false]) allows to specify whether the state is - selecting. *) + val add_state : t -> ?starting:bool -> ?selecting:bool -> State.t -> unit + (** Add a state to the set of states of the automaton. The + optional arguments [?starting] and [?selecting] (defaulting + to [false]) allow one to specify whether the state is + starting/selecting. *) val add_trans : t -> State.t -> QNameSet.t -> Formula.t -> unit (** Add a transition to the automaton *)