X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=src%2Fasta.mli;h=3f25edc981d11a9457e32af3506b28e65947b2d5;hp=6f592fbaa4f9121e0280b1c4c9e9105ee1621510;hb=7f20d23e406e81e6e7271d2621cb868d9fe63aae;hpb=a3db3281c936a50107f9e73ec06c3a6171d61dbd diff --git a/src/asta.mli b/src/asta.mli index 6f592fb..3f25edc 100644 --- a/src/asta.mli +++ b/src/asta.mli @@ -34,8 +34,9 @@ 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 -(** Give the list of labels and formulae from transitions for a given state *) +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 empty : t (** The empty automaton *) @@ -46,8 +47,8 @@ val any_label : label val new_state : unit -> state (** Give a new state (different from all others states) *) -val add_tr : t -> transition -> unit -(** Add a transition to an asta *) +val add_tr : t -> transition -> bool -> unit +(** Add a query transition (recognizing transition if flag=false) to an asta *) val add_reco : t -> state -> unit (** Add a state to the recognizing states of an asta *)