l5

Post on 07-Apr-2016

1 views 0 download

description

8 queens problem's solution

Transcript of l5

1

Problem Characteristics

1. Is the problem decomposable?2. Can solution steps be ignored or undone?3. Is the universe predictable?4. Is a good solution absolute or relative?5. Is the solution a state or a path?6. What is the role of knowledge?7. Does the task require interaction with a

person?

2

Production system characteristics

Monotonic: execution of a rule never prevents the execution of other applicable rules

Non-monotonic: without this propertyPartially commutative: if application of a

particular sequence of rules transforms state x into state y, then any permutation of those rules that are allowable, transforms x into y

Commutative: monotonic + partially commutative

3

Problems and production system

monotonic Non-monotonic

Partially

commutative

Theorem

proving

Robot

navigation

Non-partially

commutative

Chemical

synthesis

backgammon

4

Problems and production system

monotonic Non-monotonic

Partially

commutativeIgnorable Recoverable

Non-partially

commutativeIrrecoverable

Irrecoverable

Unpredictable

5

Sample problems - 8-puzzle

6

Sample problems - 8-puzzle

7

Sample problems - 8 queens

8

Sample problems - 8 queens

9

Sample problems - 8 queens

10

Sample problems - Cryptarithmetic

11

Sample problems - Cryptarithmetic