Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

[15 pts] Consider the Generalized Arc Consistency algorithm from the slides, and Chapte 4 of the Poole & Mackworth book. Determine the worst-case asymptotic running

image text in transcribed

[15 pts] Consider the Generalized Arc Consistency algorithm from the slides, and Chapte 4 of the Poole & Mackworth book. Determine the worst-case asymptotic running time of this algorithm as a function of the number of variables Vl, the number of constraints ICl, and (if necessary) the size ID of the domains. I recommend you answer on a separate page 1: Procedure GAC(VdomC) 2: Inputs 3: V: a set of varables dom: a function such that domtx) is the domain of variable X C: set of constraints to be satisfied 5: 6: 7: 8: 9: 10 Output arc-consistent domains for each variable Local Dx is a set of values for each variableX TDA is a set of arcs for each variable Xdo 12: Dx -dom(x) while (TDA 0) 15: 16 17 18- 19 20: 21 select o) ETDA NDy (xl x eDx and some pex.Y,-y,, if (NDtDJ then M-wec where y, eRmfor all 0 TDA TDA UR.cyx escope(C), c' is not c. ZEscoe(c') \ p } return (D X is a variable) [15 pts] Consider the Generalized Arc Consistency algorithm from the slides, and Chapte 4 of the Poole & Mackworth book. Determine the worst-case asymptotic running time of this algorithm as a function of the number of variables Vl, the number of constraints ICl, and (if necessary) the size ID of the domains. I recommend you answer on a separate page 1: Procedure GAC(VdomC) 2: Inputs 3: V: a set of varables dom: a function such that domtx) is the domain of variable X C: set of constraints to be satisfied 5: 6: 7: 8: 9: 10 Output arc-consistent domains for each variable Local Dx is a set of values for each variableX TDA is a set of arcs for each variable Xdo 12: Dx -dom(x) while (TDA 0) 15: 16 17 18- 19 20: 21 select o) ETDA NDy (xl x eDx and some pex.Y,-y,, if (NDtDJ then M-wec where y, eRmfor all 0 TDA TDA UR.cyx escope(C), c' is not c. ZEscoe(c') \ p } return (D X is a variable)

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

Advances In Databases And Information Systems 25th European Conference Adbis 2021 Tartu Estonia August 24 26 2021 Proceedings Lncs 12843

Authors: Ladjel Bellatreche ,Marlon Dumas ,Panagiotis Karras ,Raimundas Matulevicius

1st Edition

3030824713, 978-3030824716

More Books

Students also viewed these Databases questions

Question

e. What are notable achievements of the group?

Answered: 1 week ago