Question: Input: directed graph G = (V, E), a positive integer k PROB: is it possible to obtain a directed acyclic graph by removing at most

Input: directed graph G = (V, E), a positive integer k

PROB: is it possible to obtain a directed acyclic graph by removing at most k edges from E

Prove that PROB is np-complete.

Steps: reduction from vertex cover (VC)...

From the input (G=(V, E), k) for VC, construct a new directed graph G'=(V',E') with 2n vertices and n+2m edges.

V?={v1,,vn,v?1,,v?n} and E?={(vi,v?i) : i?n} ? {(v?i,vj), (v?j,vi) : (vi,vj) ? E}...

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!