Consider the following 7 clauses . GAV B) . (AVC) . BVC) . (BVA) . CVA) (a) Fill
ID: 3700509 • Letter: C
Question
Consider the following 7 clauses . GAV B) . (AVC) . BVC) . (BVA) . CVA) (a) Fill out the truth table and see if you have an assignment of variables that satisfies ALL 7 clauses. (b) The GSAT algorithm for finding a model to satisfy a set of clauses uses hill-climbing search. It starts by choosing a random assignment of truth values to all the variables. At each iteration, one variable assignment is made which increases the number of sat- isfied clauses, i.e., the number of clauses which are true. The algorithm stops when no assignment increases the number of satisfied clauses. Use GSAT to find a global maxi- mum, i.e., an assignment that satisfies all clauses. Use the following initial assignment: As T(rue), B = False), and C = F.Explanation / Answer
The truth table is given below.
Please note that the symbol ~ before a variable means NEGATION. And the symbol v means OR
e.g. ~A v B = A' + B
According to OR rule if any of the variables in the expression is True then resultant is True and a negation inverts the value from True to False and from False to True.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.