











































Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Prepara i tuoi esami
Studia grazie alle numerose risorse presenti su Docsity
Prepara i tuoi esami con i documenti condivisi da studenti come te su Docsity
Trova i documenti specifici per gli esami della tua università
Preparati con lezioni e prove svolte basate sui programmi universitari!
Rispondi a reali domande d’esame e scopri la tua preparazione
Riassumi i tuoi documenti, fagli domande, convertili in quiz e mappe concettuali
Studia con prove svolte, tesine e consigli utili
Togliti ogni dubbio leggendo le risposte alle domande fatte da altri studenti come te
Esplora i documenti più scaricati per gli argomenti di studio più popolari
Ottieni i punti per scaricare
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
prof simpatico ma computazionale is bad
Tipologia: Dispense
1 / 51
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!












































High Performance Computing 2024/
Summary
Deterministic Finite Automaton (DFA) Formally, a DFA is a 5-tuple (Q,Σ,δ,q 0 ,F) where
Deterministic Finite Automaton (DFA) The DFA can be represented by means of a table that is called state transition table. A much more suggestive representation of a DFA is the state diagram , in which the automaton is represented by means of an oriented graph, where nodes are states and arcs are transitions, the latter being labeled with the symbol whose reading causes the transition itself. The initial state is a node with an entering arrow, while accept states are double-circled nodes.
Finite State Transducer (FST) An FST is a DFA whose output is a string and not just accept or reject. Formally, an FST is a 7-tuple (Q,Σ,δ,q 0 ,F,O,η) where
Finite State Transducer (FST) Example A manufacturer robot receives saucers and small cups on an input conveyor belt, and puts assembled “small cup on saucer” on an output conveyor belt. Rules:
Nondeterminism Nondeterminism is a generalization of determinism. In a nondeterministic machine, several choices may exist for the next state at any point.
Nondeterministic Finite Automaton (NFA) Formally, an NFA is a 5-tuple (Q,Σ,δ,q 0 ,F) where
Equivalence of NFAs and DFAs Surprisingly, DFAs and NFAs recognize the same class of languages. It is useful because describing an NFA for a given language sometimes is much easier than describing a DFA for that language.
Example NFA DFA
Pushdown Automata Many languages cannot be described by means of finite automata. Pushdown automata are like finite automata but have an extra component called a stack. The stack provides extra additional memory beyond the finite amount available in the control, allowing pushdown automata to recognize some nonregular languages. Like finite automata, pushdown automata can be deterministic or nondeterministic.
Deterministic Pushdown Transducer (DPT) A DPT is a DPA whose output is a string and not just accept or reject. Formally, a DPT is a 8-tuple (Q,Σ,Γ,δ,q 0 ,F,O,η) where
Deterministic Pushdown Transducer (DPT) Example A manufacturer robot that assembles saucers and small cups: if it already has a saucer and receives another saucer, it is not able to accept it and stops. Solution: we provide the robot with a stack (initially empty).
Deterministic Pushdown Transducer (DPT) Example The stack always contains objects of the same type, either saucers or small cups. If the stack has infinite capacity, no FST can model this robot that has an infinite number of possible states.
Nondeterministic Pushdown Automaton (NPA) Formally, an NPA is a 6-tuple (Q,Σ,Γ,δ,q 0 ,F) where