a jumping 5 3 wk automata model
play

A Jumping 5 3 WK Automata Model Radim Kocman Benedek Nagy Zbyn - PowerPoint PPT Presentation

A Jumping 5 3 WK Automata Model Radim Kocman Benedek Nagy Zbyn ek K rivka Alexander Meduna Centre of Excellence IT4Innovations, Faculty of Information Technology, Brno University of Technology, Bo zet echova 2, Brno


  1. A Jumping 5 ′ → 3 ′ WK Automata Model Radim Kocman Benedek Nagy Zbynˇ ek Kˇ rivka Alexander Meduna Centre of Excellence IT4Innovations, Faculty of Information Technology, Brno University of Technology, Boˇ zetˇ echova 2, Brno Czech Republic { ikocman,krivka,meduna } @fit.vutbr.cz Department of Mathematics, Faculty of Arts and Sciences, Eastern Mediterranean University, Famagusta, North Cyprus, Mersin-10, Turkey nbenedek.inf@gmail.com NCMA 2018 Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 1 / 29

  2. Table of contents 1 Introduction 2 Combined idea 3 Final definition 4 Examples 5 General results 6 Results on restricted variations 7 Conclusion Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 2 / 29

  3. Jumping Finite Automata (General) Jumping Finite Automaton (JFA) quintuple M = ( Q , Σ , R , s , F ) Q is a finite set of states Σ is an input alphabet, Q ∩ Σ = ∅ R is a finite set of rules: ( p , y , q ), where p , q ∈ Q , y ∈ Σ ∗ s is the start state F is a set of final states Step/Move/Jump only if ( p , y , q ) ∈ R , x ∈ Σ ∗ FA: pyx ⇒ qx JFA: xpyz � x ′ qz ′ only if ( p , y , q ) ∈ R , x , z , x ′ , z ′ ∈ Σ ∗ , xz = x ′ z ′ Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 3 / 29

  4. Jumping Finite Automata Example automaton M = ( { s , p , q } , { a , b , c } , R , s , { s } ) where R : ( s , a , p ) ( p , b , q ) ( q , c , s ) Resulting language L ( M ) = { ( abc ) n : n ≥ 0 } FA: JFA: L ( M ) = { w : w ∈ { a , b , c } ∗ , | w | a = | w | b = | w | c } Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 4 / 29

  5. Jumping Finite Automata – Extended Models n -parallel jumping finite automata have n heads heads cannot cross each other in the right-jumping mode the behavior resembles: n -parallel right linear grammars, simple matrix grammars Double-jumping finite automata always 2 heads heads cannot cross each other each had has its own restricted direction in some modes the model accepts only a subset of linear languages Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 5 / 29

  6. Watson-Crick Automata Watson-Crick finite automata biology-inspired model the core model is similar to FA work with the Watson-Crick tape uses two heads (one for each strand of the tape) Watson-Crick tape double-stranded tape resembles DNA satisfies Watson-Crick complementary relation: the elements of the strands are pairwise complements of each other (e.g. ( T , A ), ( A , T ), ( C , G ), ( G , C )) Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 6 / 29

  7. Watson-Crick Automata 5 ′ → 3 ′ Watson-Crick finite automata the heads read in the biochemical 5 ′ → 3 ′ direction that is physically/mathematically in opposite directions Sensing 5 ′ → 3 ′ Watson-Crick finite automata the heads sense that they are meeting the processing of the input ends if for all pairs of the sequence one of the letters is read (due to the complementary relation, the sequence is fully processed) the tape notation is usually simplified: [ A T ] as a , . . . Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 7 / 29

  8. Sensing 5 ′ → 3 ′ Watson-Crick Automata Example steps start: [ A A T C G A C T T T A G C T G A ] 1st step: [ A A T C G A C T T T A G C T G A ] 2nd step: [ A A T C G A C T T T A G C T G A ] 3rd step: [ A A T C G A C T T T A G C T G A ] . . . last step: [ A A T C G A C T T T A G C T G A ] Accepting power the family of linear languages Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 8 / 29

  9. Table of contents 1 Introduction 2 Combined idea 3 Final definition 4 Examples 5 General results 6 Results on restricted variations 7 Conclusion Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 9 / 29

  10. Combined idea Combined model the combination of (G)JFA and sensing 5 ′ → 3 ′ WKA two heads as in sensing 5 ′ → 3 ′ WKA each head can traverse the whole input in its direction all pairs of symbols are read only once Expectations better accepting power than the non-combined models ability to model languages with some crossed agreements Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 10 / 29

  11. Table of contents 1 Introduction 2 Combined idea 3 Final definition 4 Examples 5 General results 6 Results on restricted variations 7 Conclusion Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 11 / 29

  12. Final definition Jumping 5 ′ → 3 ′ WK automaton quintuple M = ( V , Q , q 0 , F , δ ) V , Q , q 0 , F as in FA, V ∩ { # } = ∅ , δ : ( Q × V ∗ × V ∗ × D ) → 2 Q (finite), D = {⊕ , ⊖} indicates the mutual position of heads. Configuration ( q , s , w 1 , w 2 , w 3 ) q is the state s is the position of heads w 1 is the unprocessed input before the first head w 2 is the unprocessed input between the heads w 3 is the unprocessed input after the second head Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 12 / 29

  13. Final definition Steps Let x , y , u , v , w 2 ∈ V ∗ and w 1 , w 3 ∈ ( V ∪ { # } ) ∗ . 1 ⊕ -reading: ( q , ⊕ , w 1 , xw 2 y , w 3 ) � ( q ′ , s , w 1 { # } | x | , w 2 , { # } | y | w 3 ), where q ′ ∈ δ ( q , x , y , ⊕ ), and s is either ⊕ if | w 2 | > 0 or ⊖ . 2 ⊖ -reading: ( q , ⊖ , w 1 y , ε, xw 3 ) � ( q ′ , ⊖ , w 1 , ε, w 3 ), where q ′ ∈ δ ( q , x , y , ⊖ ). 3 ⊕ -jumping: ( q , ⊕ , w 1 , uw 2 v , w 3 ) � ( q , s , w 1 u , w 2 , vw 3 ), where s is either ⊕ if | w 2 | > 0 or ⊖ . 4 ⊖ -jumping: ( q , ⊖ , w 1 { # } ∗ , ε, { # } ∗ w 3 ) � ( q , ⊖ , w 1 , ε, w 3 ). Accepted language L ( M ) A string w is accepted by a jumping 5 ′ → 3 ′ WK automaton M if and only if ( q 0 , ⊕ , ε, w , ε ) � ∗ ( q f , ⊖ , ε, ε, ε ), for q f ∈ F . Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 13 / 29

  14. Table of contents 1 Introduction 2 Combined idea 3 Final definition 4 Examples 5 General results 6 Results on restricted variations 7 Conclusion Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 14 / 29

  15. Examples – Input 1 Example automaton L ( M ) = { w ∈ { a , b } ∗ : | w | a = | w | b } M = ( { a , b } , { s } , s , { s } , δ ) where δ : δ ( s , a , b , ⊕ ) = { s } δ ( s , a , b , ⊖ ) = { s } Input aaabbb ( s , ⊕ , ε, aaabbb , ε ) � ( s , ⊕ , # , aabb , #) � ( s , ⊕ , ## , ab , ##) � ( s , ⊖ , ### , ε, ###) � ( s , ⊖ , ε, ε, ε ) Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 15 / 29

  16. Examples – Input 2 Example automaton L ( M ) = { w ∈ { a , b } ∗ : | w | a = | w | b } M = ( { a , b } , { s } , s , { s } , δ ) where δ : δ ( s , a , b , ⊕ ) = { s } δ ( s , a , b , ⊖ ) = { s } Input baabba ( s , ⊕ , ε, baabba , ε ) � ( s , ⊕ , b , aabb , a ) � ( s , ⊕ , b # , ab , # a ) � ( s , ⊖ , b ## , ε, ## a ) � ( s , ⊖ , b , ε, a ) � ( s , ⊖ , ε, ε, ε ) Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 16 / 29

  17. Table of contents 1 Introduction 2 Combined idea 3 Final definition 4 Examples 5 General results 6 Results on restricted variations 7 Conclusion Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 17 / 29

  18. General results Lemma 5.1 For every regular language L , there is a jumping 5 ′ → 3 ′ WK automaton M such that L = L ( M ). Usually does not hold in JFA, but we can simulate classical FA. Lemma 5.2 For every sensing 5 ′ → 3 ′ WK automaton M 1 , there is a jumping 5 ′ → 3 ′ WK automaton M 2 such that L ( M 1 ) = L ( M 2 ). M can model linear languages with ⊕ -reading steps. Theorem 5.3 LIN = SWK ⊂ JWK . SWK – the language family of sensing 5 ′ → 3 ′ WKA JWK – the language family of jumping 5 ′ → 3 ′ WKA Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 18 / 29

  19. General results The next two characteristics follow from the previous results. Theorem 5.4 Jumping 5 ′ → 3 ′ WK automata without ⊖ -reading steps accept linear languages. If ⊖ -reading is not used, M can be simulated with a linear grammar. Proposition 5.5 The language family accepted by double-jumping finite automata that perform right-left and left-right jumps is strictly included in JWK . It was previously shown that these families are strictly included in LIN . Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 19 / 29

  20. General results Lemma 5.10 There are some non-context-free languages accepted by jumping 5 ′ → 3 ′ WK automata. L ( M ) = { w 1 w 2 : w 1 ∈ { a , b } ∗ , w 2 ∈ { c , d } ∗ , | w 1 | a = | w 2 | c , | w 1 | b = | w 2 | d } Lemma 5.6 There is no jumping 5 ′ → 3 ′ WK automaton M such that L ( M ) = { a n b n c n : n ≥ 0 } . Lemma 5.7 There is no jumping 5 ′ → 3 ′ WK automaton M such that L ( M ) = { w ∈ { a , b , c } ∗ : | w | a = | w | b = | w | c } . Lemma 5.11 There is no jumping 5 ′ → 3 ′ WK automaton M such that L ( M ) = { a n b n c m d m : n , m ≥ 0 } . Jumping 5 ′ → 3 ′ WK Automata Kocman, Nagy, Kˇ rivka, Meduna NCMA 2018 20 / 29

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend