Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Remarks: In all algorithm, always prove why they work. ALWAYS, analyze the com- plexity of your algorithms. In all algorithms, always try to get the

image text in transcribed

Remarks: In all algorithm, always prove why they work. ALWAYS, analyze the com- plexity of your algorithms. In all algorithms, always try to get the fastest possible. In all data structures, try to minimize as much as possible the running time of any operation. . Question 1: Let vi, v2... , Vn be an ordering of the vertices of an undirected graph G(V, E) on a line. Let Na(v) be the neighbors of v that appear after v in the line. The ordering is called a perfect elimination sequence if for every v, Na(v) is a clique (a clique is a graph such that an two vertices are neighbors) 1. Consider the following algorithm: While there are still vertices in the line, take the first (non deleted) vertex u in the line. Define a set uUNa(u) and remove this set and any edge touching a vertex from this set, from the graph. Then iterate. Show that the above algorithm decomposes the graph into a collection of cliques (namely every set un Na(u) is a clique) 2. Say that the above algorithm gives q cliques. Show that the maximum indepen- dent set in the graph has size at least q 3. Show that the maximum in dependent set is also of size at most q. 4. Show that that the algorithm find a maximum independent set in the graph. Remarks: In all algorithm, always prove why they work. ALWAYS, analyze the com- plexity of your algorithms. In all algorithms, always try to get the fastest possible. In all data structures, try to minimize as much as possible the running time of any operation. . Question 1: Let vi, v2... , Vn be an ordering of the vertices of an undirected graph G(V, E) on a line. Let Na(v) be the neighbors of v that appear after v in the line. The ordering is called a perfect elimination sequence if for every v, Na(v) is a clique (a clique is a graph such that an two vertices are neighbors) 1. Consider the following algorithm: While there are still vertices in the line, take the first (non deleted) vertex u in the line. Define a set uUNa(u) and remove this set and any edge touching a vertex from this set, from the graph. Then iterate. Show that the above algorithm decomposes the graph into a collection of cliques (namely every set un Na(u) is a clique) 2. Say that the above algorithm gives q cliques. Show that the maximum indepen- dent set in the graph has size at least q 3. Show that the maximum in dependent set is also of size at most q. 4. Show that that the algorithm find a maximum independent set in the graph

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Databases Theory And Applications 27th Australasian Database Conference Adc 20 Sydney Nsw September 28 29 20 Proceedings Lncs 9877

Authors: Muhammad Aamir Cheema ,Wenjie Zhang ,Lijun Chang

1st Edition

3319469215, 978-3319469218

More Books

Students also viewed these Databases questions

Question

b. Explain how you initially felt about the communication.

Answered: 1 week ago

Question

3. Identify the methods used within each of the three approaches.

Answered: 1 week ago

Question

a. When did your ancestors come to the United States?

Answered: 1 week ago