advanced consistency methods chapter 8
play

Advanced consistency methods Chapter 8 ICS-275 Winter 2016 - PowerPoint PPT Presentation

Advanced consistency methods Chapter 8 ICS-275 Winter 2016 Winter 2016 ICS 275 - Constraint Networks 1 Relational consistency ( Chapter 8 ) Relational arc-consistency Relational path-consistency Relational m-consistency


  1. Advanced consistency methods Chapter 8 ICS-275 Winter 2016 Winter 2016 ICS 275 - Constraint Networks 1

  2. Relational consistency ( Chapter 8 )  Relational arc-consistency  Relational path-consistency  Relational m-consistency  Relational consistency for Boolean and linear constraints: • Unit-resolution is relational-arc-consistency • Pair-wise resolution is relational path- consistency Winter 2016 2 ICS 275 - Constraint Networks

  3. Example  Winter 2016 3 ICS 275 - Constraint Networks

  4. Relational arc-consistency  ρ − ⊆ π ⊗ ( ) S x R D − S x S x Winter 2016 4 ICS 275 - Constraint Networks

  5. Enforcing relational arc-consistency  If arc-consistency is not satisfied add: ← ∩ π ⊗ R R R D − − − S x S x S x S S Winter 2016 5 ICS 275 - Constraint Networks

  6. Example  R_{xyz} = {(a,a,a),(a,b,c),(b,b,c)}.  This relation is not relational arc-consistent, but if we add the projection: R_{xy}= {(a,a),(a,b),(b,b)}, then R_{xyz} will be relational arc-consistent relative to {z}.  To make this network relational-arc-consistent, we would have to add all the projections of R_{xyz} with respect to all subsets of its variables. Winter 2016 6 ICS 275 - Constraint Networks

  7. Relational path-cosistency  ρ ⊆ π ⊗ ⊗ ( ) A R R D A S T x = ∪ − A S T x Winter 2016 7 ICS 275 - Constraint Networks

  8. Example:  We can assign to x, y, l and t values that are consistent relative to the relational-arc-consistent network generated in earlier. For example, the assignment  (x=2, y= -5, t=3, l=15) is consistent, since only domain restrictions are applicable, but no value of z that satisfies x+y = z and z+t = l .  To make the two constraints relational path- consistent relative to z add : x+y+t = l . Winter 2016 8 ICS 275 - Constraint Networks

  9. Enforcing relational arc, path and m- consistency  If arc-consistency is not satisfied add: ← ∩ π ⊗ R R R D − − − S x S x S x S S r.a.c ρ ⊆ π ⊗ ⊗ ( ) A R R D A S T x r.p.c = ∪ − A S T x ρ ⊆ π ⊗ ⊗ ( ) A R D = 1 , A i m S x i r.m.c = ∪ − ... A S S x 1 m Winter 2016 10 ICS 275 - Constraint Networks

  10. Extended composition  = π ⊗ ⊗ ⊗ ( ..., ) ( ,..., ) EC R R R R R 1 , 1 2 A m A m ← ∩ π ⊗ ( ) D D R D x x x S S ← ∩ π ⊗ ( ) R R R D − − − S x S x S x S S Winter 2016 12 ICS 275 - Constraint Networks

  11. Example: crossw ord puzzle, DRC_2 Winter 2016 16 ICS 275 - Constraint Networks

  12. Example: crossw ord puzzle, Directional-relational-2 Winter 2016 17 ICS 275 - Constraint Networks

  13. Complexity  Theorem: DRC_2 is exponential in the induced-width.  (because sizes of the recorded relations are exp in w).  Crossword puzzles can be made directional backtrack-free by DRC_2 Winter 2016 18 ICS 275 - Constraint Networks

  14. Domain tightness  Theorem: a strong relational 2-consistent constraint network over bi-valued domains is globally consistent.  Theorem : A strong relational k-consistent constraint network with at most k values is globally consistent. Winter 2016 20 ICS 275 - Constraint Networks

  15. Inference for Boolean theories  Winter 2016 22 ICS 275 - Constraint Networks

  16. Directional resolution Winter 2016 23 ICS 275 - Constraint Networks

  17. DR resolution = adaptive-consistency=directional relational path-consistency bucket i = * | | (exp( )) O w * DR time and space : ( exp( )) O n w Winter 2016 25 ICS 275 - Constraint Networks

  18. Directional Resolution  Adaptive Consistency Winter 2016 26 ICS 275 - Constraint Networks

  19. Winter 2016 27 ICS 275 - Constraint Networks

  20. Row convexity  Functional constraints : A binary relation R_{ij} expressed as a (0,1)-matrix is functional iff there is at most a single "1" in each row and in each column.  Monotone constraints : Given ordered domain, a binary relation R_{ij} is monotone if (a,b) in R_{ij} and if c >= a, then (c,b) in R_{ij}, and if (a,b) in R_{ij} and c <= b, then (a,c) in R_{ij}.  Row convex constraints : A binary relation R_{ij} represented as a (0,1)-matrix is row convex if in each row (column) all of the ones are consecutive} Winter 2016 30 ICS 275 - Constraint Networks

  21. Example of row convexity Winter 2016 31 ICS 275 - Constraint Networks

  22. Theorem:  Let R be a path-consistent binary constraint network. If there is an ordering of the domains D_1, …, D_n of R such that the relations of all constraints are row convex, the network is globally consistent and is therefore minimal. Winter 2016 33 ICS 275 - Constraint Networks

  23. Linear inequalities  Winter 2016 38 ICS 275 - Constraint Networks

  24. Linear inequalities  Gausian elimination with domain constraint is relational-arc-consistency  Gausian elimination of 2 inequalities is relational path-consistency  Theorem : directional relational path-consistency is complete for CNFs and for linear inequalities Winter 2016 39 ICS 275 - Constraint Networks

  25. Linear inequalities: Fourier elimination Winter 2016 40 ICS 275 - Constraint Networks

  26. Directional linear elimination, DLE : generates a backtrack-free representation Winter 2016 41 ICS 275 - Constraint Networks

  27. Example Winter 2016 42 ICS 275 - Constraint Networks

Recommend


More recommend