SlideShare a Scribd company logo
1 of 58
Packing Boundary-Anchored
Rectangles
Present By:
Alyaa Muhi
Supervisor: Dr. Ali Mohades
We explain the boundary-anchored rectangle packing problem
• To find a set of disjoint axis-aligned rectangles in Q such that
each rectangle is anchored at some point in P
• Each point in P is used to anchor at most one rectangle
• The total area of the rectangles is maximized.
• Solve this problem in linear-time in the number of points of P,
provided that the points of P are given in sorted order along the
boundary of Q
Problem Description
INTRODUCTION
Anchored rectangle packing (ARP)
problem is to find a set S of disjoint axis aligned rectangles in Q.
• each rectangle in S is anchored at some point in P
• each point in P is a corner of at most one rectangle in S
• approximation algorithm for this problem, which achieves
ratio 7/12 − ε
 Boundary-anchored rectangle packing (BARP)
problem is a simpler variant of the anchored rectangle packing
problem in which all the points of P lie on the boundary of Q.
• provided that the points of P are given in sorted order along
the boundary of Q
Problem
the ARP problem
Problem
the ARP problem
Problem
the ARP problem
Problem
the ARP problem
7/12 − ε approximation for
rectangle
5/32 − ε approximation for
squares
What if the point on boundary ?
This paper solved this problem in linear time.
Problem
the BARP problem
What if the point on boundary ?
This paper solved this problem in linear time.
Problem
the BARP problem
HH
H
What if the point on boundary ?
This paper solved this problem in linear time.
Problem
the BARP problem
HH
H
Special case
Two points with same x- or y-coordinates (on opposite sides)
or a point at corner.
Special case
Two points with same x- or y-coordinates (on opposite sides)
or a point at corner.
P1
P2
P1P2
P1
Special case
Two points with same x- or y-coordinates (on opposite sides)
or a point at corner.
P1
P2
P1P2
P1
Hole
If not special cases, we must have some holes in any packing
Hole
If not special cases, we must have some holes in any packing
H
H
H
H
Hole
If not special cases, we must have some holes in any packing
H
H
H
H
Optimal
Every anchored-rectangle is on the grid induced by the boundary
points.
Optimal
Every anchored-rectangle is on the grid induced by the boundary
points.
Optimal
Every anchored-rectangle is on the grid induced by the boundary
points.
Optimal
Every anchored-rectangle is on the grid induced by the boundary
points.
Optimal
Every anchored-rectangle is on the grid induced by the boundary
points.
H
H
H
Optimal
Optimal solution S such that all max-segments of S are introduced
Max-segment of G(S) to be a maximal chain s of collinear edges of G(S) We say
that s is introduced if at least one endpoint of s belongs to P and is used as
anchor-point for some rectangle of S.
Optimal
H H
H
Optimal solution S such that all max-segments of S are introduced
Max-segment of G(S) to be a maximal chain s of collinear edges of G(S) We say
that s is introduced if at least one endpoint of s belongs to P and is used as
anchor-point for some rectangle of S.
Optimal
Optimal solution S such that all max-segments of S are introduced
H H
H
Max-segment of G(S) to be a maximal chain s of collinear edges of G(S) We say
that s is introduced if at least one endpoint of s belongs to P and is used as
anchor-point for some rectangle of S.
 White regions are holes
 filled vertices are also
points of P.
S1
b
a
S2
e1
e2
e3
Optimal
H H
H
Optimal solution S such that all max-segments of S are introduced
The max-segment s 1 is introduced whiles 2 is not.
Max-segment of G(S) to be a maximal chain s of collinear edges of G(S) We say
that s is introduced if at least one endpoint of s belongs to P and is used as
anchor-point for some rectangle of S.
 White regions are holes
 Filled vertices are also
points of P.
Optimal
If S has holes, then it has exactly one hole H.
Optimal
If S has holes, then it has exactly one hole H.
Optimal
If S has holes, then it has exactly one hole H.
Optimal
b
a
c
Every internal vertex of G(S) has degree four that mean hole is
rectangle).
Optimal
b
a
c
Every internal vertex of G(S) has degree four that mean hole is
rectangle).
Optimal
b
a
c
Every internal vertex of G(S) has degree four that mean hole is
rectangle).
Optimal
b
a
c
d
Every internal vertex of G(S) has degree four that mean hole is
rectangle).
Optimal
b
a
c
d
c
Every internal vertex of G(S) has degree four that mean hole is
rectangle).
Optimal
b
a
c
d
c
Every internal vertex of G(S) has degree four that mean hole is
rectangle).
Optimal
Every internal vertex of G(S) has degree three or four(the hole is
rectangle).
b
a
c
d
c
ff
Optimal
b
a
c
d
c
ff
Every internal vertex of G(S) has degree four that mean hole is
rectangle).
b
a
c
d
c
ff
?
?
g
Optimal
Every internal vertex of G(S) has degree four that mean hole is
rectangle).
H’
Optimal
The hole is just one rectangle
H’
l
Optimal
The hole is just one rectangle
H’
H’
l
Optimal
The hole is just one rectangle
H’
H’
l
l
Optimal
The hole is just one rectangle
H’
H’ H’
l
l
Optimal
The hole is just one rectangle
H’
H’ H’
l
l
l
Optimal
The hole is just one rectangle
H’
H’
H’
H’
l
l
l
Optimal
The hole is just one rectangle
H’
H’
H’
H’
l
l
l
l
Optimal
The hole is just one rectangle
H’
H’
H’
H’
H’
l
l
l
l
Optimal
The hole is just one rectangle
H’
H’
H’
H’
H’
l
l
l
l
l
Optimal
The hole is just one rectangle
H’
H’
H’
H’
H’
H’
l
l
l
l
l
Optimal
The hole is just one rectangle
H’
H’
H’
H’
H’
H’
l
l
l
l
l
l
Optimal
The hole is just one rectangle
 There is an optimal solution S with i ≤ 4 points p1.....pi satisfy
of the following:
I =2I =1
 There is an optimal solution S with i ≤ 4 points p1.....pi satisfy
of the following:
P2?
P2?
P1
P1?
P1? P1? P2?
P1? P2?
H
I =2I =1
 There is an optimal solution S with i ≤ 4 points p1.....pi satisfy
of the following:
P2?
P2?
P1
P1?
P1? P1? P2?
P1? P2?
H
H H
I =2I =1
 There is an optimal solution S with i ≤ 4 points p1.....pi satisfy
of the following:
P2?
P2?
P1
P1
P2
P3
P3
P4
i=4i=3
 There is an optimal solution S with i ≤ 4 points p1.....pi satisfy
of the following:
P2?
P2?
H
H
P1
P1
P2
P3
P3
P4
I =4I =3
 There is an optimal solution S with i ≤ 4 points p1.....pi satisfy
of the following:
P2?
P2?
H
H
P1
P1
P2
P3
P3
P4
I =4I =3
 [1] K. Balas, A. Dumitrescu, and C. D. T´oth. Anchored rectangle and square
packings. In 32nd International Symposium on Computational Geometry
(SoCG 2016), Boston, MA, USA, pages 13:1–13:16, 2016.
 [2] K. G. Kakoulis and I. G. Tollis. Labeling algorithms. In R. Tamassia, editor,
Handbook on Graph Drawing and Visualization., pages 489–515. 2013.
 [3] J. Keil, J. Mitchell, D. Pradhan, and M. Vatshelle. An algorithm for the
maximum weight independent set problem on outer string graphs. Comp.
Geom., 60:19-25, 2017.
 [4] W. Tutte. Recent progress in combinatorics. In Proc. Of the 3rd Waterloo
Conference on Combinatorics, 1968.
 [5] M. J. van Kreveld, T. Strijk, and A. Wolff. Point labeling with sliding labels.
Compute. Geom., 13(1):21–47, 1999.
Packing

More Related Content

Recently uploaded

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 

Recently uploaded (20)

UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Packing