The document discusses automata and formal languages. It begins by defining an automaton as a theoretical self-propelled computing device that follows a predetermined sequence of operations automatically. It then defines a language as a set of strings chosen from an alphabet. There are two types of finite automata: deterministic finite automata (DFA) and nondeterministic finite automata (NDFA). A DFA is defined by a 5-tuple including states, transitions, start and accepting states. The document provides examples of DFAs and how strings are processed. It also discusses epsilon-NFAs and provides steps to convert an NFA to a DFA.
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)Mohammad Ilyas Malik
The term "Automata" is derived from the Greek word "αὐτόματα" which means "self-acting". An automaton (Automata in plural) is an abstract self-propelled computing device which follows a predetermined sequence of operations automatically.
Finite Automata: Deterministic And Non-deterministic Finite Automaton (DFA)Mohammad Ilyas Malik
The term "Automata" is derived from the Greek word "αὐτόματα" which means "self-acting". An automaton (Automata in plural) is an abstract self-propelled computing device which follows a predetermined sequence of operations automatically.
It is related to Analysis and Design Of Algorithms Subject.Basically it describe basic of topological sorting, it's algorithm and step by step process to solve the example of topological sort.
Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDAAshish Duggal
Push Down Automata (PDA) is part of TOC (Theory of Computation)
From this presentation you will get all the information related to PDA also it will help you to easily understand this topic. There is also one example.
This PPT is very helpful for Computer science and Computer Engineer
(B.C.A., M.C.A., B.TECH. , M.TECH.)
simple problem to convert NFA with epsilon to without epsilonkanikkk
conversion of NFA,this will helps to easily solve the problems
by this small example you can solve large problems also.by solving this type of small problems we can get a more ideas to solve this type of problems
It is related to Analysis and Design Of Algorithms Subject.Basically it describe basic of topological sorting, it's algorithm and step by step process to solve the example of topological sort.
Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDAAshish Duggal
Push Down Automata (PDA) is part of TOC (Theory of Computation)
From this presentation you will get all the information related to PDA also it will help you to easily understand this topic. There is also one example.
This PPT is very helpful for Computer science and Computer Engineer
(B.C.A., M.C.A., B.TECH. , M.TECH.)
simple problem to convert NFA with epsilon to without epsilonkanikkk
conversion of NFA,this will helps to easily solve the problems
by this small example you can solve large problems also.by solving this type of small problems we can get a more ideas to solve this type of problems
Towards an RDF Validation Language based on Regular Expression DerivativesJose Emilio Labra Gayo
Towards an RDF Validation Language based on Regular Expression Derivatives
Author: Jose Emilio Labra Gayo
Slides presented at: Linked Web Data Management Workshop
Brussels, 27th March, 2015
Automated Web Service Change Management (AWSCM) A tool published at IEEE Clou...Animesh Chaturvedi
This is a presentation of publication on IEEE CloudCom 2014 http://doi.ieeecomputersociety.org/10.1109/CloudCom.2014.144
AWSCM https://sites.google.com/site/animeshchaturvedi07/research/awscm
Cosmetic shop management system project report.pdfKamal Acharya
Buying new cosmetic products is difficult. It can even be scary for those who have sensitive skin and are prone to skin trouble. The information needed to alleviate this problem is on the back of each product, but it's thought to interpret those ingredient lists unless you have a background in chemistry.
Instead of buying and hoping for the best, we can use data science to help us predict which products may be good fits for us. It includes various function programs to do the above mentioned tasks.
Data file handling has been effectively used in the program.
The automated cosmetic shop management system should deal with the automation of general workflow and administration process of the shop. The main processes of the system focus on customer's request where the system is able to search the most appropriate products and deliver it to the customers. It should help the employees to quickly identify the list of cosmetic product that have reached the minimum quantity and also keep a track of expired date for each cosmetic product. It should help the employees to find the rack number in which the product is placed.It is also Faster and more efficient way.
Water scarcity is the lack of fresh water resources to meet the standard water demand. There are two type of water scarcity. One is physical. The other is economic water scarcity.
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdffxintegritypublishin
Advancements in technology unveil a myriad of electrical and electronic breakthroughs geared towards efficiently harnessing limited resources to meet human energy demands. The optimization of hybrid solar PV panels and pumped hydro energy supply systems plays a pivotal role in utilizing natural resources effectively. This initiative not only benefits humanity but also fosters environmental sustainability. The study investigated the design optimization of these hybrid systems, focusing on understanding solar radiation patterns, identifying geographical influences on solar radiation, formulating a mathematical model for system optimization, and determining the optimal configuration of PV panels and pumped hydro storage. Through a comparative analysis approach and eight weeks of data collection, the study addressed key research questions related to solar radiation patterns and optimal system design. The findings highlighted regions with heightened solar radiation levels, showcasing substantial potential for power generation and emphasizing the system's efficiency. Optimizing system design significantly boosted power generation, promoted renewable energy utilization, and enhanced energy storage capacity. The study underscored the benefits of optimizing hybrid solar PV panels and pumped hydro energy supply systems for sustainable energy usage. Optimizing the design of solar PV panels and pumped hydro energy supply systems as examined across diverse climatic conditions in a developing country, not only enhances power generation but also improves the integration of renewable energy sources and boosts energy storage capacities, particularly beneficial for less economically prosperous regions. Additionally, the study provides valuable insights for advancing energy research in economically viable areas. Recommendations included conducting site-specific assessments, utilizing advanced modeling tools, implementing regular maintenance protocols, and enhancing communication among system components.
Overview of the fundamental roles in Hydropower generation and the components involved in wider Electrical Engineering.
This paper presents the design and construction of hydroelectric dams from the hydrologist’s survey of the valley before construction, all aspects and involved disciplines, fluid dynamics, structural engineering, generation and mains frequency regulation to the very transmission of power through the network in the United Kingdom.
Author: Robbie Edward Sayers
Collaborators and co editors: Charlie Sims and Connor Healey.
(C) 2024 Robbie E. Sayers
About
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Technical Specifications
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
Key Features
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface
• Compatible with MAFI CCR system
• Copatiable with IDM8000 CCR
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
Application
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Dr.Costas Sachpazis
Terzaghi's soil bearing capacity theory, developed by Karl Terzaghi, is a fundamental principle in geotechnical engineering used to determine the bearing capacity of shallow foundations. This theory provides a method to calculate the ultimate bearing capacity of soil, which is the maximum load per unit area that the soil can support without undergoing shear failure. The Calculation HTML Code included.
1. THEORY OF AUTOMATAAND
FORMAL LANGUAGES
UNIT-I
ABHIMANYU MISHRA
ASSISTANT PROF.(CSE)
JETGI
Abhimanyu Mishra(CSE) JETGI12/31/2016
2. What is Automata?
AUTOMATA
An Automation derived from the Greek word which means "self-acting". An
automaton (Automata in plural) is an theoretical self-propelled
computing device which follows a predetermined sequence of operations
automatically.
“A set of string all of which are chosen form some ∑*,where ∑ is particular
alphabet, is called a language". If ∑ is an alphabet, and L<= ∑*, then L is
said to be language over alphabet ∑.
KLEENE CLOSURE
“If S is a set of words then by S* we mean the set of all finite strings
formed by concatenating words from S, where any word may be used as
often we like, and where the null string is also included”
For example if ∑={0,1}
∑* ={ €,0,1,00,01,10,11,000,001,…………}
Abhimanyu Mishra(CSE) JETGI12/31/2016
3. Finite automation is called “finite” because number of possible states and
number of letter in the alphabet are both finite, and “automation” because
the change of the state is totally governed by the input. it is deterministic,
since, what state is next is automatic not will-full, just as the motion of the
hands of the clock is automatic, while the motion of hands of a human is
presumably the result of desire and thought.
THERE ARE TWO TYPES OF FINITE AUTOMATA
(A) DETERMINISTIC FINITE AUTOMATA(DFA)
(B) NON DETERMINISTIC FINITE AUTOMATA(NDFA)
FINITE AUTOMATA
Abhimanyu Mishra(CSE) JETGI12/31/2016
4. DETERMINISTIC FINITE AUTOMATA(DFA) IS A QUINTUPLE
(Q,Σ, δ,q0,F)
1. where :Q is a finite set of states.
2. Σ is a finite set of symbols, called the alphabet of the automaton.
3. δ is the transition function, that is, δ: q × Σ → Q.
4. q0 is the start state, that is, the state of the automaton before any input has been
processed, where q0∈ Q.
5. F is a set of states of q (i.e. F⊆Q) called accept states.
(A) DETERMINISTIC FINITE AUTOMATA(DFA)
Abhimanyu Mishra(CSE) JETGI12/31/2016
5. A.1 PROCESSING OF STRINGS BY DFA
• Suppose a1,a2,………………… an is a sequence of input
symbols. We start out with deterministic finite automata having
q1,q2,………………… qn states where q0 is the initial state and qn is
the final state and transition function and processed as………..
δ(q0, a1 ) = q1
δ(q1, q2 ) = q2
. .
. .
δ(qn-1 , qn ) = qn
Input a1,a2,………………… an is said to be “accepted” since qn is the
member of the final states, and if not then it is “ rejected”
Abhimanyu Mishra(CSE) JETGI12/31/2016
6. A.2 TRANSITION GRAPH
• A transition graph is a collection of three things:
1. A finite set of states, at least one of which is designated as the start state.
start state
final state
2. An alphabet Σ of possible input letters from which input strings are
formed.
3. A finite set of transitions that show how to go from some states.
Abhimanyu Mishra(CSE) JETGI12/31/2016
7. A.3 TRANSITION DIAGRAM
Transition Diagram Notations: A transition diagram for DFA, M=(Q,Σ, δ,q0,F) is a
graph defined as follows:
(a) For each state in Q there is a node represented by the circle.
(b) For each state q in Q and each input symbol a in Σ, let δ(q,a)=P.
a
a a,b
or or
b
(c) If any state q in Q is the starting state then it represented by the circle with
arrow as
q P q P q P
q
Abhimanyu Mishra(CSE) JETGI12/31/2016
8. A transition table is a conventional, tabular representation of a function like δ that
takes two arguments and return a state. The rows of the table correspond to the
states, and the columns correspond to the input.
State δ(q,a).
For example:
q0 is the starting state and q2 is the final state
A.4 TRANSITION TABLES
δ/ Σ a b
q0 q1 q2
q1 q2 q0
q2 q2 q2
Abhimanyu Mishra(CSE) JETGI12/31/2016
9. And the transition diagram:
b
a
a
a,b
Q={q0, q1, q2 }
F={q2 }
δ(q0 , a) = q1 , δ(q0 , b) = q2
δ(q0 , a) = q2 , δ(q0 , b) = q0
δ(q0 , a) = q2 , δ(q0 , b) = q2
q0
q0
q1
q2
Abhimanyu Mishra(CSE) JETGI12/31/2016
10. Example 1:-
• Design a FA that accepts set of strings such that every string end in 00,
over alphabet:
{0,1} Σ = { 0,1}
Sol:-
We have M= (Q,Σ, δ,q0,F) be the DFA
q0 : initial state, Σ : {0,1} is given
0,1
Start 0 0
First we will decide the approach to design FA. It is not an easy
task to think FA as a whole, So first we have to fulfill minimum condition i.e
every string end in 00.
q0 q1
q2
Abhimanyu Mishra(CSE) JETGI12/31/2016
11. Facts in Designing Procedure of Finite Automata
(a) In the designing of FA, First of all we have to analyze the set strings
language which is accepted by the FA.
(b) Make sure that every state is check for the output state for every symbol
of Σ.
(c) Make sure, that there is one initial state and at least one final state in
transition diagram of FA.
(d) Make sure that no state must have two different output state for a single
input symbol.
Abhimanyu Mishra(CSE) JETGI12/31/2016
12. Nondeterministic finite automaton with ε-moves (NFA-ε) is a further
simplification to NFA. this automaton replaces the transition function with
the one that allows the empty string ε as a possible input. the transitions
without overwhelming an input symbol are called ε-transitions.
Let M be NFA then M is Defined as:
M = (Q,Σ, δ,q0,F)
(1) a finite set of states q0
(2) a finite set of input symbol Σ
(3) a transition function δ : q × Σ → P(q).
(4) an initial (or start) state q0 ∈ Q
(5) a set of states f distinguished as accepting (or final) states F ⊆ Q
(B) NON DETERMINISTIC FINITE AUTOMATA(NDFA)
Abhimanyu Mishra(CSE) JETGI12/31/2016
13. 0,1
0,1 0 0
START
0,1
1
1
according to analysis it is clear that NFA will accepts the strings of the pattern
00,11,101000,101100,……………………..
Example 1: Design a NFA for the language L= all strings over {0,1} that
have at least two consecutive 0 and 1.
q0
q1
q2
q2
q4
Abhimanyu Mishra(CSE) JETGI12/31/2016
14. Procedure for converting NFA to equivalent DFA.
1) intially Q=ɸ.
2) Put {q0 } into Q.
3) Then for each state q in Q do the following add this new state, add
δ(q,a) = ᴜp€q δ(p,a) to δ on the right hand side is that of NFA
4) Repeat step 3 till new states.
TRANSFORMATION OF NFA TO DFA
Abhimanyu Mishra(CSE) JETGI12/31/2016
15. Example:1 Convert the following NFA in to DFA
a,b b
• Start a a
a,b
b
q0
q3
q2q1
Abhimanyu Mishra(CSE) JETGI12/31/2016
16. Solution
Step 1 ( We get new state)
δ(q0, a ) = {q0, q1 } New single state
δ(q0, b ) = {q0 }
Step 2 In step 1 we are getting a new state {q0, q1 }. Now repat step 1 for
this new state only, so all transition of a and b from {q0, q1 } as
δ({q0 , q1 },a) = δ(q0, a ) U δ(q1, a ) = {q0, q1 } U {q0 }
= {q0, q1, q2 } New single state
δ({q0 , q1 },b) = δ(q0, b ) U δ(q1, b ) = {q0, q1 }
Step3 Repeat step 2
δ({q0 , q1, q2 },a) = δ(q0, a ) U δ(q1, a ) U δ(q2, a)
= {q0, q1 } U {q2 }U {q3 }
= {q0 , q1, q2, q3 } New single state
δ({q0 , q1, q2 },b) = δ(q0, b ) U δ(q1, b ) U δ(q2, b)
= {q0 , q1, q3 } New single state
Abhimanyu Mishra(CSE) JETGI12/31/2016
18. Lets Mark the whole structure in Alphabets
q0 A
{q0, q1 } B
{q0, q1, q2 } C
{q0 , q1, q2, q3 } D
{q0 , q1, q3 } E
Abhimanyu Mishra(CSE) JETGI12/31/2016
19. A is initial state and C,D and E are final states since they contain q2, q3
as member which are final states of NFA
• Transition Table
δ/ Σ a b
A B A
B C B
*C D E
*D D D
*E D D
Abhimanyu Mishra(CSE) JETGI12/31/2016
20. Final Transition Diagram
• b b
• Start a
• a
• b
• a a
• b
• a,b
A
D
E
C
B
Abhimanyu Mishra(CSE) JETGI12/31/2016
21. NFA with ∈ -Transitions
• IF a FA is modified to permit transition without input symbols, along with
zero, one or more transition on input symbols, then we get NFA with ∈-
transition, because the transition made without symbols are called as ∈-
transitions.
0 1 0
Start ∈ ∈
Abhimanyu Mishra(CSE) JETGI
q0 q1
q2
12/31/2016
22. Example:2
Consider the NFA with ∈-transition M =(Q,Σ, δ,q0,F)
Q={q0, q1, q2 }
Σ={a,b,c} and ∈ moves
Initial state ={q0 }
F= { q2 }
δ/ Σ a b c ∈
q0 {q0} {ɸ} {ɸ} {q1}
q1 {ɸ} {q1} {ɸ} {q2}
*q2 {ɸ} {ɸ} {q2} {ɸ}
Abhimanyu Mishra(CSE) JETGI12/31/2016
23. And the transition Diagram: NFA with ∈-transition
a b c
Start ∈ ∈
Abhimanyu Mishra(CSE) JETGI
q0 q1
q2
12/31/2016
24. SOLUTION:-
Step 1- Find the states of NFA without ∈-transition including initial state and
final states as follows:
(i) Initial state will be ∈ -closure of initial state of NFA with ∈-transitions in
∈-closure(q0) = {q0, q1, q2 } (New Initial state for NFA
without ∈ transition)
(ii) Rest of the states are:
∈-closure(q1) ={q1, q2 } New State
∈-closure(q2) ={q2} New State
(iii) The final states of NFA without ∈-transition are all those new states which
contains final state of NFA with ∈- transition as members.
M’ =(Q’,Σ’, δ’,q0’,F’)
Q’ =({q0, q1, q2 } ,{q1, q2 }, {q2} )
Step 2-Now we have to decide δ’ to find out the transition as follows
δ’ ({q0, q1, q2},a) = ∈-closure(δ(q0, q1, q2 ),a)
= ∈-closure(δ(q0, a)U(δ(q1, a)U(δ(q2, a))
= ∈-closure(δ(q0U ɸU ɸ)
= ∈-closure(q0)
= {q0, q1, q2 }
Abhimanyu Mishra(CSE) JETGI12/31/2016
26. So, transition table for NFA ∈-transition will be as:
δ/ Σ a b c
{q0, q1, q2}* {q0, q1, q2} {q1, q2 } { q2}
{q1, q2 }* ɸ {q1, q2 } { q2}
{ q2}* ɸ ɸ { q2}
Abhimanyu Mishra(CSE) JETGI12/31/2016
27. {q0, q1, q2} as qx
{q1, q2 } as qy
{ q2} as qz
• a b
start b
c c
c
NFA without ∈-transition
Abhimanyu Mishra(CSE) JETGI
qx
qz
qy
12/31/2016
28. MINIMIZATION ALGORITHM FOR DFA
(i) all states are unreachable from the initial state via any set of transition
of DFA M are removed
(ii) draw the transition tables for rest states, after removing the
unreachable states
(iii) split the transition table in two tables
(iv) find the similar rows
(v) Repeat the same process
(vi) Now combined the Reduced tables, and removing non reachable
states, dead states.
Minimization of DFA’S
Abhimanyu Mishra(CSE) JETGI12/31/2016
29. Example 1 : Minimize the DFA given below
• Start b a b
b a
a b a a
b
a
a b
a b
b
Abhimanyu Mishra(CSE) JETGI
q0
q4
q7
q6
q1
q0
q3
q2
12/31/2016
30. STEP 1: Remove the unreachable states from the given DFA. the DFA
given in diagram q3 is unreachable state so remove it.
STEP 2: Draw the Transition table for rest states.
Solution :
Abhimanyu Mishra(CSE) JETGI
δ/ Σ a b
q0 q5 q1
q1 q2 q6
*q2 q2 q0
q4 q5 q7
q5 q6 q2
q6 q7 q6
q7 q2 q6
12/31/2016
31. Step 3: Now divide rows of transition table in two sets as:
• (i)
• (ii)
Abhimanyu Mishra(CSE) JETGI
q0 q5 q1
q1 q2 q6
q4 q5 q7
q5 q6 q2
q6 q7 q6
q7 q2 q6
*q2 q2 q0
12/31/2016
32. row 2 and row 6,are similar since q1 and q7 transit to same states on a
and b, so skip of them row 6 then q7 is replaced by q1 in the rest
Step 4: Apply step 4 on both the sets individually. Now consider set (i)
Abhimanyu Mishra(CSE) JETGI
q0 q5 q1
q1 q2 q6
q4 q5 q7
q5 q6 q2
q6 q7 q6
q7 q2 q6
12/31/2016
34. Step 5 Repeat step 4 same process
Again Row 1 and Row 3 Similar
q0 q5 q1
q1 q2 q6
q4 q5 q1
q5 q6 q2
q6 q4 q6
Abhimanyu Mishra(CSE) JETGI
q0 q5 q1
q1 q2 q6
q5 q6 q2
q6 q0 q6
12/31/2016
35. Step 6 Combined Set minimized sets
Now below minimized Transition table.
δ/ Σ a b
q0 q5 q1
q1 q2 q6
q5 q6 q2
q6 q0 q6
*q2 q2 q0
Abhimanyu Mishra(CSE) JETGI12/31/2016
36. Transition Diagram of Minimized DFA
Start b
b
a b a
a
a b
b a
Abhimanyu Mishra(CSE) JETGI
q6
q0
q2q5
q1
12/31/2016
37. Myhill-Nerode theorem is used to eliminate useless states from a DFA.
Myhill-Nerode Theorem says the three statements are equivalent:
(i) The language L, a subset of Σ*, is accepted by a DFA
(ii) L is the union of some of the equivalence classes of right invariant
equivalence relation of finite index.
(iii) Let equivalence relation RL be defined by: xRLy if and only if for all Z in
Σ*, xz is in L exactly when yz is in L. Then RL is of finite index
THANKS
MYHILL-NERODE THEOREM
Abhimanyu Mishra(CSE) JETGI12/31/2016