Arc Consistency in Constraint Satisfaction Problems

arc consistency of an entire csp n.w
1 / 17
Embed
Share

Dive into the concept of arc consistency in constraint satisfaction problems. Learn how propagation ensures consistency in all arcs within the CSP, and the importance of managing queues for effective problem-solving. Explore examples and illustrations to grasp the concept better.

  • Arc Consistency
  • CSP
  • Constraint Problems
  • Propagation
  • Queue Management

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: SA->WA NT->WA NT Q WA SA NSW V Remember: Delete from the tail!

  2. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: NT->WA WA->SA NT->SA Q->SA NSW->SA V->SA NT Q WA SA NSW V Remember: Delete from the tail!

  3. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: WA->SA NT->SA Q->SA NSW->SA V->SA WA->NT SA->NT Q->NT NT Q WA SA NSW V Remember: Delete from the tail!

  4. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: WA->SA NT->SA Q->SA NSW->SA V->SA WA->NT SA->NT Q->NT NT Q WA SA NSW V Remember: Delete from the tail!

  5. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: NT->SA Q->SA NSW->SA V->SA WA->NT SA->NT Q->NT NT Q WA SA NSW V Remember: Delete from the tail!

  6. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: Q->SA NSW->SA V->SA WA->NT SA->NT Q->NT NT Q WA SA NSW V Remember: Delete from the tail!

  7. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: NSW->SA V->SA WA->NT SA->NT Q->NT NT Q WA SA NSW V Remember: Delete from the tail!

  8. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: NT NT Q Q WA WA SA SA NSW NSW V V Remember: Delete from the tail!

  9. POLL: What gets added to the Queue? A simple form of propagation makes sure all arcs are consistent: Queue: A: NSW->Q, SA->Q, NT->Q B: Q->NSW, Q->SA, Q->NT NT NT Q Q WA WA SA SA NSW NSW V V

  10. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: NT->Q SA->Q NSW->Q NT NT Q Q WA WA SA SA NSW NSW V V Remember: Delete from the tail!

  11. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: SA->Q NSW->Q WA->NT SA->NT Q->NT NT NT Q Q WA WA SA SA NSW NSW V V Remember: Delete from the tail!

  12. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: NSW->Q WA->NT SA->NT Q->NT WA->SA NT->SA Q->SA NSW->SA V->SA NT NT Q Q WA WA SA SA NSW NSW V V Remember: Delete from the tail!

  13. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: WA->NT SA->NT Q->NT WA->SA NT->SA Q->SA NSW->SA V->SA V->NSW Q->NSW SA->NSW NT NT Q Q WA WA SA SA NSW NSW V V Remember: Delete from the tail!

  14. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: WA->NT SA->NT Q->NT WA->SA NT->SA Q->SA NSW->SA V->SA V->NSW Q->NSW SA->NSW NT NT Q Q WA WA SA SA NSW NSW V V Remember: Delete from the tail!

  15. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: SA->NT Q->NT WA->SA NT->SA Q->SA NSW->SA V->SA V->NSW Q->NSW SA->NSW NT NT Q Q WA WA SA SA NSW NSW V V Remember: Delete from the tail!

  16. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: SA->NT Q->NT WA->SA NT->SA Q->SA NSW->SA V->SA V->NSW Q->NSW SA->NSW NT NT Q Q WA WA SA SA NSW NSW V V !!! Remember: Delete from the tail!

  17. Arc Consistency of an Entire CSP A simple form of propagation makes sure all arcs are consistent: Queue: SA->NT Q->NT WA->SA NT->SA Q->SA NSW->SA V->SA V->NSW Q->NSW SA->NSW NT NT Q Q WA WA SA SA NSW NSW V V Backtrack on the assignment of Q Arc consistency detects failure earlier than forward checking Can be run as a preprocessor or after each assignment What s the downside of enforcing arc consistency? Remember: Delete from the tail!

More Related Content