Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature =...

79
Shortest path problem in rectangular complexes of global non-positive curvature Daniela MAFTULEAC David R. Cheriton School of Computer Science University of Waterloo March 13, 2014

Transcript of Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature =...

Page 1: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Shortest path problem in rectangular complexesof global non-positive curvature

Daniela MAFTULEAC

David R. Cheriton School of Computer Science

University of Waterloo

March 13, 2014

Page 2: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Spaces of non-positive curvature = CAT(0)

In 1987 M. Gromov introduces the notion of a CAT(k) space, in thehonour of E. Cartan, A.D. Alexandrov and V.A. Toponogov.

A metric space (X , d) is a CAT(0) space if it is geodesically connectedand if every geodesic triangle in X is at least as thin as its comparisontriangle in the Euclidean plane.

Page 3: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Geodesic space or geodesically connected space

Definition

A metric space (X , d) is geodesic if for any pair of points x and y of X , such

that d(x , y) = d , there exists an isometric operator γ : [0, d ]→ X such that

γ(0) = x , γ(d) = y and for all t, t′ ∈ [0, d ], |t − t′| = |γ(t)− γ(t′)|.

X

x

y

0

γ(x, y)

d

γ

Page 4: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) space (global nonpositive curvature)

Definition

Let (X , d) be a geodesic space and T = ∆(x1, x2, x3) a geodesic triangle in X .

A comparison triangle of T is a triangle T ′ = ∆(x ′1, x′2, x′3) of the Euclidian

plane whose edges are of equal length as the edges of T in X .

x1 x2

x3

x′1

x′2

x′3

y

X E2

CAT(0) inequality: d(x3, y) ≤ dE2 (x′3, y′), ∀y ∈ γ(x1x2).

Page 5: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) space (global nonpositive curvature)

Definition

Let (X , d) be a geodesic space and T = ∆(x1, x2, x3) a geodesic triangle in X .

A comparison triangle of T is a triangle T ′ = ∆(x ′1, x′2, x′3) of the Euclidian

plane whose edges are of equal length as the edges of T in X .

x1 x2

x3

x′1

x′2

x′3

y′y

X

d(x1, y) = dE2(x′1, y

′)

d(y, x2) = dE2(y′, x′2)

E2

CAT(0) inequality: d(x3, y) ≤ dE2 (x′3, y′), ∀y ∈ γ(x1x2).

Page 6: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) space (global nonpositive curvature)

Definition

Let (X , d) be a geodesic space and T = ∆(x1, x2, x3) a geodesic triangle in X .

A comparison triangle of T is a triangle T ′ = ∆(x ′1, x′2, x′3) of the Euclidian

plane whose edges are of equal length as the edges of T in X .

x1 x2

x3

x′1

x′2

x′3

y′y

X

d(x1, y) = dE2(x′1, y

′)

d(y, x2) = dE2(y′, x′2)

E2

CAT(0) inequality: d(x3, y) ≤ dE2 (x′3, y′), ∀y ∈ γ(x1x2).

Page 7: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) space (global non-positive curvature)

CAT(0) space (M. Gromov, 1987)

A geodesic space (X , d) is a CAT(0) space if the CAT(0) inequality is satisfied

for every geodesic triangle T = ∆(x1, x2, x3) of X and every point y of

γ(x1, x2).

x1

x2

x3

X

Examples of CAT(0) spaces:

Simple polygons,

Hyperbolic spaces,

Trees,

Euclidian buildings.

Page 8: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) space (global non-positive curvature)

CAT(0) space (M. Gromov, 1987)

A geodesic space (X , d) is a CAT(0) space if the CAT(0) inequality is satisfied

for every geodesic triangle T = ∆(x1, x2, x3) of X and every point y of

γ(x1, x2).

x1

x2

x3

X

Examples of CAT(0) spaces:

Simple polygons,

Hyperbolic spaces,

Trees,

Euclidian buildings.

Page 9: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) space (global non-positive curvature)

CAT(0) space (M. Gromov, 1987)

A geodesic space (X , d) is a CAT(0) space if the CAT(0) inequality is satisfied

for every geodesic triangle T = ∆(x1, x2, x3) of X and every point y of

γ(x1, x2).

x1

x2

x3

X

Examples of CAT(0) spaces:

Simple polygons,

Hyperbolic spaces,

Trees,

Euclidian buildings.

Page 10: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) space (global non-positive curvature)

Important properties of CAT(0) spaces:

uniqueness of a geodesic connecting two points

convexity of the distance function

global non-positive curvature

convexity of balls and neighborhoods of convex sets

Page 11: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) cube complexes

A cube complex K is a polyhedral complex obtained by gluing solidcubes of various dimensions in such a way that for any two cubes theintersection is a face of both.K has a natural piecewise Euclidean metric.

A cube complex is said to be CAT(0) if it is simply-connected and it hasnon-positive curvature.

Page 12: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) cube complexes

2-dimensional CAT(0) cube complex:

[Daina Taimina, 2005]

Page 13: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) cube complexes

[Daina Taimina, 2005]

Page 14: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) cube complexes

2-dimensional CAT(0) cube complex:

Page 15: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Applications of CAT(0) cube complexes

Geometry group theory

Phylogenetic trees

Reconfigurable systems

...

Page 16: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Phylogenetic trees

A phylogenetic tree (or evolutionary tree) is a branching diagramshowing the inferred evolutionary relationships among various biologicalspecies or other entities based upon similarities and differences in theirphysical and/or genetic characteristics.

Page 17: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Phylogenetic trees

building trees based on DNA sequences

origins of diseases such as AIDS and the most deadly form of malaria

connections between tribal groups

. . .

uncertainty remains about precise relationships between the tips orleaves of the tree.

Possible solution: cover all the possible trees with the same set of leaves.There are (2n − 3)!! rooted binary trees.

Page 18: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Phylogenetic trees

building trees based on DNA sequences

origins of diseases such as AIDS and the most deadly form of malaria

connections between tribal groups

. . .

uncertainty remains about precise relationships between the tips orleaves of the tree.

Possible solution: cover all the possible trees with the same set of leaves.There are (2n − 3)!! rooted binary trees.

Page 19: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Phylogenetic trees

building trees based on DNA sequences

origins of diseases such as AIDS and the most deadly form of malaria

connections between tribal groups

. . .

uncertainty remains about precise relationships between the tips orleaves of the tree.

Possible solution: cover all the possible trees with the same set of leaves.There are (2n − 3)!! rooted binary trees.

Page 20: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Phylogenetic trees

building trees based on DNA sequences

origins of diseases such as AIDS and the most deadly form of malaria

connections between tribal groups

. . .

uncertainty remains about precise relationships between the tips orleaves of the tree.

Possible solution: cover all the possible trees with the same set of leaves.There are (2n − 3)!! rooted binary trees.

Page 21: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Phylogenetic trees

building trees based on DNA sequences

origins of diseases such as AIDS and the most deadly form of malaria

connections between tribal groups

. . .

uncertainty remains about precise relationships between the tips orleaves of the tree.

Possible solution: cover all the possible trees with the same set of leaves.There are (2n − 3)!! rooted binary trees.

Page 22: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Phylogenetic trees

building trees based on DNA sequences

origins of diseases such as AIDS and the most deadly form of malaria

connections between tribal groups

. . .

uncertainty remains about precise relationships between the tips orleaves of the tree.

Possible solution: cover all the possible trees with the same set of leaves.There are (2n − 3)!! rooted binary trees.

Page 23: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Space of phylogenetic trees ([2001] Billera, Holmes,Vogtmann)

The space of phylogenetic trees with the same set of leaves

and with the intrinsic metric is a CAT(0) cube complex.

Page 24: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Phylogenetic tree topology ([2001] Billera, Holmes,Vogtmann)

Identical trees

Page 25: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Phylogenetic tree topology ([2001] Billera, Holmes,Vogtmann)

Distinct trees

Page 26: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Phylogenetic tree topology ([2001] Billera, Holmes,Vogtmann)

Splits of a phylogenetic tree:

1 2 3 4 1 2 3 4

0 0

(1) | (0234) (012) | (34)

Page 27: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Phylogenetic tree topology ([2001] Billera, Holmes,Vogtmann)

Splits of a phylogenetic tree:

1 2 3 4

0

e1 e2 e3 e4 e5 e6

e1

e2e3 e4

e5

e6

. . .

(3; 2; 1; 1; 1; 1; 0; 0; ...)e7 e8

e1 : (1) | (0234)e2 : (2) | (0134)e3 : (3) | (0124)e4 : (4) | (0123)

e5 : (012) | (34)e6 : (01) | (234)e7 : (013) | (24)e8 : (014) | (23)

Page 28: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Phylogenetic tree topology ([2001] Billera, Holmes,Vogtmann)

1 2 3 4

0

e5

e6

e1 e2 e3 e4 e5 e6(3; 2; 1; 1; 1; 1; 0; 0; ...)

e7 e8

Page 29: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Space of phylogenetic trees ([2001] Billera, Holmes,Vogtmann)

A 2-dimensional quadrant corresponding to a metric 4-tree T4

Page 30: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Space of phylogenetic trees ([2001] Billera, Holmes,Vogtmann)

The space T4

Page 31: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Space of phylogenetic trees ([2001] Billera, Holmes,Vogtmann)

Page 32: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Space of phylogenetic trees ([2001] Billera, Holmes,Vogtmann)

O

Page 33: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Space of phylogenetic trees ([2001] Billera, Holmes,Vogtmann)

Geodesics in T4

Page 34: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Space of phylogenetic trees ([2001] Billera, Holmes,Vogtmann)

The space T3

Page 35: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Algorithmic problems in the space of phylogenetic trees

[2001] L.J. Billera, S.P. Holmes and K. Vogtmannthe space of phylogenetic trees

[2011] M. Owen and S. Provanshortest path in the space of phylogenetic trees

[2012] F. Ardila, M. Owen and S. Sullivantshortest path in CAT(0) cube complexes

Page 36: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Reconfigurable systems

Reconfigurable robotic systems are composed of a set of robots thatchange their position relative to one another, thereby reshaping thesystem.

A robotic system that changes its shape due to individual robotic motionhas been called metamorphic.

Page 37: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Reconfigurable systems

There are many models for such robots:

2D and 3D lattices;

hexagonal, square, and dodecahedral cells;

pivoting or sliding motion

Page 38: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Reconfigurable systems

Page 39: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Reconfigurable systems ([2004] Abrams, Ghrist andPeterson)

Transition graph of the system - whose vertices are the states of thesystem and whose edges correspond to the allowable moves betweenthem.

Abrams, Ghrist and Peterson observed that this graph is the 1-skeleton ofthe state complex: a cube complex whose vertices are the states of thesystem, whose edges correspond to allowable moves, and whose cubescorrespond to collections of moves which can be performedsimultaneously.

Page 40: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Reconfigurable systems ([2004] Abrams and Ghrist)

Page 41: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Reconfigurable systems ([2004] Abrams and Ghrist)

Page 42: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Reconfigurable systems ([2013] Ardila, Baker and Yatchak)

Page 43: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Related work on reconfigurable systems

[1991] V. Pratt

[2004] A. Abrams and R. Ghrist

[2007] R. Ghrist and V. Peterson

[2013] F. Ardila, T. Baker and R. Yatchak

Page 44: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) rectangular complexes

Definition

A rectangular complex K is a 2-dimensional Euclidean cell complex K whose 2-cells

are isometric to axis-parallel rectangles of the l1-plane and the intersection of two

faces of K is either empty, either a vertex or an edge.

Page 45: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Intrinsic metric

x

y

R

For all x , y ∈ R, d(x , y) = dE2(x , y)

x = z0

y = zmz1

z2zm−1

K

For all x ∈ R ′ and y ∈ R ′′

Let P = [x = z0z1 . . . zm−1zm = y ],zi , zi+1 ∈ Ri , i = 0, . . . ,m − 1.

`(P) =m−1∑i=0

dE2(zi , zi+1),

d(x , y) = minP`(P)

Page 46: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Intrinsic metric

x

y

R

For all x , y ∈ R, d(x , y) = dE2(x , y)

x = z0

y = zmz1

z2zm−1

K

For all x ∈ R ′ and y ∈ R ′′

Let P = [x = z0z1 . . . zm−1zm = y ],zi , zi+1 ∈ Ri , i = 0, . . . ,m − 1.

`(P) =m−1∑i=0

dE2(zi , zi+1),

d(x , y) = minP`(P)

Page 47: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Intrinsic metric

x

y

R

For all x , y ∈ R, d(x , y) = dE2(x , y)

x = z0

y = zmz1

z2zm−1

K

For all x ∈ R ′ and y ∈ R ′′

Let P = [x = z0z1 . . . zm−1zm = y ],zi , zi+1 ∈ Ri , i = 0, . . . ,m − 1.

`(P) =m−1∑i=0

dE2(zi , zi+1),

d(x , y) = minP`(P)

Page 48: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) cube complexes

Chepoi, 2000

CAT(0) cube complexes coincide with the cubical cell complexes arisingfrom median graphs.

Page 49: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) cube complexes

CAT(0) cube complexes can be described completely combinatorially.

Gromov characterization

A cubical polyhedral complex K with the intrinsic metric is CAT(0) if andonly if K is simply connected and satisfies the following condition:whenever three (k + 2)-cubes of K share a common k-cube and pairwiseshare common (k + 1)-cubes, they are contained in a (k + 3)-cube of K.

Page 50: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

CAT(0) rectangular complexes

Gromov characterization

A rectangular complex K is a CAT(0) rectangular complex if and only if K is

simply connected and K does not contain any triplet of faces pairwise adjacent.

Page 51: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Examples of CAT(0) rectangular complexes

Squaregraphs Ramified rectilinear polygons

Page 52: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Shortest path in a CAT(0) rectangular complex

SPP(x , y)

Given two points x , y in a CAT(0) rectangular complex K, find the distance

d(x , y) and the unique shortest path γ(x , y) connecting x and y in K.

x

y

γ(x, y)

x

y

γ(x, y)

Page 53: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

1-skeleton of a rectangular complex

Definition

The 1-skeleton of a rectangular complex K is a graph G(K) = (V (K),E(K)),

where V (K) is the vertex set of K and E(K) is the edge set of K.

G(K)K

Page 54: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Interval of two points

Definition

Given the vertices p and q in the 1-skeleton G(K) of K, the interval I (p, q) isthe set {z ∈ V (K) : dG (p, q) = dG (p, z) + dG (z , q)}.

q

p

I(p, q)

Let K(I (p, q)) be the

subcomplex of Kinduced by the interval

I (p, q).

Page 55: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Interval of two points

Definition

Given the vertices p and q in the 1-skeleton G(K) of K, the interval I (p, q) isthe set {z ∈ V (K) : dG (p, q) = dG (p, z) + dG (z , q)}.

q

p

I(p, q)

Let K(I (p, q)) be the

subcomplex of Kinduced by the interval

I (p, q).

Page 56: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Interval of two points

Definition

Given the vertices p and q in the 1-skeleton G(K) of K, the interval I (p, q) isthe set {z ∈ V (K) : dG (p, q) = dG (p, z) + dG (z , q)}.

q

p

I(p, q)

Let K(I (p, q)) be the

subcomplex of Kinduced by the interval

I (p, q).

Page 57: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Main result

Proposition 1

Given two points x and y in a CAT(0) rectangular complex K, let Rx ,Ry be the

cells of K containing these points, then γ(x , y) ⊂ K(I (p, q)), where p and q

are two vertices of Rx and Ry .

p

qy

γ(x, y)

x

The same result is true for CAT(0) cubical complexes of any dimension.

Page 58: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Main result

Proposition 2

For each pair of points x , y of a CAT(0) rectangular complex K, there exists anunfolding f of K(I (p, q)) in the plane R2 as a chain of monotone polygons.

Moreover, γ(x , y) = f −1(γ∗(f (x), f (y))).

p

qx

y

f (x)

f (y)

f (p)

f (q)

f

Page 59: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Main result

Proposition 2

For each pair of points x , y of a CAT(0) rectangular complex K, there exists anunfolding f of K(I (p, q)) in the plane R2 as a chain of monotone polygons.

Moreover, γ(x , y) = f −1(γ∗(f (x), f (y))).

p

qx

y

f (x)

f (y)

f (p)

f (q)

f−1

γ∗(f (x), f (y))γ(x, y)

Page 60: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

The main steps of the algorithm

1. Given the rectangular faces containing the points x and y , compute thevertices p, q of K such that x , y ∈ K(I (p, q)).

Page 61: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

The main steps of the algorithm

1. Given the rectangular faces containing the points x and y , compute thevertices p, q of K such that x , y ∈ K(I (p, q)).

x

y

Page 62: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

The main steps of the algorithm

1. Given the rectangular faces containing the points x and y , compute thevertices p, q of K such that x , y ∈ K(I (p, q)).

x

p

yq

Page 63: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

The main steps of the algorithm

2. Compute the boundary ∂G(I (p, q)).

qy

p

x

Page 64: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

The main steps of the algorithm

2. Compute the boundary ∂G(I (p, q)).

p

xq

y

Page 65: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

The main steps of the algorithm

3. Compute an unfolding f of ∂G(I (p, q)) in R2. Let P(I (p, q)) denote thechain of monotone polygons bounded by f (∂G(I (p, q))).

f(x)

f(y)

f(p)

f(q)

qy

x

p

Page 66: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

The main steps of the algorithm

3. Compute an unfolding f of ∂G(I (p, q)) in R2. Let P(I (p, q)) denote thechain of monotone polygons bounded by f (∂G(I (p, q))).

f(x)

f(y)

f(p)

f(q)

Page 67: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

The main steps of the algorithm

4. Triangulate each monotone polygon constituting a block of P(I (p, q)).

f(x)

f(y)

f(p)

f(q)

Page 68: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

The main steps of the algorithm

5. In the triangulated polygon P(I (p, q)) compute the shortest pathγ∗(f (x), f (y)) = (f (x), z1, . . . , zm, f (y)) between f (x) and f (y) in P(I (p, q)),where z1, . . . , zm are all vertices of P(I (p, q)).

f(x)

f(y)

f(p)

f(q)

γ∗(f(x), f(y))

z1

zm

Page 69: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

The main steps of the algorithm

6. Return (x , f −1(z1), . . . , f −1(zm), y) as the shortest path γ(x , y) between the

points x and y .

p

qx

y

f (x)

f (y)

f (p)

f (q)

f−1

Page 70: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

The main steps of the algorithm

1. Compute the vertices p, q in V (K) such that x , y ∈ K(I (p, q)),

2. Construct the boundary ∂G(I (p, q)),

3. Find the unfolding f of ∂G(I (p, q)) in R2,

4. Compute the shortest path γ∗(f (x), f (y)),

5. Return γ(x , y) := f −1(γ∗(f (x), f (y))).

Page 71: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Main result

Theorem

Given a CAT(0) rectangular complex K with n vertices, one can construct adata structure D of size O(n2) so that, given any two points x , y ∈ K, we cancompute the shortest path γ(x , y) between x and y in O(d(p, q)) time.

Page 72: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Open questions

Design a subquadratic data structure D allowing to performtwo-point shortest path queries in CAT(0) rectangular complexes inO(d(p, q)) time.

Construct a polynomial algorithm for the two-point shortest pathqueries for all CAT(0) cubical complexes, in particular for3-dimensional CAT(0) cubical complexes.

Page 73: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Open questions

Design a subquadratic data structure D allowing to performtwo-point shortest path queries in CAT(0) rectangular complexes inO(d(p, q)) time.

Construct a polynomial algorithm for the two-point shortest pathqueries for all CAT(0) cubical complexes, in particular for3-dimensional CAT(0) cubical complexes.

Page 74: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Open questions

Computing geodesics in any CAT(0) cell complex.

Page 75: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Open questions

Computing geodesics in any CAT(0) cell complex.

Page 76: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Open questions

Constructing the convex hull of a finite set of points in a CAT(0)cell complex.

Page 77: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Open questions

Constructing the convex hull of a finite set of points in a CAT(0)cell complex.

Page 78: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

Open questions

Constructing the convex hull of a finite set of points in a CAT(0)cell complex.

O

Page 79: Shortest path problem in rectangular complexes of global ......Spaces of non-positive curvature = CAT(0) In 1987 M. Gromov introduces the notion of a CAT(k) space, in the honour of

”A smile is the shortest distance between two people.”

Victor Borge

Thank you!