Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given a CNF formula phi over n variables with m clauses where each clause contains exactly k literals We need to give an assignment alpha:

image text in transcribed

Given a CNF formula phi over n variables with m clauses where each clause contains exactly k literals We need to give an assignment alpha: {x_1,..., x_n} rightarrow {0,1} that satisfies at least 2^k - 1/2^k clauses. The algorithm that we use to find solution is a familiar version of random assignment: Repeat the following 2^k m In n-times: Assign to each variable x_1,..., x_n values 0 or 1 with equal probability Substitute the assigned values for variables into 4> (i.e. simplify 0 on a given assignment) Compute the number of satisfied clauses (i.e. m - t, where t is the number of remaining after simplification clauses, including the empty ones). If computed number of satisfied clauses is over clauses then return the assignment and stop Return " Failure" Show that this algorithm finds an assignment that satisfies at least 2^k - 1/2^k m clauses with probability at least. Given a CNF formula phi over n variables with m clauses where each clause contains exactly k literals We need to give an assignment alpha: {x_1,..., x_n} rightarrow {0,1} that satisfies at least 2^k - 1/2^k clauses. The algorithm that we use to find solution is a familiar version of random assignment: Repeat the following 2^k m In n-times: Assign to each variable x_1,..., x_n values 0 or 1 with equal probability Substitute the assigned values for variables into 4> (i.e. simplify 0 on a given assignment) Compute the number of satisfied clauses (i.e. m - t, where t is the number of remaining after simplification clauses, including the empty ones). If computed number of satisfied clauses is over clauses then return the assignment and stop Return " Failure" Show that this algorithm finds an assignment that satisfies at least 2^k - 1/2^k m clauses with probability at least

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_2

Step: 3

blur-text-image_3

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

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions

Question

Why do companies offer a cash discount?

Answered: 1 week ago

Question

Explain in detail how the Mughal Empire was established in India

Answered: 1 week ago

Question

Problem: Evaluate the integral: I - -[ze dx

Answered: 1 week ago

Question

Problem: Evaluate the integral: I = 1- 1 dx 9

Answered: 1 week ago

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago