1 / 10

Constraint Satisfaction Problems/Programming ZUI 2012/2013

Constraint Satisfaction Problems/Programming ZUI 2012/2013. Consistency checking in CSP. until now – passive checking whether the constraints are satisfied Where? When? Remember the scheme of the algorithm?. Consistency checking in CSP.

gaetan
Download Presentation

Constraint Satisfaction Problems/Programming ZUI 2012/2013

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Constraint Satisfaction Problems/Programming ZUI 2012/2013

  2. Consistency checking in CSP • until now – passive checking whether the constraints are satisfied • Where? When? Remember the scheme of the algorithm?

  3. Consistency checking in CSP • until now – passive checking whether the constraints are satisfied • Where? When? Remember the scheme of the algorithm?

  4. Binary CSP • unified structure of CSP instances • all constraints are binary • can we formalize all CSP problems with binary variables? • constraints can be represented as a graph • nodes – variables • edges – constraints between variables

  5. Consistency • nodes • edges / arcs

  6. Consistency • nodes • unary constraints are reflected in the domain of the variable • every value in the domain satisfies all unary constraints • edges / arcs • directed vi → vj • for every x from vi domain there exists a value y from vjdomain that satisfies all constraints between vi and vj

  7. Arc Consistency • make each edge in the graph of constraints consistent • do we have some guarantees? • What algorithm can we use? • AC-1 • AC-2 • AC-3 • …

  8. Example • scheduling requests to hotel rooms • list of requests (# of people, from, to) • set of rooms (# of beds) • heuristics? • MRV, LCV, …

  9. Example (2) • crosswords, sudoku, … • representation? • heuristics?

  10. Homework assignment 2

More Related