Presentation is loading. Please wait.

Presentation is loading. Please wait.

Arc Consistency – AC-1 PROCEDURE AC-1(Z, D, C) BEGIN

Similar presentations


Presentation on theme: "Arc Consistency – AC-1 PROCEDURE AC-1(Z, D, C) BEGIN"— Presentation transcript:

1 Arc Consistency – AC-1 PROCEDURE AC-1(Z, D, C) BEGIN
Achieve node consistency Construct the constraint list Q REPEAT Changed  False; FOR each item in Q Changed  (Revise(xy, (Z,D,C)) OR Changed) UNTIL NOT Changed Return (Z, D, C) END // D may be reduced // constraints in the problem // Revise deletes all values from Dx if they are not compatible with Dy; D may be reduced (arc consistency on {x,y}) // D: domains, C: constraints - Foundations of CS, Tsang, 2003 Correction: in the original lecture slide, the item “OR Changed” (highlighted in red color) was missing in the FOR loop. G52AIP – AI Programming


Download ppt "Arc Consistency – AC-1 PROCEDURE AC-1(Z, D, C) BEGIN"

Similar presentations


Ads by Google