Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(computability and complexity): Prove well: if there exists an algorithm that can decide language ACYCLIC in polynomial time, then there's an algorithm that returns a

(computability and complexity): Prove well: if there exists an algorithm that can decide language ACYCLIC in polynomial time, then there's an algorithm that returns a set of k edges, so that the graph that is obtained from deleting those k edges is without circles, in polynomial time. This algorithm gets as an input a directed graph G and a natural k; if there's no set of k edges as required, it returns "no", else, if there are k edges as needed, the algorithm returns a list of the k edges, so that the graph that is obtained from erasing those k edges is without any circles. Important: it is allowed to use the algorithm that decides the languages ACYCLIC - but it CANNOT use any other NP-COMPLETE algorithms. Its running time must be polynomial in regards to input size.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions