wu :: forums
« wu :: forums - Discrete Maths »

Welcome, Guest. Please Login or Register.
Nov 28th, 2024, 9:49am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   general problem-solving / chatting / whatever
(Moderators: SMQ, Grimbal, william wu, Eigenray, towr, ThudnBlunder, Icarus)
   Discrete Maths
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Discrete Maths  (Read 417 times)
kens
Junior Member
**





   


Posts: 59
Discrete Maths  
« on: Jul 24th, 2007, 2:11pm »
Quote Quote Modify Modify

A Deterministic Finite Automaton (DFA) is to be drawn for language  (a.b)* which does not accept aabb.
 
Please tell me how to approach this problem.
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Discrete Maths  
« Reply #1 on: Jul 24th, 2007, 3:17pm »
Quote Quote Modify Modify

Concatenate two DFA, one which accepts all string (a.b)*, and one which accept all strings that are not aabb.
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
kens
Junior Member
**





   


Posts: 59
Re: Discrete Maths  
« Reply #2 on: Jul 24th, 2007, 3:35pm »
Quote Quote Modify Modify

How to draw a DFA that does not accept aabb?
 
Should we define a dead state on reaching the 2nd b of aabb?
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: Discrete Maths  
« Reply #3 on: Jul 24th, 2007, 3:42pm »
Quote Quote Modify Modify

on Jul 24th, 2007, 3:35pm, kens wrote:
How to draw a DFA that does not accept aabb?
 
Should we define a dead state on reaching the 2nd b of aabb?
A reject state, yes. But if any other input follows we must accept. (aabba would be fine)
IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board