Validation and Verification Using Spatial Logic Framework for - - PowerPoint PPT Presentation

validation and verification using spatial logic framework
SMART_READER_LITE
LIVE PREVIEW

Validation and Verification Using Spatial Logic Framework for - - PowerPoint PPT Presentation

Validation and Verification Using Spatial Logic Framework for Building Layouts By Abhinav Fatehpuria Vineet Gupta 12/ 6/ 2005 ENPM 643 System Validation & Verification 1 Agenda Background Project Description Floor Plan


slide-1
SLIDE 1

12/ 6/ 2005 ENPM 643 – System Validation & Verification 1

Validation and Verification Using Spatial Logic Framework for Building Layouts

By Abhinav Fatehpuria Vineet Gupta

slide-2
SLIDE 2

12/ 6/ 2005 ENPM 643 – System Validation & Verification 2

Agenda

Background

Project Description Floor Plan Goals System Requirements System Structure

Spatial Logic

Overview Application to Building Layouts

Conclusion Software Used References

slide-3
SLIDE 3

12/ 6/ 2005 ENPM 643 – System Validation & Verification 3

Background

slide-4
SLIDE 4

12/ 6/ 2005 ENPM 643 – System Validation & Verification 4

Background – Project Description

Defined and categorized the design requirements of a building from an

architectural view point

Prepared the system structure (Class Diagram) at a higher level of

abstraction

Defined Validation Parameters To allow the architect to check potential building designs against the

specification

Quickly Easily In early phases of the design

slide-5
SLIDE 5

12/ 6/ 2005 ENPM 643 – System Validation & Verification 5

Background - Floor Plan

Vent

O f f ic e 3 8 4 0 s q . ft .

B e d r o o m L iv in g R o o m K itc h e n P a s s a g e W a y R e s tR o o m

F lo o r P la n

Window Window Window Window Joint

slide-6
SLIDE 6

12/ 6/ 2005 ENPM 643 – System Validation & Verification 6

Background – Goals – Cont’d

slide-7
SLIDE 7

12/ 6/ 2005 ENPM 643 – System Validation & Verification 7

Background–System Requirements

  • Architectural requirements of one bedroom apartment can be

broadly categorized as

  • Apartment Level:

1.

Area of the apartment should be at least 10000 sq units.

2.

The apartment should have 1 bedroom, 1 living room, 1 kitchen, 1 restroom and one passageway.

3.

The apartment should have easy access to exit in case of fire.

  • Room Level:

4.

Occupancy of the bedroom should be two.

5.

Bedroom should be adjacent to the restroom.

6.

Proximity strength between restroom and bedroom is 1.

7.

Bedroom should have air tight and sound proof doors.

8.

Orientation of the bedroom should be towards the west.

slide-8
SLIDE 8

12/ 6/ 2005 ENPM 643 – System Validation & Verification 8

Background–System Requirements

slide-9
SLIDE 9

12/ 6/ 2005 ENPM 643 – System Validation & Verification 9

Background–System Structure

The complete architectural viewpoint is divided in to three sub classes:

Spaces Dividers Portals

Relationship

  • between different rooms - (Association_Rooms)
  • between rooms and walls (Association_Rooms_Walls)
  • between walls and portals (Association_Walls_Portals)

The properties of these association classes

Proximity strength - address the proximity issue between different rooms Access Type – What type of access is available Access Vent – Is it for ventilation purpose Access Light – Is it allowing light to pass through i.e. is it transparent Access admit – Is it allowing people to enter or exit

slide-10
SLIDE 10

12/ 6/ 2005 ENPM 643 – System Validation & Verification 10

Background–System Structure

A rchitectu re 1 1

  • Length
  • B readth
  • S hape

S p aces 1 *

  • Length
  • B readth
  • H eight
  • O ccupancy
  • O rientation

R o o m s B ed ro o m R estro o m P assag e W ay K itch en Living ro o m P lu m b in g E lectricity D ivid ers

  • Length
  • B readth
  • B ase D istance

P o rtals V en t Jo in ts D o o rs W in d o w s

  • T hickness
  • Inner/outer

W alls

  • N um ber of W alls

A sso ciatio n _R o o m _W alls 1 *

  • P roxim ity S trength
  • A ccess V ent
  • A ccess Light
  • A ccess A dm it
  • A ccess A udible

A sso ciatio n _R o om s * *

  • Inner/O uter
  • A ccess V ent
  • A ccess Light
  • A ccess A dm it
  • A ccess A udible
  • N o.of P ortals

A ssociatio n _W alls_P o rtals 1 *

G eneric C lass D iagram

F lo o r S tru ctu ral

V iew P oints

1 * «bind»

slide-11
SLIDE 11

12/ 6/ 2005 ENPM 643 – System Validation & Verification 11

Spatial Logic & Its Application

slide-12
SLIDE 12

12/ 6/ 2005 ENPM 643 – System Validation & Verification 12

Concept of Hyperplanes

A conceptual border that divides two sets of points Each half forms a halfplane Mathematically, it can be represented as

l U

slide-13
SLIDE 13

12/ 6/ 2005 ENPM 643 – System Validation & Verification 13

Half planes

Represents spaces symbolically without any reference to a particular

coordinate system

The predicate hp(x) is a general representation of a halfplane, according to

its truth value

E.g.. hp(a)

a

slide-14
SLIDE 14

12/ 6/ 2005 ENPM 643 – System Validation & Verification 14

Halfplanes

U = {p(x, y)} U always can be divided into exactly two subsets A and B, defined by: A = {p(x, y) : f(x,y) > 0}, and B = {p(x, y) : f(x,y) <0} f(x,y) is a continuous function in U.

  • A and B are non-empty, closed sets.

Therefore A and B have the following characteristics: A ∩ B is Ǿ, and A U B is U.

A B U

slide-15
SLIDE 15

12/ 6/ 2005 ENPM 643 – System Validation & Verification 15

Defining Regions using Halfplanes -1

Given n halfplanes, a region R is defined by a conjunctive formula of n

hp(x), as R is hp(a1) hp(a2) .. hp(an).

Since each halfplane can have truth value True or False, each region is an

interpretation of the Formula above.

  • For our floor plan:

) ( ) ( ) ( ) ( δ γ β α hp hp hp hp U ∧ ∧ ∧ →

slide-16
SLIDE 16

12/ 6/ 2005 ENPM 643 – System Validation & Verification 16

Constraints

hp(b) hp(c) hp(c) hp(b) hp(b) hp(a)

  • hp(b) hp(a)

→ ¬

¬

→ ¬ → ¬

slide-17
SLIDE 17

12/ 6/ 2005 ENPM 643 – System Validation & Verification 17

Defining Regions using Halfplanes -2

) ( ) ( ) ( a hp b hp hp → → γ

) ( ) ( b hp hp → γ

) ( ) ( c hp hp → α

) ( ) ( d hp hp → δ

α β δ γ R1 R2 R5 R3 R4 1 3 2 b c a 4 U

slide-18
SLIDE 18

12/ 6/ 2005 ENPM 643 – System Validation & Verification 18

Restroom R1

hp(a) a b hp(d) hp(a) hp(d) Rest Room

) ( ) ( ) ( ) ( c hp d hp b hp a hp ¬ ∧ ∧ ∧ ) ( ) ( d hp a hp ∧

slide-19
SLIDE 19

12/ 6/ 2005 ENPM 643 – System Validation & Verification 19

Bedroom R2

) ( ) ( ) ( ) ( c hp d hp b hp a hp ¬ ∧ ¬ ∧ ∧

hp(b) b hp(d) hp(b) hp(d) Bed Room

) ( ) ( d hp b hp ¬ ∧

slide-20
SLIDE 20

12/ 6/ 2005 ENPM 643 – System Validation & Verification 20

Living room R3

) ( ) ( ) ( d hp b hp a hp ¬ ∧ ¬ ∧ ¬ ) ( ) ( d hp b hp ¬ ∧ ¬

hp(b) b hp(d) hp(b) hp(d) Living Room

slide-21
SLIDE 21

Verifying the presence of a region

False True True True True 16 False False True True True 15 True True False True True 14 True False False True True 13 False True True False True 12 False False True False True 11 False True False False True 10 False False False False True 9 False True True True False 8 False False True True False 7 True True False True False 6 True False False True False 5 True True True False False 4 True False True False False 3 True True False False False 2 True False False False False 1 R hp(d) hp(c) hp(b) hp(a) S.No

slide-22
SLIDE 22

12/ 6/ 2005 ENPM 643 – System Validation & Verification 22

Verifying the presence of the region

True 6 R5 Passageway True 4 R4 Kitchen True 3 R3 Living room True 14 R2 Bedroom True 13 R1 Restroom R S.No. Region Room

slide-23
SLIDE 23

12/ 6/ 2005 ENPM 643 – System Validation & Verification 23

Border adjacency

Given a minimal description of a region R expressed by hp(x1)

hp(x2) . . . hp(xn), a region Radj is border adjacent to R iff it differs in

  • nly one hp(xi), such as hp(xi) in R is hp(xi) in Radj.
slide-24
SLIDE 24

12/ 6/ 2005 ENPM 643 – System Validation & Verification 24

Border adjacency for R1 and R2

Restroom Bedroom From the constraints hp(b) hp(a) Thus, restroom is region adjacent to the bedroom as it differs in only in one

hp(xi) i.e. [hp(d)]

) ( ) ( d hp a hp ∧ ) ( ) ( d hp b hp ¬ ∧

slide-25
SLIDE 25

12/ 6/ 2005 ENPM 643 – System Validation & Verification 25

Relative position

A Above 4-2

d

R Right 1-3

c

C Centre 1-3

b

L Left 1-3

a Abbreviation Denotation Begin end Half plane 1 2 3 4

U

slide-26
SLIDE 26

12/ 6/ 2005 ENPM 643 – System Validation & Verification 26

Relative position R1 and R2

Restroom Bedroom The difference is restroom hp(d) and bedroom hp(d) therefore

topographically restroom is above bedroom

) ( ) ( d hp a hp ∧

) ( ) ( d hp b hp ¬ ∧

slide-27
SLIDE 27

12/ 6/ 2005 ENPM 643 – System Validation & Verification 27

Adding portals

a b c d f g e h i hp(g) hp(f) hp(i) hp(e) hp(e) hp(h) hp(f) & hp(g) hp(h) hp(i)

slide-28
SLIDE 28

12/ 6/ 2005 ENPM 643 – System Validation & Verification 28

Representing the bedroom door

) ( ) ( ) ( ) ( e hp b hp d hp d hp ∧ ∧ ¬ ∧

e a b d hp(b) hp(e) hp(e) hp(b)

U R2

slide-29
SLIDE 29

12/ 6/ 2005 ENPM 643 – System Validation & Verification 29

Visibility through the portals

L hp(d) hp(b)

Visible Region Portal U R2 hp(xi)(1,0)

slide-30
SLIDE 30

12/ 6/ 2005 ENPM 643 – System Validation & Verification 30

Software Packages Used

MS Visio MS Office

slide-31
SLIDE 31

12/ 6/ 2005 ENPM 643 – System Validation & Verification 31

References

Papers

A logic-based framework for shape representation by Jose C Damski and John

S Gero

A Referential Scheme for Modeling and Identifying Spatial Attributes of

Entities in Constructed Facilities by M. Kiumarse Zamanian & Steven J. Fenves

Implementing Topological Predicates for Complex Regions by Marcus

Schneider

A Spatial Logic based on Regions and Connection by David A. Randell, Zhan

Cui & Anthony G. Cohn

Class Notes

slide-32
SLIDE 32

12/ 6/ 2005 ENPM 643 – System Validation & Verification 32

Thank You!