Production Systems : Components of A Production System
Production Systems : Components of A Production System
Production Systems
Components of a production system
Working memory
Set
S t off production
d ti rules
l
Rule interpreter
A Production System
1. Working memory
3. Recognize
Recognize-Act
Act Cycle (Algorithm/Interpreter)
Artificial Intelligence
Production System
Production
Rule Base
Pattern Action
Working
Memory
State description
Rule 1 If Then
Fact 1
Fact m
Rule N If Then
Artificial Intelligence
Shape Rules
1. (IF (sides parallel)
THEN (family parallelogram))
2 (IF (sides skew)
2.
THEN (shape trapezoid))
3. (IF (sides curved)
THEN (family ellipsoid))
4 (IF (angles right)
4.
THEN (family rectangle))
5. (IF (family parallelogram)
(angles skew) (lengths equal)
THEN (shape rhombus))
Artificial Intelligence
Shape Contexts
1. (sides parallel)
(angles right)
(lengths equal)
2. (sides curved)
(lengths equal)
3. (angles right)
(sides parallel)
(lengths unequal)
4. (sides curved)
(color red)
(axes equal)
Artificial Intelligence