A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
A center curve under the Fr´ echet distance
Jan Hitzschke
30.03.2020
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Introduction
Preparations
The Problem as an Inequality System
A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders
End
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction
Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The center curve problem
Definition
Acurve is a continuous mapp : [0,1]→Rm. LetCm be the set of all curves in Rm.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction
Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The center curve problem
Definition
Acurve is a continuous mapp : [0,1]→Rm. LetCm be the set of all curves in Rm.
I Assume all curves to be piece-wise linear.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction
Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The center curve problem
Definition
Acurve is a continuous mapp : [0,1]→Rm. LetCm be the set of all curves in Rm.
I Assume all curves to be piece-wise linear.
Problem
Given curves p1, ...,pn∈Cm,r∈Rand a distance measure d :Cm2 →R, find a curveq ∈Cm such thatd(pi,q)≤r or decide that none exists.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction
Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example Center Curve
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction
Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example Center Curve
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction
Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The Fr´ echet distance
Definition
Call a map f : [0,1]→[0,1] a paceif it is a continuous and increasing bijection. Let P be the set of all paces.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction
Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The Fr´ echet distance
Definition
Call a map f : [0,1]→[0,1] a paceif it is a continuous and increasing bijection. Let P be the set of all paces.
Definition
Define theFr´echet distanceas the mapdF :Cm2 →Rwith dF(p,q) := inf
f∈P max
x∈[0,1] kp(x)−q(f(x))k
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction
Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The Fr´ echet distance
Definition
Call a map f : [0,1]→[0,1] a paceif it is a continuous and increasing bijection. Let P be the set of all paces.
Definition
Define theFr´echet distanceas the mapdF :Cm2 →Rwith dF(p,q) := inf
f∈P max
x∈[0,1] kp(x)−q(f(x))k Lemma
The Fr´echet distance is symmetric and satisfies the triangle inequality. It becomes a metric by setting
p ∼q ⇐⇒ dF(p,q) = 0.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction
Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Open questions
I The Fr´echet center curve problem is NP-hard. Is it in NP?
I How can the set of solutions to the problem be represented?
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Pace
dF(p,q) := inf
f∈P max
x∈[0,1] kp(x)−q(f(x))k
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Pace
dF(p,q) := inf
f∈P max
x∈[0,1] kp(x)−q(f(x))k
(0,0)
(1,1)
1 x 1
y
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Pace
dF(p,q) := inf
f∈P max
x∈[0,1] kp(x)−q(f(x))k
q
(0,0) p
(1,1)
1 x 1
y
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Pace
dF(p,q) := inf
f∈P max
x∈[0,1] kp(x)−q(f(x))k
q
(0,0) p
(1,1)
1 x 1
y
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Redefining d
Fwith Monotone Paths
Definition
Call the image T of a curve pT : [0,1]→R2 amonotone pathif
1. pT(0) = (0,0) andpT(1) = (1,1)
2. x ≤y =⇒ pT(x)1 ≤pT(y)1 andpT(x)2 ≤pT(y)2. Denote the set of all monotone paths by T.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Redefining d
Fwith Monotone Paths
Definition
Call the image T of a curve pT : [0,1]→R2 amonotone pathif
1. pT(0) = (0,0) andpT(1) = (1,1)
2. x ≤y =⇒ pT(x)1 ≤pT(y)1 andpT(x)2 ≤pT(y)2. Denote the set of all monotone paths by T.
Lemma
For any curves p,q ∈Cm their Fr´echet distance can be expressed as
dF(p,q) = min
T∈T max
t∈T kp(t1)−q(t2)k
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Monotone Path
dF(p,q) = min
T∈T max
t∈T kp(t1)−q(t2)k
q
(0,0) p 1 x
1 y
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Monotone Path
dF(p,q) = min
T∈T max
t∈T kp(t1)−q(t2)k
q
(0,0) p 1 x
1 y
(1,1)
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Vertex Associations
Definition
Let p,q be piece-wise linear curves. A set A⊂T ∈T is called a vertex association, if Acontains a those points corresponding to vertices of either curve. Denote the set of all vertex associations byA.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Vertex Associations
Definition
Let p,q be piece-wise linear curves. A set A⊂T ∈T is called a vertex association, if Acontains a those points corresponding to vertices of either curve. Denote the set of all vertex associations byA.
Lemma
Let p,q be two piece-wise linear curves. Then dF = min
A∈A max
(x,y)∈Akp(x)−q(y)k
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Vertex Association
dF = min
A∈A max
(x,y)∈Akp(x)−q(y)k
q
(0,0) p
(1,1)
1 x 1
y
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Vertex Association
dF = min
A∈A max
(x,y)∈Akp(x)−q(y)k
q
(0,0) p
(1,1)
1 x 1
y
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Vertex Association
dF = min
A∈A max
(x,y)∈Akp(x)−q(y)k
q
(0,0) p
(1,1)
1 x 1
y
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Vertex Association
dF = min
A∈A max
(x,y)∈Akp(x)−q(y)k
q
(0,0) p
(1,1)
1 x 1
y
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Vertex Association
dF = min
A∈A max
(x,y)∈Akp(x)−q(y)k
q
(0,0) p
(1,1)
1 x 1
y
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Visiting Orders
Lemma
Given piece-wise linear curvesp1, ...,pn each of lengthl and a center curveq of radius r, there is a curveq0 with
I q0 is piece-wise linear withl0≤nl vertices.
I d(pi,q0)≤r for all i = 1, ...,n
I |Ai|=l0, i.e. each vertex of pi associates to a vertex of q0.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Visiting Orders
Lemma
Given piece-wise linear curvesp1, ...,pn each of lengthl and a center curveq of radius r, there is a curveq0 with
I q0 is piece-wise linear withl0≤nl vertices.
I d(pi,q0)≤r for all i = 1, ...,n.
I |Ai|=l0, i.e. each vertex of pi associates to a vertex of q0.
This gives an enumeration of the input vertices by the order of their associated vertices in q0.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Visiting Orders
Lemma
Given piece-wise linear curvesp1, ...,pn each of lengthl and a center curveq of radius r, there is a curveq0 with
I q0 is piece-wise linear withl0≤nl vertices.
I d(pi,q0)≤r for all i = 1, ...,n
I |Ai|=l0, i.e. each vertex of pi associates to a vertex of q0.
This gives an enumeration of the input vertices by the order of their associated vertices in q0.
Definition
Given n piece-wise linear curves with l vertices each, let N =n(l−2). Then avisiting orderΓ is a sequence Γ0,Γ1, ...,ΓN ∈ {1, ...,l}n where
I Γ0= (1, ...,1) I Γk = Γk−1+ejk.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Visiting Order
p1 p2 p3
1 1 1
2 2
3 3
2 3 4
4 4
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Visiting Order
p1 p2 p3
2 2
3 3
2 3 4
4 4 1
1 1
Γ0
1 1 1
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Visiting Order
p1 p2 p3
2
3 3
2 3 4
4 4 1
1 1
2
Γ0 Γ1
1 1 1
2 1 1
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Visiting Order
p1 p2 p3
3 3
2 3 4
4 4 1
1 1
2 2
Γ0 Γ1 Γ2
1 1 1
2 1 1
2 2 1
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Visiting Order
p1 p2 p3
3
2 3 4
4 4 1
1 1
2 2
3
Γ0 Γ1 Γ2 Γ3
1 1 1
2 1 1
2 2 1
3 2 1
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Visiting Order
p1 p2
p3 2 3 4
4 4 1
1 1
2 2
3 3
Γ0 Γ1 Γ2 Γ3 Γ4
1 1 1
2 1 1
2 2 1
3 2 1
3 3 1
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Visiting Order
p1 p2
p3 3 4
4 4 1
1 1
2 2
3 3 2
Γ0 Γ1 Γ2 Γ3 Γ4 Γ5
1 1 1
2 1 1
2 2 1
3 2 1
3 3 1
3 3 2
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Visiting Order
p1 p2
p3 4
4 4 1
1 1
2 2
3 3
2 3
Γ0 Γ1 Γ2 Γ3 Γ4 Γ5 Γ6
1 1 1
2 1 1
2 2 1
3 2 1
3 3 1
3 3 2
3 3 3
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Example: Visiting Order
p1 p2 p3
1 1 1
2 2
3 3
2 3 4
4 4
Γ0 Γ1 Γ2 Γ3 Γ4 Γ5 Γ6
1 1 1
2 1 1
2 2 1
3 2 1
3 3 1
3 3 2
3 3 3
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Preparing the variables
I Assume to have guessed the correct visiting order Γ.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Preparing the variables
I Assume to have guessed the correct visiting order Γ.
I Denote the vertices of pi as p1i,p2i, ...,pil.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Preparing the variables
I Assume to have guessed the correct visiting order Γ.
I Denote the vertices of pi as p1i,p2i, ...,pil.
I Denote vertices of the center curveq asq0,q1, ...,qN+1.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Preparing the variables
I Assume to have guessed the correct visiting order Γ.
I Denote the vertices of pi as p1i,p2i, ...,pil.
I Denote vertices of the center curveq asq0,q1, ...,qN+1. I Each qk is associated to a point between pΓik
i
andpΓik i+1.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Preparing the variables
I Assume to have guessed the correct visiting order Γ.
I Denote the vertices of pi as p1i,p2i, ...,pil.
I Denote vertices of the center curveq asq0,q1, ...,qN+1. I Each qk is associated to a point between pΓik
i
andpΓik i+1. I The exact position can be represented by a value
λik ∈[0,1].
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Preparing the variables
I Assume to have guessed the correct visiting order Γ.
I Denote the vertices of pi as p1i,p2i, ...,pil.
I Denote vertices of the center curveq asq0,q1, ...,qN+1. I Each qk is associated to a point between pΓik
i
andpΓik i+1. I The exact position can be represented by a value
λik ∈[0,1].
I λik = 0 if Γki −Γk−1i = 1 (say i =jk).
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The Inequality System
The set of solutions to the center curve problem is represented as
QΓ(p,r) =
(q, λ)∈RN×m+n×N :
kqk−skik ≤ r (1−λik)pΓik
i
−λikpiΓk
i+1 = ski
kq0−pi1k ≤ r kqN+1−plik ≤ r λjkk = 0
∀i 6=jk λik−1 ≤ λik 0≤λik ≤ 1
wherek = 1, ...,N and i = 1, ...,n in each line.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The Inequality System
The set of solutions to the center curve problem is represented as
QΓ(p,r) =
(q, λ)∈RN×m+n×N :
kqk−skik ≤ r (1−λik)pΓik
i
−λikpiΓk
i+1 = ski
kq0−pi1k ≤ r kqN+1−plik ≤ r λjkk = 0
∀i 6=jk λik−1 ≤ λik 0≤λik ≤ 1
wherek = 1, ...,N and i = 1, ...,n in each line.
How to solve this?
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The Inequality System
The set of solutions to the center curve problem is represented as
QΓ(p,r) =
(q, λ)∈RN×m+n×N :
kqk−skik ≤ r (1−λik)pi
Γki −λikpi
Γki+1 = ski kq0−pi1k ≤ r kqN+1−plik ≤ r λjkk = 0
∀i 6=jk λik−1 ≤ λik 0≤λik ≤ 1
wherek = 1, ...,N and i = 1, ...,n in each line.
How to solve this?
QΓ(p,r) is convex. =⇒ Use or adapt convex optimization techniques!
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Relaxations
I If theλik are known, this reduces to solvingN+ 2 center problems of points.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Relaxations
I If theλik are known, this reduces to solvingN+ 2 center problems of points.
I If theqk are known, this reduces to computingn vertex associations for a given visiting order. This can be done efficiently by a greedy algorithm.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Relaxations
I If theλik are known, this reduces to solvingN+ 2 center problems of points.
I If theqk are known, this reduces to computingn vertex associations for a given visiting order. This can be done efficiently by a greedy algorithm.
I If the constraints λik−1 ≤λik are dropped, allqk are independent from each other.
=⇒ Each is the solution to a center problem of points and lines.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The Ellipsoid Method
Separation
Each inequality constraining Q(p,r) can be made into a polynomial time separation oracle.
(But not if r was a variable!)
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The Ellipsoid Method
Separation
Each inequality constraining Q(p,r) can be made into a polynomial time separation oracle.
(But not if r was a variable!) Proof.
Given a vector y the constraintyTy ≤r2 can be checked efficiently.
Ifkyk>r, for anyx ∈QΓ(p,r), by Cauchy-Schwarz:
yTx ≤ kykkxk ≤ kykr <kyk2=yTy
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The Ellipsoid Method
Separation
Each inequality constraining Q(p,r) can be made into a polynomial time separation oracle.
(But not if r was a variable!) Proof.
Given a vector y the constraintyTy ≤r2 can be checked efficiently.
Ifkyk>r, for anyx ∈QΓ(p,r), by Cauchy-Schwarz:
yTx ≤ kykkxk ≤ kykr<kyk2
We can use the ellipsoid method
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The Ellipsoid Method
Separation
Each inequality constraining Q(p,r) can be made into a polynomial time separation oracle.
(But not if r was a variable!) Proof.
Given a vector y the constraintyTy ≤r2 can be checked efficiently.
Ifkyk>r, for anyx ∈QΓ(p,r), by Cauchy-Schwarz:
yTx ≤ kykkxk ≤ kykr <kyk2=yTy
We can use the ellipsoid method
to get a point x∈QΓ(p,r) or decide thatvol(QΓ(p,r))<C for anyC >0.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The Ellipsoid Method
I LetQΓ(p,r) result from QΓ(p,r) by increasing all right hand sides by.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The Ellipsoid Method
I LetQΓ(p,r) result from QΓ(p,r) by increasing all right hand sides by.
I IfQΓ(p,r)6=∅, then vol(QΓ(p,r))≥C(m, ).
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The Ellipsoid Method
I LetQΓ(p,r) result from QΓ(p,r) by increasing all right hand sides by.
I IfQΓ(p,r)6=∅, then vol(QΓ(p,r))≥C(m, ).
I Ifx ∈QΓ(p,r) is found, thenx ∈QΓ(p,r+) with small changes.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
The Ellipsoid Method
I LetQΓ(p,r) result from QΓ(p,r) by increasing all right hand sides by.
I IfQΓ(p,r)6=∅, then vol(QΓ(p,r))≥C(m, ).
I Ifx ∈QΓ(p,r) is found, thenx ∈QΓ(p,r+) with small changes.
Theorem
For inputs p,r, fixed visiting orderσ and >0 there is a polynomial time algorithm that
I gives a center curve with radius ≤r+or I decides there is no center curve of radiusr.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Adapting the Simplex Method
Lemma
Each linear closed constraint of a closed convex set P is attained with equality by some point x∈P unless it is redundant.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Adapting the Simplex Method
Lemma
Each linear closed constraint of a closed convex set P is attained with equality by some point x∈P unless it is redundant.
Proposition
By guessing which are attained as equalities, all linear inequalities constraining QΓ(p,r) can be transformed or removed.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Adapting the Simplex Method
Lemma
Each linear closed constraint of a closed convex set P is attained with equality by some point x∈P unless it is redundant.
Proposition
By guessing which are attained as equalities, all linear inequalities constraining QΓ(p,r) can be transformed or removed.
Question
Can a similar thing be done for nonlinear inequalities?
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Assumptions on nonlinear constraints
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Assumptions on nonlinear constraints
x y
z
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Assumptions on nonlinear constraints
x y
z y’
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Assumptions on nonlinear constraints
x y
z y’
y’
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Assumptions on nonlinear constraints
x y
z y’
y’
x
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Assumptions on nonlinear constraints
x y
z y’
y’
x y’
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Observations on the line
Lemma
A center curveq can be chosen such that for allk = 1, ...N, one of the conditions qk =qk−1 or kqk−pΓσkk
σk
k=r is satisfied.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Observations on the line
Lemma
A center curveq can be chosen such that for allk = 1, ...N, one of the conditions qk =qk−1 or kqk−pΓσkk
σk
k=r is satisfied.
Fact
For a point y ∈R, there are exactly two points y1 <y2∈R with |yi −y|=r for anyr >0.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Observations on the line
Lemma
A center curveq can be chosen such that for allk = 1, ...N, one of the conditions qk =qk−1 or kqk−pΓσkk
σk
k=r is satisfied.
Fact
For a point y ∈R, there are exactly two points y1 <y2∈R with |yi −y|=r for anyr >0.
Idea
Build the center curve iteratively by either staying at the current vertex or moving to the closer one of the two candidates.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
A center curve Algorithm on the Line
Theorem
Given curves p1, ...,pn in Randr ≥0, a curveq can be computed in time O(N) such thatq is a center curve with radiusr if one exists.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
A center curve Algorithm on the Line
Theorem
Given curves p1, ...,pn in Randr ≥0, a curveq can be computed in time O(N) such thatq is a center curve with radiusr if one exists.
Lemma
Whether dF(pi,q)≤r can be checked in polynomial time.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Counting Visiting Orders
Lemma
Given n curves with l vertices each, the number|V|of possible visiting orders is|V|= (l−2)!N! n.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Counting Visiting Orders
Lemma
Given n curves with l vertices each, the number|V|of possible visiting orders is|V|= (l−2)!N! n.
Lemma
For this number, there are bounds n
2 N−n
≤ |V| ≤nN
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Counting Visiting Orders
Lemma
Given n curves with l vertices each, the number|V|of possible visiting orders is|V|= (l−2)!N! n.
Lemma
For this number, there are bounds n
2 N−n
≤ |V| ≤nN
I An algorithm trying all visiting orders can have exponential, but no polynomial runtime.
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
Counting Visiting Orders
Lemma
Given n curves with l vertices each, the number|V|of possible visiting orders is|V|= (l−2)!N! n.
Lemma
For this number, there are bounds n
2 N−n
≤ |V| ≤nN
I An algorithm trying all visiting orders can have exponential, but no polynomial runtime.
I Is there a way to not test every single visiting order?
A center curve under the Fr´echet
distance Jan Hitzschke
Introduction Preparations The Problem as an Inequality System A Center Curve Algorithm on the Line
A better Way to guess Visiting Orders End
n-wise Fr´ echet distance
Definition
Given curves p1, ...,pn their n-wise Fr´echet distance is defined as
dF(p1, ...,pn) = inf
f1,...,fn∈P max
1≤i,j≤n max
x∈[0,1]kpi(fi(x))−pj(fj(x))k