Lecture 01: Deterministic Finite Automata (DFA)

IIT Kharagpur July 2018
6 May 201927:25

Summary

TLDRThis script delves into the concept of Deterministic Finite Automata (DFA), a computational model defined by a quintuple consisting of states, input alphabets, transition rules, a start state, and final states. It illustrates the DFA with examples like a simple on-off switch and a more complex state transition table, explaining how strings and alphabets interact within the model. The script also introduces the notion of language as a subset of all possible strings formed from the input alphabet, including the empty string.

Takeaways

  • 😀 Deterministic Finite Automata (DFA) is a five-tuple consisting of a set of states (Q), an alphabet (sigma), a transition rule (Delta), a starting state (q0), and a set of final states (F).
  • 🔍 The states in a DFA are finite and represented by capital letters, such as Q = {A, B, C, D}.
  • 📚 The alphabet is a finite set of symbols that can be binary, letters, or ASCII values, and is represented by small letters.
  • 🚀 The transition rule (Delta) defines how the automaton moves from one state to another based on the input from the alphabet.
  • 🏁 There is only one starting state (q0) in a DFA, which is the initial state from which the automaton begins its operation.
  • 🎯 The final states (F) are the accepting states where the DFA halts, and there can be multiple such states.
  • 🔄 DFA can model simple systems like an on-off switch, where the input is a 'push' and the states are 'on' and 'off'.
  • 🔢 The concept of strings, or words, is a finite sequence of symbols from the alphabet, and they can vary in length, including an empty string (epsilon).
  • 🔗 String concatenation is the process of joining two strings end-to-end to form a new string, with the length being the sum of the two original strings.
  • 🌐 Sigma star (σ*) represents the set of all possible strings that can be formed from the alphabet, including the empty string.
  • 📈 Sigma plus (σ+) is similar to sigma star but does not include the empty string; it represents strings of length one or more.
  • 📝 A language in the context of DFA is any subset of sigma star, which can be used to define the set of strings that the automaton accepts.

Q & A

  • What is a deterministic finite automaton (DFA)?

    -A deterministic finite automaton (DFA) is a theoretical model of computation that consists of a finite set of states, a finite input alphabet, a transition function, a start state, and a set of accept states. It processes input in a step-by-step manner, moving from one state to another based on the current state and the current input symbol.

  • What are the components of a DFA's five-tuple?

    -The five-tuple of a DFA consists of: 1) Q, the set of all possible states; 2) Σ (sigma), the set of all possible input alphabets; 3) Δ (delta), the transition rule; 4) q0, the starting state; and 5) F, the set of final or accept states.

  • How is the transition rule in a DFA defined?

    -The transition rule, delta, is defined as a function that takes the current state and an input alphabet and determines the next state. It is often represented as δ(q, a) = p, where 'q' is the current state, 'a' is the input alphabet, and 'p' is the new state after the transition.

  • What is the significance of the starting state (q0) in a DFA?

    -The starting state (q0) is significant because it is the initial state from which the DFA begins processing the input. There is only one starting state in a DFA, and it is part of the set of all possible states (Q).

  • Can a DFA have more than one starting state?

    -No, a DFA has exactly one starting state. Other types of automata, such as nondeterministic finite automata (NFA), can have multiple starting states, but DFAs are characterized by having a single starting state.

  • What is the role of the final or accept states (F) in a DFA?

    -The final or accept states (F) in a DFA are the states that represent successful termination of the input processing. If the DFA reaches any state in F after processing the entire input, the input is considered accepted by the DFA.

  • How can an on-off switch be modeled using a DFA?

    -An on-off switch can be modeled using a DFA with two states (off and on) and a single input alphabet (push). The transition function defines that pushing the switch when it is in the off state moves it to the on state, and pushing it when it is in the on state moves it back to the off state.

  • What is the difference between sigma (Σ) and sigma star (Σ*) in the context of DFA?

    -Sigma (Σ) represents the finite input alphabet of a DFA, which is a set of symbols used as input. Sigma star (Σ*) represents the set of all possible strings that can be formed using the symbols from sigma, including the empty string (ε), and strings of any length.

  • What is the empty string in the context of DFA and how is it represented?

    -The empty string, represented by ε, is a special string in the context of DFA that has zero length, meaning it contains no symbols from the input alphabet. It is used to represent no input or a null operation in the DFA.

  • What is the concept of string concatenation in the context of DFA?

    -String concatenation in the context of DFA is the operation of joining two strings end-to-end to form a new string. For example, if you have two strings 'x' and 'y', their concatenation is represented as 'xy', and the length of the new string is the sum of the lengths of 'x' and 'y'.

  • How is the language of a DFA defined?

    -The language of a DFA is defined as any subset of sigma star (Σ*), which includes all possible strings that can be formed using the input alphabet of the DFA. The language represents the set of all strings that the DFA can accept.

Outlines

00:00

🤖 Introduction to Deterministic Finite Automata (DFA)

This paragraph introduces the concept of Deterministic Finite Automata (DFA), explaining it as a five-tuple consisting of states (Q), input alphabets (sigma), transition rules (Delta), a starting state (q0), and a set of final states (F). The explanation covers the finite nature of states and input alphabets, the role of the transition function in moving from one state to another based on input, and the uniqueness of the starting state. The paragraph also touches on the representation of states and alphabets, with states typically denoted by capital letters and input alphabets by small letters or ASCII values.

05:01

🔄 Transition Function and States in DFA

The second paragraph delves deeper into the transition function (Delta), which is a mapping from the cross product of states and input alphabets to states. It clarifies that the function takes a current state and an input alphabet, moving the system to a new state. The paragraph also discusses the importance of the starting state (q0) and final states (F), which are subsets of Q, and may include one or multiple states. An example of a simple switch with two states (on and off) and a single input (push) is used to illustrate the concept of state transitions in a DFA.

10:02

🔄 DFA Modeling with State Transition Table

This paragraph continues the discussion on DFA by providing an example of a simple state transition system, such as an on-off switch, and then extends the concept to a more complex model with multiple states and inputs. It describes how to represent the transition function in a table format, detailing the movement from one state to another upon receiving specific inputs. The example includes a three-state DFA with inputs 0 and 1, illustrating the process of defining the transition function and identifying the starting and final states.

15:07

📝 Understanding Strings, Concatenation, and Language in DFA

The fourth paragraph shifts the focus to the concept of strings and language within the context of DFA. It defines a string as a finite sequence of input alphabet symbols and explains the notion of the empty string (epsilon). The paragraph discusses the concatenation of strings, the power of alphabets, and introduces sigma star as the set of all possible strings of any length, including the empty string. It also touches on the concept of language as any subset of sigma star.

20:17

🔢 Power of Alphabets and Language Definition

This paragraph further explores the power of alphabets, explaining how strings of varying lengths are formed from the input alphabet (sigma). It defines sigma to the power of k as the set of all k-tuples of alphabets, resulting in strings of different lengths. The paragraph also introduces sigma plus, which is similar to sigma star but excludes the empty string. Finally, it reiterates the definition of language as any subset of sigma star, which can include strings of any length, including the null string.

Mindmap

Keywords

💡Deterministic Finite Automata (DFA)

Deterministic Finite Automata, or DFA, is a theoretical model of computation used in computer science to recognize patterns in input sequences. It is a finite model, meaning it has a limited number of states and a finite set of inputs. The video script introduces DFA as a five-tuple consisting of states, input alphabets, transition rules, a starting state, and final states. DFA is central to the video's theme, as it is used to explain how a machine can process inputs and determine if they are part of a language recognized by the DFA.

💡Five-tuple

A five-tuple is a mathematical construct used to describe the components of a DFA. The script mentions that a DFA is defined by a five-tuple (Q, sigma, Delta, q0, F), where Q is the set of states, sigma is the set of input alphabets, Delta is the transition function, q0 is the starting state, and F is the set of final states. This concept is fundamental to understanding the structure of a DFA and how it operates.

💡States

In the context of the video, states represent the various conditions or modes that a DFA can be in. The set Q contains all possible states that the DFA can occupy. The concept of states is crucial as it defines the range of behaviors the DFA can exhibit in response to input sequences, as illustrated by the examples of the on-off switch and the more complex DFA with states A, B, C.

💡Alphabets

Alphabets, denoted by sigma in the script, are the basic symbols that form the input to a DFA. They are finite and can be as simple as binary digits (0, 1) or as complex as the characters in the English alphabet. The alphabet defines the set of all possible inputs the DFA can accept, and the script uses it to explain how different inputs can transition the DFA between states.

💡Transition Rule

The transition rule, or Delta, is a function that dictates how the DFA moves from one state to another based on the input received. It is a key concept in the script, as it defines the behavior of the DFA in response to each input symbol while in a particular state. The transition rule is exemplified in the script through state transition tables and the on-off switch example.

💡Starting State

The starting state, denoted by q0 in the script, is the initial state from which the DFA begins processing an input sequence. It is a critical component of the DFA, as it sets the baseline for the computation process. The script emphasizes that there is only one starting state in a DFA, which is a distinguishing feature from other types of automata.

💡Final States

Final states, represented by the set F in the script, are the states that indicate the successful recognition of an input sequence by the DFA. If the DFA reaches a final state after processing an input, it means the input is part of the language recognized by the DFA. The concept is illustrated in the script with the on-off switch example, where the 'on' state is a final state.

💡Input Sequence

An input sequence is a string of symbols from the alphabet that the DFA processes. The script discusses how the DFA evaluates input sequences to determine if they lead to a final state, which would mean the sequence is part of the language recognized by the DFA. The concept is integral to understanding how DFAs operate and what they can 'understand' or accept.

💡Concatenation

Concatenation is the operation of joining two strings end-to-end to form a new string. In the script, concatenation is used to describe how strings can be combined to create new input sequences for the DFA. This concept is important for understanding how complex input sequences can be built from simpler ones and processed by the DFA.

💡Language

In the context of the video, a language is any subset of sigma star, which includes all possible strings that can be formed from the input alphabet. The script explains that a language is the set of strings that a DFA recognizes, and it is a fundamental concept in understanding what a DFA can 'understand' or accept as valid input.

💡Sigma Star (Σ*)

Sigma star, denoted by Σ*, represents the set of all possible strings that can be formed from the input alphabet, including the empty string. The script introduces sigma star as a way to describe the universe of all strings that a DFA might encounter. It is a key concept in defining the language recognized by a DFA and in understanding the complete set of inputs a DFA can process.

Highlights

Deterministic finite automata (DFA) is defined as a five-tuple consisting of states, alphabets, transition rules, a starting state, and final states.

Q represents the set of all possible states in a DFA.

Sigma (Σ) denotes the set of all possible input alphabets, which can be finite and includes binary inputs or any character set.

Delta (Δ) is the transition rule that dictates the movement from one state to another based on an input.

Q0 signifies the single starting state of a DFA.

F is the set of final or accepting states, which can include multiple states.

Alphabets can be represented by binary values, English letters, or ASCII values.

The transition function, Δ, is a critical component of DFA that maps the current state and input to a new state.

An example of a simple DFA is modeling an on-off switch with two states and a single input 'push'.

In a DFA, the starting state is represented by a single circle, while the final state is denoted by a double circle.

A state transition table is a useful tool for visualizing the behavior of a DFA with respect to different inputs.

The concept of string concatenation is fundamental in defining how the input affects the state transitions in a DFA.

The empty string, denoted by epsilon (ε), represents a string of length zero in the context of DFA.

Sigma star (Σ*) represents the set of all possible strings that can be formed from the input alphabet, including the empty string.

Sigma plus (Σ+) includes all strings of length greater than zero formed from the input alphabet, excluding the empty string.

A language in the context of DFA is any subset of sigma star, which can be a collection of strings including the empty string.

The transcript provides a comprehensive explanation of DFA, including its components, examples, and the theoretical underpinnings of language and strings.

Transcripts

play00:00

So, we will talk about deterministic finite automata or DFA. So, it is basically a five-tuple

play00:25

consists of Q, which is a set of all possible states, then sigma this is the set of all

play00:37

possible alphabets. So, this these are all finite . Delta, this is called transition

play00:43

rule which takes one state and one alphabet and it will go to the new state.

play00:50

Q 0 which is a starting state we have to start from a some state, so this is the starting

play00:56

state which iswhich is there is only one starting state for finite automata. So, there are some

play01:02

different type of automata which can be having many starting state, but for our case here

play01:07

finite automata DFA in a epsilon, it will all have the one state to start that is the

play01:14

Q 0 or which is calledstarting state. And then we have a F, F consists of set of all

play01:22

final state. So, this could be many. So, thisQ is nothing but set of all possible

play01:37

states . This is the Q that means, all possible state our our system can be. So, this usually

play01:48

we denoted by capital letter. So, Q is some state sayQ A, B, C, D like this. So, use some

play02:01

capital letter to indicate thisstates. And this is basically the set of alphabets;

play02:15

this is the another input. So, this this we this could be 0, 1, this is the binary input

play02:25

. Alphabet could be binary, then it is 0, 1 or this would be some small letter like

play02:36

English alphabet from a to z, these are the small letter. Because capital letter we are

play02:42

going to use for the state, and small letter we can use for the alphabet. Or it could be

play02:50

a ascii value this could be set of all ascii value of ascii value. So, these are the alphabets

play03:08

that is the another another part of the input of this finite state machine ok.

play03:13

So, far this is. So, let me write it again . Yeah so it is basically five-tuple Q, sigma,

play03:42

then the rule, and q 0, F. And Q is a finite set of state states. So, if that is our Q

play04:02

set of all possible state . This sigma is the a finite input alphabet alphabets.

play04:20

And the delta is the transition rule. So, our system is at any state, suppose our system

play04:26

is here some state say q, and thenit will take an input, input it is a a, and it will

play04:37

go to another state p. So, this is in other word we can write delta of q, a is equal to

play04:44

p this is the way . So, we are at state q, and we take an input alphabet a, and it will

play04:53

go to the new state p, so that is the that will by that this rule this is called astate

play05:01

transition rule. So, this is the transition function or transition rule . This is called

play05:07

transition function or rules . So, this is this is a function formQ, because

play05:20

this is one input state, another input is an alphabet. So, Q cross delta hey sorry Q

play05:28

cross thisah Q cross sigma to the it will go to the another state Q cross sigma to Q.

play05:38

So, it is taking one input as a present state and another input is the input alphabet and

play05:45

it will move to the new state. So, this is the state transition function.

play05:53

And then we have a starting state. So, you have to start with a, from a state. So, that

play05:58

is q 0. So, q 0 is belongs to Q is called the initial state or the starting state of

play06:06

the system initial state or the starting state . So, it needs to start from a state ok, so

play06:24

that is the q 0. And we have the F, F is also consists of some

play06:31

states which is called final state. There could be one final state there could be many

play06:35

final state, so that is why f is a subset of Q is the set of all final states. So, this

play06:42

is the final state or it is also called accepting state, set of all final state or accepting

play06:57

state set of all final state or accepting state. So, this is the, this is a, this could

play07:08

be 1 also, this this could be also. So, F consists of some state say F is nothing but

play07:15

some q 1, q 2, q k, it could be only q k or q 1. So, F consist of some states which is

play07:24

defined to be as accepted state. So, this five-tuple is referred as DFA, so

play07:31

any DFA. So, this this is the deterministic finite automata . So, deterministic finite

play07:39

automata is basically five-tuple. This is the set of all possible state, this is finite.

play07:44

This is the set of all possible alphabet input, this is also finite. This is the rule, the

play07:50

transition rule currently we are at some state, we take input, we will go to another state,

play07:55

so that rule that rule will come from this function. So, this is a function from delta

play08:01

crosssigma to delta, I, this is a function for this Q cross sigma to Q. And this is the

play08:10

initial state our system is on initial state, and then this is this is referred as final

play08:16

state. So, any DFA consists of this five-tuple. So, now, we will take an example, very simple

play08:21

example of modeling or switching, switch on off . So, if we have a switch, it has all

play08:30

these two state either it is on or off. And depending on the I mean we will just push

play08:37

where there is only one input, alphabet that is push.

play08:41

So, we basically have two states; one is off another one is on. And we have only one input

play08:53

which is push. We have a switch if it is on, if we push it, it will be off. If it is off,

play09:00

if we push it, it will be on like this . So, this is push button . So, we are at this stage,

play09:09

where where the switch is off. Now, we will put it on, push, then it will be on, switch

play09:16

is on. We will push; it will be off. So, this is our, this is the starting step if we can

play09:21

say we start and this is the ending state or accepting state.

play09:28

So, for accepting state, we will use this type of double circle which are belongs to

play09:33

F. So, this is there two state off and on . This is the q 0 starting state or the initial

play09:45

state. And this is our this is F. F consists of this step on. We will accept it if it is

play09:55

on like that I mean just the convention. And what is the delta. So, the states are this

play10:02

and sigma. So, sigma is the input, input alphabet which is nothing but push that is our sigma.

play10:14

We just push, switch push. We have a switch you justpress the button push that is the

play10:21

sigma. I am accepting it as is this. So, what is the transition function, transition function

play10:28

we can write in the table. So, this is delta. So,we have two state, one is this on; one

play10:37

is off. And we have two twoonly one input which is push .

play10:45

So, if we are at off, on, if we take the input push, it will be off . If we are at off, we

play10:53

take the input it will be very simple model of this switching system. So, this is theon-off

play11:00

switch. So, this is thethis is an example, where we are modeling a on-off switch using

play11:09

a finite automata . If finite automata your finite automata modeling modeling anon-off

play11:22

switch, this is an example a finite automata modeling and on-off switch ok.

play11:40

So, this space if we are on state, and if we take the input, there is only input, this

play11:48

will be off. And if we at off state, and if we take the input, it will be on very simple

play11:57

example ok. We can take another example which is not this much simple, you may have many

play12:05

other state. And instead of one input alphabet, we can havemore than one like if it is binary

play12:15

0, 1. So, we can have another example like this.

play12:20

So, we have few state A, B, C. And we referred as this is the starting state or the initial

play12:31

state start starting state ok. And this we refer as final state or the accepting state.

play12:40

So, what is Q? Q is A, B, C. And the q 0 is a this is our q 0 starting state. Now, we

play12:52

have to and what is F the accepted state or the final state is C . It could be many but

play13:03

here in this example we have one. So, now, we need to define the rule thedelta.

play13:10

So, delta means so we are at suppose here at this state. So, let us define delta . So,

play13:21

these are the state A, B, C, and there are two possible inputs 0 and 1 . So, now, if

play13:31

we had a we can write this in the table if we are this that what this is called a state

play13:38

transition table, state transition table ok. We are at A.

play13:51

Now, if you see a one, we will have a cell loop. So, A with and if we see a 0, it will

play14:01

come here. So, A, A with 0, will be B,A with sorry 0 will B, B and A with is A . So, now,

play14:11

B now from B if we see A 0, it will come here . And if you see a one, it will come here

play14:21

. This is we are defining a finite state machine I mean. So, now, so this will befrom B, if

play14:28

we see A 0, it will C from B. If we see A 1, it is coming back to A. And from C, we

play14:38

can have if you see a 0, we are here; if we see 1, then also here . So, C, if we see a

play14:44

0, C 1, C, so this is the way we have defined this.

play14:48

So, this is also the example of DFA, so where A is the starting state. And here sigma is

play14:58

the binary input 0, 1 binary alphabet. And this is the final state, we we do the double

play15:07

circle for the final state. And for starting state, we will just use this as we start this

play15:13

is our q 0 starting state and this is our F final state. So, this is this is another

play15:20

example of a d DFA - deterministic finite automata, where we have more than two steps

play15:28

as two state and we have two input 0 and 1 .

play15:32

Now, we will define more on alphabet that is the string we will see how we canput the

play15:41

string, run the DFA, and whether we can reach to a final state or not. So, that that will

play15:48

be the accepting string rejecting string. So, those we will discuss now . So, now, we

play15:54

concentrate on the that sigma the input alphabet. And we defined the string, and then we will

play16:05

see what do you mean by the string accepted by a DFA ok.

play16:11

Let us talk more about this alphabet . So, alphabet is sigma. So, for binary it is just

play16:22

0 and 1 for example, ok. It is a finite input. Finite sim, input we can say ok. It would

play16:33

be 3 also like this . Now, we define a string with this alphabet, string or it is called

play16:49

word also . Yeah, this is basically a finite sequence of input alphabet this is defined

play16:56

as a finite sequence of sequence of input alphabet input alphabet symbols . This is

play17:17

how we define a string. For example, if our alphabet is this two symbols 0 and 1 binary

play17:25

alphabet, then any any sequence of 0 1 is the string like0 1 1 0 1 . This is a string

play17:34

then we can have 1 1 1, this is your string. So, all such example is a string, because

play17:40

this is a sequence of these alphabets. Any sequence of alphabet is called a string ok.String

play17:50

this is a string of length 5; this is a string of length 3 like this . And there is a empty

play17:58

string which is defined to be a as epsilon this symbol, this symbol is called epsilon.

play18:15

So, this is this is referred to be a empty string.

play18:18

Empty string means zero occurrence of the symbol, zero occurrence of the symbol of input

play18:24

alphabet, so that means zero occur, so that means, length of this empty string is 0, because

play18:48

there is no alphabet. So, zero occurrence of the alphabet is and length of this is length,

play18:54

we define is 5, length of this is 3 . So, this is the way we define the length of a

play19:02

string ok. String is also called wond. Now, we talk about the concatenation of two strings.

play19:12

This is a string of length 5; we can have string of length 2.

play19:16

So, how many are there with string of length 2. This is 0 0 1 0 0 1 1 1, these are all

play19:24

string of length 2, with the with the alphabet 0 1. String of length 3, similarly, we can

play19:30

define, but this is the this epsilon is the string of length 0 that means, there is no

play19:38

in the 0 occurrence ok. So, these we need, so we define the concatenation of two strings

play19:49

. Now, we define how we define the concatenation

play19:55

of concatenation of strings ok. Suppose, you have two strings a 1, a 2, a n. And we have

play20:16

y string beyond b 1 to b n. And here all a i must come from the sigma, because strings

play20:25

is a sequence of the input alphabet. So, they are coming from sigma. Now, what we how we

play20:32

define the concatenation x y, x y is nothing but a 1, a 2, a n this is say a b m.

play20:41

So, this is a string of length n, this is a string of length m, then if we concatenate

play20:47

it will be a new string of length m plus n. So, this is nothing but b 1, b 2 b m just

play20:59

a occurrence of the sequence. We write first sequence, then we write followed by the second

play21:05

sequence occurrence of the sequence. Now, what is the length of these 2, this length

play21:10

of this is m plus n, length of x plus length of y ok. Now, for any string w, we can write

play21:21

as w is equal to w epsilon is equal to epsilon w, because this is thezero occurrence of a

play21:34

string. This is called a null string or empty string.

play21:38

So, we can either have 0 and epsilon, because we can always suppose you have a string say

play21:45

0 0 1 we can always write this as 0 0 1 epsilon, or epsilon 0 0 1 any any side of it, it does

play21:56

not matter even though you can put this epsilon in the middle ok, because length of this is

play22:04

same as w, because length of this is this is the zero occurrence null string. So, this

play22:08

is the length of this is ok. Now, we define power of alphabet, then we

play22:17

define the language . Power of alphabets ok. So, suppose you have a input alphabet sigma.

play22:46

Now, we defined sigma to the power k, it is basically thea, b, c, I mean sorry x 1, x

play23:02

2 x k, it is all k tuple of alphabet, where x i are coming from sigma . So, it is all

play23:14

the k tuple these are all strings. So, we just forming the string of the alpha, string

play23:18

from the alphabet. So, for example, if k is equal to 1, so k

play23:22

is equal to o means it is the zero occurrence of the string of the symbol. So, it is epsilon;

play23:35

it is epsilon. So, k is equal to 1 is basically the sigma itself. So, if it is 0, 1, or if

play23:43

sigma is say a, b, c it will be just a b c . And k is equal to 2, it is all thestring

play23:54

of length 2. So, this is ab, bc then ac, cb like this . So, all the string of length two

play24:07

using this same alphabet sigma. And then we have so this is the all three

play24:16

combination abc, thenacb like this, so all three combinations, all the string of length

play24:26

three using the same alphabet. So, like this. So, this is of length one, length one string.

play24:36

This is of length two string; this is of length two three string ok; this way.

play24:43

Now, we definesigma star . Sigma star is basically the the string of any length is denoted by

play24:59

sigma star . So, sigma star is sigma 0 which is epsilon null string. Sigma which is the

play25:13

string of length 1 that is the original input alphabet, sigma square string of length 2,

play25:21

then sigma three string of length three like this. So, all possible string we can made

play25:30

out of this input alphabet, these are all comes under sigma star including the null

play25:38

string including the zero occurrence of the alphabet. So, this is the null input ok. So,

play25:45

this is referred as sigma star. This is the set of all possible string

play26:02

using the input alphabet using the input alphabetsigma, I mean the alphabets are coming from sigma

play26:21

of any length of any length including 0 that means, a null string also part of it including

play26:33

the zero length, that means, the empty string also part of it. And the sigma plus is we

play26:42

we are not including the null string, it is basically the sigma 1, sigma 2 like this,

play26:50

sigma 3 like this . So, this sigma star is nothing but null string.

play27:00

So, this is the sigma star. And the language is any subset of sigma star is called the

play27:08

language. It is a collection of string it could be null string also. It is a collection

play27:13

of string, set of string it is called language. We define the language, it is the collection

play27:19

of string, so that we will discuss in the next class.

play27:22

Thank you

Rate This

5.0 / 5 (0 votes)

相关标签
DFAFinite AutomataDeterministic SystemsState TransitionsAlphabet SetsInput SequencesAutomata TheoryComputational ModelsOn-Off Switch ExampleBinary InputState Machines
您是否需要英文摘要?