Show polynomial-time algorithm for gdp

Assignment Help Theory of Computation
Reference no: EM1388584

Let the following "gold-digger problem" (GDP). You are given the map of territory consisting of set of towns connected by trails. Each trail (u, v) connecting towns u and v is labeled with dollar value w(u, v), which is value of gold you will find along that trail. You can traverse trail as frequently as you want, but you only get value of trail the first time you traverse it; subsequent traversals have no value. Each town v has lodging cost c(v), which you pay each time you enter the town.

Expedition is cyclic path which starts and ends at given town. Expedition has profit k if total value of gold found, minus cost of all the town visits, is k. Goal is to find expedition of maximum profit. Either show that there exists polynomial-time algorithm for GDP, or show that corresponding decision problem is NP-complete. If you want to illustrate that problem is hard, you may decrease from any of: SAT, 3-CNF-SAT, CLIQUE, VERTEX-COVER, SUBSET-SUM, PARTITION, HAM-CYCLE, TSP.

Reference no: EM1388584

Questions Cloud

Recognize input data required for each of processes : Recognize input data required for each of processes. Recognize logical name for each data output item and kind of data output (real number, integer, text).
Calculate the interest in canada : Explain and illustrate the economy's adjustement with devaluation and find the real wage rate implied by the price-setting equation
How ecosystem affected by a decline in fungi species : Throughout much of Europe, there has been a severe decline in mushroom population. On study plots in Holland, data collected since 1912 indicate that the number of mushroom species has dropped from 37 to twelve per plot in recent years.
Define the mass of the necklace : A 40-g bullet leaves the muzzle of a gun at a speed of 300 m/s. If the barrel of the gun is 12 cm long, what is the force acting on the bullet while it is in the barrel.
Show polynomial-time algorithm for gdp : Goal is to find expedition of maximum profit. Either show that there exists polynomial-time algorithm for GDP, or show that corresponding decision problem is NP-complete.
Evolution of vascular plants : Discuss how evolution of vascular plants has provided opportunities for fungal diversification?
Why does the car mass not matter : It was a rainy day and the coefficient of friction was estimated to be 0.42. Use these data to determine the speed of the car while the driver slammed on (and locked) the brakes.
Estimate the highest emf induced in the coil : Presume the needle moves 7.5 mm from its highest to its lowest position and it makes 26 stitches in 9.1 s. What is the highest needle speed.
Identify the main biological organic compounds : Identify the main biological organic compounds and identify and explain three functions of lipids and why lipids do not mix with water.

Reviews

Write a Review

Theory of Computation Questions & Answers

  Finite-state machine design

Create a finite-state machine design to turn your FPGA development board into a simple programmable music box.

  Redundant sequence identi cation

Redundant sequence identi cation

  Compute a shortest superstring

Dynamic programming algorithm to compute a shortest superstring.

  Propositional and predicate logic

Write down a structural induction principle for the PlayTree free type

  Design a syntactic analyzer

Design a syntactic analyzer for the language specified by the grammar

  Design unambiguous grammar to parse expressions

Write a program would read two numbers and then print all numbers between the first and the second, inclusive. Design unambiguous grammar to parse expressions

  Consider a logic function with three outputs

Consider a logic function with three outputs,  A ,  B , and  C , and three inputs,  D ,  E , and  F . The function is defined as follows:  A  is true if at least one input is true,  B  is true

  Considering a single programmed operating system

Considering a single programmed operating system, what is the minimal total time required to complete executions of the two processes? You should explain your answer with a diagram.

  How to construct an nfa

Give a construction that assumes you are given a DFA for L and show how to construct an NFA (with or without ε-moves) to recognize sort(L).

  Equivalence classes to construct minimal dfa for language

How many equivalence classes does this relation have and what are they? Use these equivalence classes to construct the minimal DFA for the language.

  Impact of moore-s law on data center costs

Discuss the impact of Moore's law on data center costs on such things as servers and communications equipment. List at least 3 steps or recommendations your data center can take to offset some or all of the effect of Moore's law.

  Problem encountered in statements in predicate logic

How the problem would be encountered in attempting to represent the following statements in Predicate logic. it should be possible to: John only likes to see French movies.

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