KNOWLEDGEBASED DESIGN - PowerPoint PPT Presentation

1 / 44
About This Presentation
Title:

KNOWLEDGEBASED DESIGN

Description:

Objects (as things) Facts. Relationships between objects Knowledge. Key Centre of Design Computing and Cognition ... The attic is on top of the bedroom ... – PowerPoint PPT presentation

Number of Views:47
Avg rating:3.0/5.0
Slides: 45
Provided by: john436
Category:

less

Transcript and Presenter's Notes

Title: KNOWLEDGEBASED DESIGN


1
KNOWLEDGE-BASED DESIGN
  • Representation and Reasoning 2

2
REPRESENTING DESIGNS AND DESIGN KNOWLEDGE
  • designs
  • goals
  • knowledge
  • Objects (as things) Facts
  • Relationships between objects Knowledge

3
OBJECTS AS FACTS
  • ObjectAttributeValue OAV

4
ATTRIBUTES AS OBJECTS
5
CLASSES AND INSTANCES
  • My house is a kind of (ako) house
  • Yellow is a kind of (ako) colour
  • This representation allows for inheritance

6
OBJECTS AND RELATIONS
  • Comparative relations
  • Room 1 is smaller than Room 2
  • View A is better than View B
  • Structural relations
  • A wall is a part of (apo) a room
  • A room is a part of (apo) a house

7
  • Taxonomic relations
  • A chair belongs to furniture
  • A TV belongs to entertainment systems
  • Topological relations
  • The bathroom is next to the bedroom
  • The attic is on top of the bedroom

8
  • Commutative relations
  • Wall A is same length as Wall B
  • Wall B is same length as Wall A
  • Reciprocal relations
  • Room A is bigger than Room B
  • Room B is smaller than Room A

9
RULES
  • IF antecedant THEN consequent
  • IF (A) THEN (C)
  • IF (A and B) THEN (C)
  • IF (A or B) THEN (C)
  • IF (O-A-V) THEN (O-A-V)

10
  • IF (Roof Material IS tile) THEN (Roof IS
    waterproof)
  • IF (Roof Material IS tile) THEN (Roof slope IS
    greater than 15 degrees)
  • IF (Title CONTAINS http)THEN (OPEN URL)
  • IF (Rain) THEN (TAKE umbrella)

11
PRODUCTION SYSTEMS
12
PRODUCTION SYSTEMS RULE-BASED REASONING
  • IF antecedant THEN consequent
  • IF (A) THEN (C)
  • IF (A and B) THEN (C)
  • IF (A or B) THEN (C)
  • IF (O-A-V) THEN (O-A-V)

13
  • IF (Roof Material IS tile) THEN (Roof IS
    waterproof)
  • IF (Roof Material IS tile) THEN (Roof slope IS
    greater than 15 degrees)
  • IF (Title CONTAINS http)THEN (OPEN URL)
  • IF (Rain) THEN (TAKE umbrella)

14
Components of a Production System
Rules
Controller
Facts
15
REASONING WITH RULES
  • Replace algebraic operations with CHAINING
  • goal-driven
  • data-driven
  • IF (A) THEN (B)
  • IF (B) THEN (C)
  • IF (B) THEN (D)
  • IF (D) THEN (E)
  • IF (D) THEN (F)

16
  • Given E is desired can it be achieved?
  • Set E as goal and search rules for any rule that
    produces it
  • IF (D) THEN (E)
  • Reset goal to D and search rules for any rule
    that produces it
  • IF (B) THEN (D)
  • Reset goals to B and search rules for any rule
    that produces it
  • IF (A) THEN (B)
  • Is A known? If yes, then E can be produced.

17
Breadth-First Search
Data-driven
Goal-driven
18
Depth-First Search
Data-driven
Goal-driven
19
(No Transcript)
20
Designs
Rules
21
SEMANTIC NETS AND FRAMES
  • Semantic nets
  • Adds semantic labels to arcs of a graph
  • Can construct your own semantics
  • Reasoning through implementations of the
    semantics
  • Frames
  • Isomorphic with semantic nets
  • Different representation

22
A semantic network for describing classes
and instances of a house
building
ako
gt1
house
living in
use
floors
ako
1
floors
single-storydwelling
is a
roof colour
walls
my house
red
brick
23
A class frame for a house
24
A hierarchy of structural beam types
beam
ako
ako
staticallydeterminatebeam
staticallyindeterminatebeam
ako
ako
cantileverbeam
continuous beam
ako
ako
simplysupportedbeam
fixed-endbeam
25
(No Transcript)
26
(No Transcript)
27
(No Transcript)
28
(No Transcript)
29
(No Transcript)
30
(No Transcript)
31
Relationships for which there is a communicating
medium
32
PREDICATE LOGIC AS REPRESENTATION
  • Predicate label (arguments)
  • either statement of fact
  • or converts a goal into subgoals
    which can eventually be
    mapped on to facts and the
    truth of subgoals deduced and
    hence the truth of goal can be
  • deduced

33
COMPUTING SISTER
  • In English
  • A sister is a female who shares the same parents
    as another person
  • More precisely
  • A female is a sister of another person if they
    both have the same parents
  • Symbolically
  • X is a sister if X is female and has same parents
    as Y.

34
  • sister (X,Y) if X is female and X has parents M
    and D and Y has parents M and D
  • sister (X,Y) - female (X),
  • parents (X, M, D,)
  • parents (Y, M, D),
  • X ? Y

35
(No Transcript)
36
Design Using Predicate Logic as a Search Mechanism
  • Write a program for designing an architectural
    unit obeying the following specifications
  • Two rectangular rooms
  • Each room has a window and interior door
  • Rooms are connected by interior door
  • One room also has an exterior door
  • No window can face north
  • Windows cannot be on opposite sides of the unit

37
  • direction(north).direction(south).direction(e
    ast).direction(west).opposite(north,south).opp
    osite(south,north).opposite(east,west).opposite(
    west,east).notopposite(D1,D2)-
    opposite(D1,D3), D2\D3.

38
  • room(D,W)- direction(D), direction(W),
    D\W, W\north.

39
  • Logic program
  • plan(FD,D1,W1,D2,W2)- frontroom(FD,D1,W1),
  • opposite(D1,D2),
  • room(D2,W2),
  • notopposite(W1,W2).frontroom(FD,D,W)- roo
    m(D,W),
  • direction(FD),
  • FD\W, W\north.

40
  • Planning a unit entered from the west
  • ? plan (west, D1, W1, D2, W2)
  • D1 west, W1 south, D2
    east, W2 south

41
FD given
D2
D1
W1
W2
42
  • Checking whether a design meets therequirements
  • ? plan(west, north, south, north, south)
  • fails

43
Check whether a design meets therequirements ?
plan(north, north, west, south, west) yes
44
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com