Find Jobs
Hire Freelancers

NFA to DFA

$30-250 USD

Ακυρώθηκε
Αναρτήθηκε περίπου 6 χρόνια πριν

$30-250 USD

Πληρωμή κατά την παράδοση
Write a Java program to convert any given NFA to an equivalent DFA. NFA files is shown in the following example: 3 a b c d 0: {0} {0,1} {} {} {1,2,0} 1: {} {1} {1} {1} {1} 2: {} {1,2} {1} {1} {2} 0 {1,2} • The first line contains the number of states of the NFA; in this case, there are 3 states. • The second line contains Σ = {a, b, c, d}. • After that, each line is a state and its transition. The number to the left of the colon is the label of the state. After the colon, each set is the set of next states on the input alphabet corresponding to the alphabets in Σ in the same order as shown in the second line plus the λ-transition at the end of the same line. For example, the transitions of the NFA shown above from state 0 are: δ(0, a) = {0}, δ(0, b) = {0, 1}, δ(0, c) = {}, δ(0, d) = {}, and δ(0, λ) = {0, 1, 2}. Note that, the last column is referred to λ-transition, and coming back to self is always implied; therefore, 0 is included in δ(0, λ) = {0, 1, 2}, although 0 may not be shown in the last column of state 0. • After every state’s transitions are specified, there is a line to indicate the starting state. In this case, 0 is the starting state. • The last line contains the set of final states. In this case, {1, 2} I will compile and run the program from the Unix command line as follows: javac [login to view URL] java NFA nfa2 [login to view URL] the program should print out the following text: (1) The original NFA (2) An equivalent DFA (no need to minimized) (3) The list of strings in [login to view URL] that are accepted by the NFA (don’t list those that are rejected). Here is the example output: Sigma:a b ------ 0: (a,{1}) (b,{4}) ( ,{2}) 1: (a,{5}) (b,{2}) ( ,{}) 2: (a,{5}) (b,{}) ( ,{}) 3: (a,{}) (b,{}) ( ,{0}) 4: (a,{}) (b,{1}) ( ,{3}) 5: (a,{}) (b,{}) ( ,{4}) ------ 0: Initial State 5: Accepting State(s) To DFA: Sigma: a b ------------------ 0: 1 2 1: 1 3 2: 1 3 3: 1 3 ------------------ 0: Initial State 1: Accepting State(s) The following strings are accepted: aabaa aaaaa
Ταυτότητα εργασίας: 16626139

Σχετικά με την εργασία

17 προτάσεις
Απομακρυσμένη Εργασία
Ενεργός/ή 6 χρόνια πριν

Ψάχνεις τρόπο για να κερδίσεις μερικά χρήματα;

Πλεονεκτήματα πλειοδοσίας στο Freelancer

Καθόρισε τον προϋπολογισμό σου και το χρονοδιάγραμμα
Πληρώσου για τη δουλειά σου
Περίγραψε την πρόταση σου
Η εγγραφή και η πλειοδοσία σε εργασίες είναι δωρεάν
Βραβεύτηκε στον/στην:
Avatar Χρήστη
Hi, I am a java developer having good experience, I understood your requirements. I can do it in java. Please message me such can we can discuss in details. Regards, Pradeep
$55 USD σε 3 ημέρες
4,9 (30 αξιολογήσεις)
4,8
4,8
17 freelancers δίνουν μια μέση προσφορά $118 USD για αυτή τη δουλειά
Avatar Χρήστη
Hi! I'm interesting your project very well. I am good at Java and I'm a good Mathematician. And also I have many experience and good skill about algorithm development. Let's go ahead with me
$100 USD σε 3 ημέρες
5,0 (264 αξιολογήσεις)
7,7
7,7
Avatar Χρήστη
Hello Sir/ Ma’am We are a group of Software Engineers having 10+ years of experience. Expert in java, C, C++ , C# , Android. Please check our profile for reference. Thank you
$155 USD σε 3 ημέρες
4,9 (344 αξιολογήσεις)
7,5
7,5
Avatar Χρήστη
Hi, I am a software developer with 7+ years of experience especially in Java, C# and PHP. I have worked for different multi national companies like Infosys Technolgies & TCS and also for a startup organization. I am proposing a lower budget as I am new to Freelancer and for me, a good long term relationship with you by delivering you a high quality work is more important than the budget. If you will be happy with my work then I have no issues to receive bonus from you :) I am quite able to handle and complete projects both as an Individual and in a team. Please provide me a chance to work for you and I am sure you will like my work and we will remain in touch for a long time. Some of my previous works include: 1. Create a media player using Java swing. 2. Created Pension Payment website for Churches using PHP Laravel. 3. Created a rule based engine for configuration problems. 4. Worked on a network monitoring application development. 5. Worked on a SQL server monitoring application development. 6. Worked on projects for banks like Royal Bank of Scotland and Deutsche Bank. 7. Worked on quoting tool for a reputed networking company. As a developer & freelancer, my core values are - Customer Satisfaction and - Problem Solving Thanks & Regards, Vishal Sahu +91-7042218498 Programming is passion
$111 USD σε 3 ημέρες
5,0 (31 αξιολογήσεις)
4,7
4,7
Avatar Χρήστη
I studied some automat algorithms in Compiler and Programming language theory course in the last semester
$111 USD σε 5 ημέρες
4,7 (6 αξιολογήσεις)
3,1
3,1
Avatar Χρήστη
Hello Sir. I've 5+ years experience in Java and C++ Programming. I'll provide 100% quality work within the deadline at a very low rate. I'm a Computer Science Engineer. You're welcome to visit my profile and view my reviews. Let's message more through chat.
$30 USD σε 3 ημέρες
5,0 (5 αξιολογήσεις)
2,7
2,7
Avatar Χρήστη
hey .. I have been devopling in java for years I can do your algorithm .. pls let me know if u wanna hire me thnx :)
$150 USD σε 3 ημέρες
5,0 (4 αξιολογήσεις)
2,5
2,5
Avatar Χρήστη
Hey How are you? I am well versed with these topics and can help you perfectly. Reply me back asap and get it done right away Thanks
$66 USD σε 1 ημέρα
4,3 (4 αξιολογήσεις)
2,2
2,2
Avatar Χρήστη
Hello, i have wide experience in java and i can implement this task in very short time . Also i have created a task similar to that before
$100 USD σε 1 ημέρα
4,8 (1 αξιολόγηση)
1,5
1,5
Avatar Χρήστη
Hello dear, I'm interesting your project, I have a good experience with Java, mathematics, finite state machines and compilers system.
$45 USD σε 3 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0
Avatar Χρήστη
Hi, I have good experience of Java and algorithms. I am interested in this project. Can we discuss further about this project. Thanks
$50 USD σε 3 ημέρες
0,0 (0 αξιολογήσεις)
0,0
0,0

Σχετικά με τον πελάτη

Σημαία της UNITED STATES
champaign, United States
5,0
3
Επαληθευμένη μέθοδος πληρωμής
Μέλος από Απρ 4, 2018

Επαλήθευση Πελάτη

Ευχαριστούμε! Σου έχουμε στείλει ένα email με ένα σύνδεσμο για να διεκδικήσεις τη δωρεάν πίστωση σου.
Κάτι πήγε στραβά κατά την προσπάθεια αποστολής του email σου. Παρακαλούμε δοκίμασε ξανά.
Εγγεγραμμένοι Χρήστες Συνολικές Αναρτημένες Δουλειές
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Φόρτωση προεπισκόπησης
Δόθηκε πρόσβαση για Geolocation.
Η σύνδεση σου έχει λήξει και τώρα έχεις αποσυνδεθεί. Παρακαλούμε συνδέσου ξανά.