12/ 6/ 2005 ENPM 643 – System Validation & Verification 1
Validation and Verification Using Spatial Logic Framework for Building Layouts
By Abhinav Fatehpuria Vineet Gupta
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
12/ 6/ 2005 ENPM 643 – System Validation & Verification 1
By Abhinav Fatehpuria Vineet Gupta
12/ 6/ 2005 ENPM 643 – System Validation & Verification 2
Background
Project Description Floor Plan Goals System Requirements System Structure
Spatial Logic
Overview Application to Building Layouts
Conclusion Software Used References
12/ 6/ 2005 ENPM 643 – System Validation & Verification 3
12/ 6/ 2005 ENPM 643 – System Validation & Verification 4
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
12/ 6/ 2005 ENPM 643 – System Validation & Verification 5
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
12/ 6/ 2005 ENPM 643 – System Validation & Verification 6
12/ 6/ 2005 ENPM 643 – System Validation & Verification 7
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.
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.
12/ 6/ 2005 ENPM 643 – System Validation & Verification 8
12/ 6/ 2005 ENPM 643 – System Validation & Verification 9
The complete architectural viewpoint is divided in to three sub classes:
Spaces Dividers Portals
Relationship
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
12/ 6/ 2005 ENPM 643 – System Validation & Verification 10
A rchitectu re 1 1
S p aces 1 *
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
P o rtals V en t Jo in ts D o o rs W in d o w s
W alls
A sso ciatio n _R o o m _W alls 1 *
A sso ciatio n _R o om s * *
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»
12/ 6/ 2005 ENPM 643 – System Validation & Verification 11
12/ 6/ 2005 ENPM 643 – System Validation & Verification 12
A conceptual border that divides two sets of points Each half forms a halfplane Mathematically, it can be represented as
l U
12/ 6/ 2005 ENPM 643 – System Validation & Verification 13
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
12/ 6/ 2005 ENPM 643 – System Validation & Verification 14
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.
Therefore A and B have the following characteristics: A ∩ B is Ǿ, and A U B is U.
A B U
12/ 6/ 2005 ENPM 643 – System Validation & Verification 15
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.
12/ 6/ 2005 ENPM 643 – System Validation & Verification 16
hp(b) hp(c) hp(c) hp(b) hp(b) hp(a)
→ ¬
→ ¬ → ¬
12/ 6/ 2005 ENPM 643 – System Validation & Verification 17
) ( ) ( b hp hp → γ
) ( ) ( c hp hp → α
) ( ) ( d hp hp → δ
α β δ γ R1 R2 R5 R3 R4 1 3 2 b c a 4 U
12/ 6/ 2005 ENPM 643 – System Validation & Verification 18
hp(a) a b hp(d) hp(a) hp(d) Rest Room
12/ 6/ 2005 ENPM 643 – System Validation & Verification 19
hp(b) b hp(d) hp(b) hp(d) Bed Room
12/ 6/ 2005 ENPM 643 – System Validation & Verification 20
hp(b) b hp(d) hp(b) hp(d) Living Room
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
12/ 6/ 2005 ENPM 643 – System Validation & Verification 22
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
12/ 6/ 2005 ENPM 643 – System Validation & Verification 23
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
12/ 6/ 2005 ENPM 643 – System Validation & Verification 24
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 ¬ ∧
12/ 6/ 2005 ENPM 643 – System Validation & Verification 25
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
12/ 6/ 2005 ENPM 643 – System Validation & Verification 26
Restroom Bedroom The difference is restroom hp(d) and bedroom hp(d) therefore
topographically restroom is above bedroom
12/ 6/ 2005 ENPM 643 – System Validation & Verification 27
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)
12/ 6/ 2005 ENPM 643 – System Validation & Verification 28
e a b d hp(b) hp(e) hp(e) hp(b)
U R2
12/ 6/ 2005 ENPM 643 – System Validation & Verification 29
L hp(d) hp(b)
Visible Region Portal U R2 hp(xi)(1,0)
12/ 6/ 2005 ENPM 643 – System Validation & Verification 30
MS Visio MS Office
12/ 6/ 2005 ENPM 643 – System Validation & Verification 31
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
12/ 6/ 2005 ENPM 643 – System Validation & Verification 32