Explain efficient algorithm for edge-labeled graph

Assignment Help Database Management System
Reference no: EM1368833

We can use dynamic programming on a directed graph G = (V, E) for speech recognition. Each edge (u, v)  E is labeled with a sound σ(u, v) from a finite set Σ of sounds. The labeled graph is a formal model of a person speaking a restricted language. Each path in the graph starting from a distinguished vertex v0  V corresponds to a possible sequence of sounds produced by the model. The label of a directed path is defined to be the concatenation of the labels of the edges on that path.

a. Describe an efficient algorithm that, given an edge-labeled graph G with distinguished vertex v0 and a sequence s = σ1, σ2, ..., σk of characters from Σ, returns a path in G that begins at v0 and has s as its label, if any such path exists. Otherwise, the algorithm should return NO-SUCH-PATH. Analyze the running time of your algorithm.

Now, suppose that every edge (u, v)  E has also been given an associated nonnegative probability p(u, v) of traversing the edge (u, v) from vertex u and thus producing the corresponding sound. The sum of the probabilities of the edges leaving any vertex equals 1. The probability of a path is defined to be the product of the probabilities of its edges. We can view the probability of a path beginning at v0 as the probability that a "random walk" beginning at v0 will follow the specified path, where the choice of which edge to take at a vertex u is made probabilistically according to the probabilities of the available edges leaving u.

b. Extend your answer to part (a) so that if a path is returned, it is a most probable path starting at v0 and having label s. Analyze the running time of your algorithm.

Reference no: EM1368833

Questions Cloud

Explain the carrier challenged reardon''s standing to sue : Explain The carrier challenged Reardon's standing (right) to sue claiming that the original contract said Reardon had no liability to pay for the merchandise until after it was received and sold by Reardon.
Discussion on merger consideration : With lower values for gasoline than a couple of years before will Americans start spending again? If they do, what will they spend the savings on Vacations?
What is sports car acceleration : A sports car moving at constant speed travels 90 m in 4.9s. If it then brakes and comes to a stop in 4s, what is its acceleration? Express the answer in terms of g's, where g = 9.80 m/s2. (Take the positive direction to be direction of travel.)
Show the components of an effective training program : Developing training, Needs Assessment and HR and what are the components of an effective training program?
Explain efficient algorithm for edge-labeled graph : Explain efficient algorithm that, provided edge-labeled graph G with distinguished vertex v0 and sequence s = σ1, σ2, ..., σk of characters from Σ, returns path in G which begins at v0.
Negotiation situation using different strategies : Describe a negotiation situation that employs different negotiation strategies and describe the negotiation processes
Make an aggregate demand and aggregate supply graph : The data given below shows the situation in 2010 and 2011 if Fed does not use the monetary policy,
What is the unit vector in the direction of block : A 0.6 kg block of ice is sliding by you on a very slippery floor at 3.5 m/s. As it goes by, you give it a kick perpendicular to its path. Your foot is in contact with ice block for 0.0035 seconds.
Explain how you would build rapport with your audience : Explain how you would build rapport with your audience in a business presentation and What motivational strategies have you used

Reviews

Write a Review

Database Management System Questions & Answers

  Explain role of a database administrator

Explain the role of a database administrator,the tasks performed by this role and why this role is important in Database Management.

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Sketch dfsa for identifiers-contain only letters and digits

Sketch a DFSA for identifiers which contain only letters and digits, where identifier should have at least one letter, but it need not be first character.

  What type of databases and database servers myspace use

What kind of databases and database servers does MySpace use? Why is database technology so important for a business such as MySpace?

  Various kinds of keys to form or define relationships

Relational database is based on fact that data in one table can be tied, or related to data in another table. To do this, database utilizes various types of keys to form or define these relationships.

  Explaining uses for views

Views are integral part of virtual private databases, yet views are utilized for many other reasons. Find out many other uses for views.

  Description of the relationship represented by scatterplot

Produce a scatterplot of Rent vs. Size (square meters of the apartment) for the rental data in rent.

  Write candidate keys and referential integrity constraints

Transform the tables into one or more tables in BCNF. Write the primary keys, candidate keys, and referential integrity constraints.

  Write problems and issues associated with internet databases

Over 70% of web applications use database to store persistent data. Write some of the problems and issues associated with internet databases?

  Design a set of 3nf tables for your database scenario

Draw an ER diagram for your database scenario. Design a set of 3NF tables for your database scenario.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Create structurally sound relational database schema

Create a structurally sound relational database schema showing the minimum number of fields, tables, and relationships between the tables.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd