Merge branch 'lucca-tests-bench' into lucca-extentions
[tatoo.git] / src / asta.mli
index 14c2562..3fd9886 100644 (file)
@@ -34,10 +34,18 @@ type t
 val transition : t -> state -> label -> formula
 (** Give the formula which must hold for a current state and label *)
 
-val transitions : t -> state -> ((label*formula) list)*((label*formula) list)
+val transitions : t -> state -> (label*formula) list * (label*formula) list
 (** Give the list of labels and formulae from queries and recognizing
     transitions for a given state *)
 
+val transitions_lab : t -> QName.t -> (state*formula) list *(state*formula) list
+(** Give the list of states and formulae from queries and recognizing
+    transitions for a given tag *)
+
+val transitions_st_lab : t -> state -> QName.t -> formula list * formula list
+(** Give the list of formulae from queries and recognizing transitions for a
+    given state and tag *)
+
 val empty : t
 (** The empty automaton *)
 
@@ -71,6 +79,15 @@ val init_top : t -> unit
 val top_states : t -> state list
 (** Give the list of top states of an ASTA *)
 
+val top_states_s : t -> StateSet.t
+(** Give the set of top states of an ASTA *)
+
+val bot_states_s : t -> StateSet.t
+(** Give the set of bottom states of an ASTA *)
+
+val selec_states : t -> StateSet.t
+(** Give the list of selecting states of an ASTA *)
+
 val print : Format.formatter -> t -> unit
 (** Pretty printer *)