Thread automatonIn automata theory, the thread automaton (plural: automata) is an extended type of finite-state automata that recognizes a mildly context-sensitive language class above the tree-adjoining languages.[1] Formal definitionA thread automaton consists of
A path u1...un ∈ U* is a string of path components ui ∈ U; n may be 0, with the empty path denoted by ε. A thread has the form u1...un:A, where u1...un ∈ U* is a path, and A ∈ N is a state. A thread store S is a finite set of threads, viewed as a partial function from U* to N, such that dom(S) is closed by prefix. A thread automaton configuration is a triple ⟨l,p,S⟩, where l denotes the current position in the input string, p is the active thread, and S is a thread store containing p. The initial configuration is ⟨0, ε, {ε:AS}⟩. The final configuration is ⟨n, u, {ε:AS,u:AF}⟩, where n is the length of the input string and u abbreviates δ(AS). A transition in the set Θ may have one of the following forms, and changes the current automaton configuration in the following way:
One may prove that δ(B)=u for POP and SPOP transitions, and δ(C)=⊥ for SPUSH transitions.[2] An input string is accepted by the automaton if there is a sequence of transitions changing the initial into the final configuration. Notes
References
|
Portal di Ensiklopedia Dunia