Title: Packing Necklaces into a Box
1Packing Necklaces into a Box
Valentin Polishchuk Helsinki Institute for
Information Technology, University of Helsinki
and Helsinki University of Technology
Joint work with
Estie Arkin , Joe Mitchell Applied Math
and Statistics, Stony Brook University
Anne Pääkkö Computer Science,
University of Helsinki
2Motivation
- Birthday party !
- Loves necklaces
3Loving aunt
Beads
Thread
4Loving aunt
Make lots of necklaces and put them on the table
5Necklaces should
Algorithmic question Lay down a maximum
number of necklaces
- Go all the way left to right
- Go around the presents
- Be pairwise-disjoint
6Formally
- GIVEN
- Polygonal domain
- (rectangle)
- obstacles
- left side source
- right side sink
- FIND
- Max number of necklaces
- polygonal source-sink path
- vertices separated
- centers of obstacle-free pairwise-disjoint unit
disks
7Our Solution Bottommost Necklacesthrough Disk
Packing
8Maximal packing of 1/3-disks
- Bottommost disk at source bead
- Rightmost reachable with straight line segment
bead - Rightmost reachable bead
-
- Until sink is reached
- Pop disks touched by thread
A set of feasible necklaces albeit
bead radius 1/3 L
9Maximal packing of 1/3-disks
A set of feasible necklaces albeit
bead radius 1/3 L
How many (compared to OPT)?
10Fact
Maximal packing of 1/3-disks
- Obstacle-free unit diskfully contains a 1/3-disk
from maximal packing - 2/3-disk
- Is there a center of a disk from packing?
- no place 1/3-disk
- yes inside the unit disk
11OPT
- Every bead contains 1/3-disk from packing
- Exist OPT necklaceswith 1/3-beadsand
stretchL4/3
Bottommost packing uppermost path maxflow
alg No necklace is lost
If exist K necklaces with unit-disk beads and
stretch L
K necklaces with 1/3-disk beads and stretch
L4/3
we find
12Implementation
Hexagonal packing
13Output
14Output
15Output
16Sell Output to Little Girls Inc.?
- If exist K necklaces
- with unit-disk beads
- and stretch L
K necklaces with 1/3-disk beads and stretch
L4/3
we find
17(No Transcript)
18Who Else would be Interested?
- Air Traffic Management path planning
- Given
- Domain 2D airspace
- source and sink
- Obstacles hazardous weather systems
- Find
- Thick source-sink paths
- planes with protected airspace zones (disks)
- not intersecting obstacles
Max of Paths, Shortest Paths,
19Motivations
- VLSI wire thickness
- Robotics circular robot
- Sensor field
- Short paths
- Close to bd
- congestion
- Well-separated
- Medial axis
- Long
- Shortest paths
- given separation
- Air Traffic Management safety margins
20Continuous Flows
- Given Polygonal domain P
- with holes
- source and sink S and T
-
- div s 0 inside P
- s n 0 on ?P\S,T
- s 1 capacity
- V s S s n ds s T s n ds
- MaxFlow
- Find s that maximizes V
Flow vector field s P ? R2
Cut Partition P S in one part, T in the other
Capacity Length of bd between parts
counted within P (not within holes)
21Discrete Network 2D Domain
- Source and sink nodes
- Cut
- partition nodes
- capacity
- edges that cross
- Flow
- integers on arcs
- Source and sink edges
- Cut
- partition domain
- capacity
- length of the boundary
- Flow
- vector field
1
1
1
s
t
1
1
1
22Disjoint Paths in Graphs
Related to Network Flows
s
t
s
t
s
t
23Continuous MaxFlow/MinCut Theorem
Strang83, Mitchell90
- MaxFlow
-
- MinCut
-
- SP T-B path in critical graph
24Continuous Mengers Theorem
Arkin,Mitchcell,P08
- Max of disjoint thick paths
-
- MinCut
-
- SP T-B in thresholded critical graph
- lij bdij / airlane widthc
25Well Separated Paths
Kröller,Mitchell,P
- Max of disjoint thick paths
-
- MinCut
-
- SP T-B in thresholded critical graph
- lij bdij / airlane widthc 1
26MinCut Over Time
27Disjoint Paths in Graphs
Related to Network Flows
s
t
s
t
s
t
28MinCost Flow
- Given Polygonal domain P
- sources S and sinks T
- Flow
- vector field s
- div s 0 inside P
- s n 0 on ?P\S,T
- s 1 capacity
- V s S s n ds sT s n ds
- Min-Cost Flow
- Given V
- Find s that minimizes cost
Cost ls length of streamline through s in
S cost sS lsds
29Continuous Flow Decomposition Theorem
- Flow U of paths (e.g., streamlines)
- Continuous Flow
- Decomposition Theorem
- Min-Cost Flow U of shortest thick paths
Mitchell,P07
linear
30Thick Paths
Thick Pats Right Model?
31Real Flight Paths
Chan, Refai and DeLaura AIAA Aviation Technology,
Integration and Operations Conference, Belfast,
2007
32Real Flight Paths
Chan, Refai and DeLaura AIAA Aviation Technology,
Integration and Operations Conference, Belfast,
2007
33Real Flight Paths
Chan, Refai and DeLaura AIAA Aviation Technology,
Integration and Operations Conference, Belfast,
2007
34How Do Pilots Treat Obstacles?
35(No Transcript)
36Beads Triangles
???
- Time stretching maneuvers
Temporary blockage
37Templates
Schoemig, Armbruster, Boyle, Haraldsdottir,
Scharl IEEE/AIAA Digital Avionics Systems
Conference, 2006
38Paths with Wiggle Room
Schoemig, Armbruster, Boyle, Haraldsdottir,
Scharl IEEE/AIAA Digital Avionics Systems
Conference, 2006 AIAA Modeling and Simulation
Technologies Conference and Exhibit 2006
39(No Transcript)
40More Requests
Lower bound on stretch between beads
No beads on top of sector boundaries
Reachable region
41Java Applet
- www.cs.helsinki.fi/group/compgeom/necklace/
42More
- Bottommost paths long
- mincost maxflow through the grid
- Theory NP-hard?
43(No Transcript)
44Map Labeling
- Lines
- routes
- rivers
- borders
- Important distinction
- rivers are given
- adding beads to given threads
45Multicommodity Flows (Red/Blue paths)
46What we Learnt
If exist K necklaces with unit-disk beads and
stretch L
E
E
- Angry Little Girls Inc.
- How to make aunts happy
- in the dual sense
- Implemented bottommost paths
- Necklaces in ATM
we find
K necklaces with 1/3-disk beads and stretch
L4/3
47(No Transcript)