• Keine Ergebnisse gefunden

A center curve under the Fr´echet distance

N/A
N/A
Protected

Academic year: 2022

Aktie "A center curve under the Fr´echet distance"

Copied!
86
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(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

A center curve under the Fr´ echet distance

Jan Hitzschke

30.03.2020

(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

Introduction

Preparations

The Problem as an Inequality System

A Center Curve Algorithm on the Line

A better Way to guess Visiting Orders

End

(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

The center curve problem

Definition

Acurve is a continuous mapp : [0,1]→Rm. LetCm be the set of all curves in Rm.

(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

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.

(5)

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.

(6)

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

(7)

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

(8)

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.

(9)

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

fP max

x∈[0,1] kp(x)−q(f(x))k

(10)

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

fP 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.

(11)

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?

(12)

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

fP max

x∈[0,1] kp(x)−q(f(x))k

(13)

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

fP max

x∈[0,1] kp(x)−q(f(x))k

(0,0)

(1,1)

1 x 1

y

(14)

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

fP max

x∈[0,1] kp(x)−q(f(x))k

q

(0,0) p

(1,1)

1 x 1

y

(15)

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

fP max

x∈[0,1] kp(x)−q(f(x))k

q

(0,0) p

(1,1)

1 x 1

y

(16)

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

F

with 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.

(17)

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

F

with 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

(18)

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

(19)

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)

(20)

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.

(21)

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

(22)

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

(23)

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

(24)

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

(25)

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

(26)

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

(27)

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.

(28)

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.

(29)

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 Γ01, ...,ΓN ∈ {1, ...,l}n where

I Γ0= (1, ...,1) I Γk = Γk−1+ejk.

(30)

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

(31)

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

(32)

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

(33)

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

(34)

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

(35)

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

(36)

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

(37)

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

(38)

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

(39)

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 Γ.

(40)

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.

(41)

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.

(42)

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.

(43)

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].

(44)

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).

(45)

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.

(46)

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?

(47)

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!

(48)

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.

(49)

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.

(50)

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.

(51)

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!)

(52)

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

(53)

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

(54)

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.

(55)

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.

(56)

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, ).

(57)

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.

(58)

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.

(59)

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.

(60)

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.

(61)

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?

(62)

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

(63)

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

(64)

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’

(65)

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’

(66)

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

(67)

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’

(68)

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.

(69)

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.

(70)

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.

(71)

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.

(72)

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.

(73)

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.

(74)

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

(75)

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.

(76)

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?

(77)

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,...,fnP max

1≤i,j≤n max

x∈[0,1]kpi(fi(x))−pj(fj(x))k

Referenzen

ÄHNLICHE DOKUMENTE

If the coefficient of future inflation is restricted in a standard NK Phillips Curve, this creates a bias on the estimate of the slope of the Phillips Curve, This dampening

The slope of this curve is the differences between the long-term and the short-term interest rates and it gives the shape of the yield curve; this shape can differ over the time

Suppose the education level of the modern sector results in a wage income distribution that is fitted by a gamma pdf with the same shape parameter as that fitted to the wage

The anti-Phillips curve is not designated to kill the conventional Phillips curve, but to be used for the prediction of the rate of unemployment in the United States using

Most of the previous work for this problem focuses on exact methods based on integer programming (IP) but in this work we suggest a genetic algorithm with a local search

The Free-Rider Problem: A Pedagogical Note (Using Indifference

Recent developments in small arms manufacturing, technology, and design pose a series of challenges to the implementation of existing control instru- ments, such as the UN Small

In the context of possible Russian provocation in the breakaway Georgian republics of Abkhazia and South Ossetia, the European Union Monitoring Mission in Georgia (EUMM), and