The Complexity of Finding Paths in Tournaments Till Tantau - - PowerPoint PPT Presentation

the complexity of finding paths in tournaments
SMART_READER_LITE
LIVE PREVIEW

The Complexity of Finding Paths in Tournaments Till Tantau - - PowerPoint PPT Presentation

Introduction Review Finding Paths in Tournaments Summary The Complexity of Finding Paths in Tournaments Till Tantau International Computer Schience Institute Berkeley, California January 30th, 2004 Till Tantau The Complexity of Finding


slide-1
SLIDE 1

Introduction Review Finding Paths in Tournaments Summary

The Complexity of Finding Paths in Tournaments

Till Tantau

International Computer Schience Institute Berkeley, California

January 30th, 2004

Till Tantau The Complexity of Finding Paths in Tournaments

slide-2
SLIDE 2

Introduction Review Finding Paths in Tournaments Summary

Outline

1

Introduction What are Tournaments? What Does “Finding Paths” Mean?

2

Review Standard Complexity Classes Standard Complexity Results on Finding Paths

3

Finding Paths in Tournaments Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Till Tantau The Complexity of Finding Paths in Tournaments

slide-3
SLIDE 3

Introduction Review Finding Paths in Tournaments Summary

Outline

1

Introduction What are Tournaments? What Does “Finding Paths” Mean?

2

Review Standard Complexity Classes Standard Complexity Results on Finding Paths

3

Finding Paths in Tournaments Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Till Tantau The Complexity of Finding Paths in Tournaments

slide-4
SLIDE 4

Introduction Review Finding Paths in Tournaments Summary

Outline

1

Introduction What are Tournaments? What Does “Finding Paths” Mean?

2

Review Standard Complexity Classes Standard Complexity Results on Finding Paths

3

Finding Paths in Tournaments Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Till Tantau The Complexity of Finding Paths in Tournaments

slide-5
SLIDE 5

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

Outline

1

Introduction What are Tournaments? What Does “Finding Paths” Mean?

2

Review Standard Complexity Classes Standard Complexity Results on Finding Paths

3

Finding Paths in Tournaments Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Till Tantau The Complexity of Finding Paths in Tournaments

slide-6
SLIDE 6

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

Tournaments Consist of Jousts Between Knights

What is a Tournament? A group of knights. Every pair has a joust. In every joust one knight wins.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-7
SLIDE 7

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

Tournaments Consist of Jousts Between Knights

What is a Tournament? A group of knights. Every pair has a joust. In every joust one knight wins.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-8
SLIDE 8

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

Tournaments Consist of Jousts Between Knights

What is a Tournament? A group of knights. Every pair has a joust. In every joust one knight wins.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-9
SLIDE 9

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

Tournaments are Complete Directed Graphs

v2 v3 v4 v1 Definition A tournament is a

1

directed graph,

2

with exactly one edge between any two different vertices.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-10
SLIDE 10

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

Tournaments Arise Naturally in Different Situations

Applicatins in Ordering Theory Elements in a set need to be sorted. The comparison relation may be cyclic, however. Applications in Sociology Several candidates apply for a position. Reviewers decide for any two candidates whom they prefer. Applications in Structural Complexity Theory A language L is given and a selector function f. It chooses from any two words the one more likely to be in f.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-11
SLIDE 11

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

Tournaments Arise Naturally in Different Situations

Applicatins in Ordering Theory Elements in a set need to be sorted. The comparison relation may be cyclic, however. Applications in Sociology Several candidates apply for a position. Reviewers decide for any two candidates whom they prefer. Applications in Structural Complexity Theory A language L is given and a selector function f. It chooses from any two words the one more likely to be in f.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-12
SLIDE 12

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

Tournaments Arise Naturally in Different Situations

Applicatins in Ordering Theory Elements in a set need to be sorted. The comparison relation may be cyclic, however. Applications in Sociology Several candidates apply for a position. Reviewers decide for any two candidates whom they prefer. Applications in Structural Complexity Theory A language L is given and a selector function f. It chooses from any two words the one more likely to be in f.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-13
SLIDE 13

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

Outline

1

Introduction What are Tournaments? What Does “Finding Paths” Mean?

2

Review Standard Complexity Classes Standard Complexity Results on Finding Paths

3

Finding Paths in Tournaments Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Till Tantau The Complexity of Finding Paths in Tournaments

slide-14
SLIDE 14

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

“Finding Paths” is Ambiguous

Input for Path Finding Problems A graph G = (V, E), a source s ∈ V and a target t ∈ V. Example Input t s

Till Tantau The Complexity of Finding Paths in Tournaments

slide-15
SLIDE 15

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

“Finding Paths” is Ambiguous

Input for REACH A graph G = (V, E), a source s ∈ V and a target t ∈ V. Variants of Path Finding Problems Reachability Problem: Is there a path from s to t? Construction Problem: Construct a path from s to t? Optimization Problem: Construct a shortest path from s to t. Distance Problem: Is the distance of s and t at most d? Approximation Problem: Construct a path from s to t of length approximately their distance.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-16
SLIDE 16

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

“Finding Paths” is Ambiguous

Input for REACH A graph G = (V, E), a source s ∈ V and a target t ∈ V. Example Input t s Example Output “Yes”

Till Tantau The Complexity of Finding Paths in Tournaments

slide-17
SLIDE 17

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

“Finding Paths” is Ambiguous

Input for the Construction Problem A graph G = (V, E), a source s ∈ V and a target t ∈ V. Variants of Path Finding Problems Reachability Problem: Is there a path from s to t? Construction Problem: Construct a path from s to t? Optimization Problem: Construct a shortest path from s to t. Distance Problem: Is the distance of s and t at most d? Approximation Problem: Construct a path from s to t of length approximately their distance.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-18
SLIDE 18

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

“Finding Paths” is Ambiguous

Input for the Construction Problem A graph G = (V, E), a source s ∈ V and a target t ∈ V. Example Input t s Example Output t s

Till Tantau The Complexity of Finding Paths in Tournaments

slide-19
SLIDE 19

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

“Finding Paths” is Ambiguous

Input for the Optimization Problem A graph G = (V, E), a source s ∈ V and a target t ∈ V. Variants of Path Finding Problems Reachability Problem: Is there a path from s to t? Construction Problem: Construct a path from s to t? Optimization Problem: Construct a shortest path from s to t. Distance Problem: Is the distance of s and t at most d? Approximation Problem: Construct a path from s to t of length approximately their distance.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-20
SLIDE 20

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

“Finding Paths” is Ambiguous

Input for the Optimization Problem A graph G = (V, E), a source s ∈ V and a target t ∈ V. Example Input t s Example Output t s

Till Tantau The Complexity of Finding Paths in Tournaments

slide-21
SLIDE 21

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

“Finding Paths” is Ambiguous

Input for DISTANCE A graph G = (V, E), a source s ∈ V and a target t ∈ V. A maximum distance d. Variants of Path Finding Problems Reachability Problem: Is there a path from s to t? Construction Problem: Construct a path from s to t? Optimization Problem: Construct a shortest path from s to t. Distance Problem: Is the distance of s and t at most d? Approximation Problem: Construct a path from s to t of length approximately their distance.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-22
SLIDE 22

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

“Finding Paths” is Ambiguous

Input for DISTANCE A graph G = (V, E), a source s ∈ V and a target t ∈ V. A maximum distance d. Example Input t s , d = 2 Example Output “Yes”

Till Tantau The Complexity of Finding Paths in Tournaments

slide-23
SLIDE 23

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

“Finding Paths” is Ambiguous

Input for the Approximation Problem A graph G = (V, E), a source s ∈ V and a target t ∈ V. An approximation ratio r > 1. Variants of Path Finding Problems Reachability Problem: Is there a path from s to t? Construction Problem: Construct a path from s to t? Optimization Problem: Construct a shortest path from s to t. Distance Problem: Is the distance of s and t at most d? Approximation Problem: Construct a path from s to t of length approximately their distance.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-24
SLIDE 24

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

“Finding Paths” is Ambiguous

Input for the Approximation Problem A graph G = (V, E), a source s ∈ V and a target t ∈ V. An approximation ratio r > 1. Example Input t s , r = 1.5 Example Output t s

Till Tantau The Complexity of Finding Paths in Tournaments

slide-25
SLIDE 25

Introduction Review Finding Paths in Tournaments Summary What are Tournaments? What Does “Finding Paths” Mean?

“Finding Paths” is Ambiguous

Input for the Approximation Problem A graph G = (V, E), a source s ∈ V and a target t ∈ V. An approximation ratio r > 1. Example Input t s , r = 1.25 Example Output t s

Till Tantau The Complexity of Finding Paths in Tournaments

slide-26
SLIDE 26

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

Outline

1

Introduction What are Tournaments? What Does “Finding Paths” Mean?

2

Review Standard Complexity Classes Standard Complexity Results on Finding Paths

3

Finding Paths in Tournaments Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Till Tantau The Complexity of Finding Paths in Tournaments

slide-27
SLIDE 27

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

The Classes L and NL are Defined via Logspace Turing Machines

input tape (read only), n symbols 3401234*3143223=

  • utput tape (write only)

10690836937182 work tape (read/write), O(log n) symbols 42

Till Tantau The Complexity of Finding Paths in Tournaments

slide-28
SLIDE 28

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

The Classes L and NL are Defined via Logspace Turing Machines

input tape (read only), n symbols 3401234*3143223=

  • utput tape (write only)

10690836937182 work tape (read/write), O(log n) symbols 42

Till Tantau The Complexity of Finding Paths in Tournaments

slide-29
SLIDE 29

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

The Classes L and NL are Defined via Logspace Turing Machines

input tape (read only), n symbols 3401234*3143223=

  • utput tape (write only)

10690836937182 work tape (read/write), O(log n) symbols 42

Till Tantau The Complexity of Finding Paths in Tournaments

slide-30
SLIDE 30

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

Logspace Turing Machines Are Quite Powerful

Deterministic logspace machines can compute addition, multiplication, and even division reductions used in completeness proofs, reachability in forests. Non-deterministic logspace machines can compute reachability in graphs, non-reachability in graphs, satisfiability with two literals per clause.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-31
SLIDE 31

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

Logspace Turing Machines Are Quite Powerful

Deterministic logspace machines can compute addition, multiplication, and even division reductions used in completeness proofs, reachability in forests. Non-deterministic logspace machines can compute reachability in graphs, non-reachability in graphs, satisfiability with two literals per clause.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-32
SLIDE 32

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

The Complexity Class Hierarchy

P NL L

REACH REACHforest

Till Tantau The Complexity of Finding Paths in Tournaments

slide-33
SLIDE 33

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

The Circuit Complexity Classes AC0, NC1, and NC2 Limit the Circuit Depth

Circuit Class AC0 O(1) depth unbounded fan-in Examples

ADDITION ∈ AC0. PARITY /

∈ AC0. Circuit Class NC1 O(log n) depth bounded fan-in Examples

PARITY ∈ NC1. MUTIPLY ∈ NC1. DIVIDE ∈ NC1.

Circuit Class NC2 O(log2 n) depth bounded fan-in Examples

NL ⊆ NC2.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-34
SLIDE 34

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

The Circuit Complexity Classes AC0, NC1, and NC2 Limit the Circuit Depth

Circuit Class AC0 O(1) depth unbounded fan-in Examples

ADDITION ∈ AC0. PARITY /

∈ AC0. Circuit Class NC1 O(log n) depth bounded fan-in Examples

PARITY ∈ NC1. MUTIPLY ∈ NC1. DIVIDE ∈ NC1.

Circuit Class NC2 O(log2 n) depth bounded fan-in Examples

NL ⊆ NC2.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-35
SLIDE 35

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

The Circuit Complexity Classes AC0, NC1, and NC2 Limit the Circuit Depth

Circuit Class AC0 O(1) depth unbounded fan-in Examples

ADDITION ∈ AC0. PARITY /

∈ AC0. Circuit Class NC1 O(log n) depth bounded fan-in Examples

PARITY ∈ NC1. MUTIPLY ∈ NC1. DIVIDE ∈ NC1.

Circuit Class NC2 O(log2 n) depth bounded fan-in Examples

NL ⊆ NC2.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-36
SLIDE 36

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

The Complexity Class Hierarchy

P NC2 NL L NC1 AC0

REACH REACHforest ADDITION DIVISION, PARITY

Till Tantau The Complexity of Finding Paths in Tournaments

slide-37
SLIDE 37

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

Outline

1

Introduction What are Tournaments? What Does “Finding Paths” Mean?

2

Review Standard Complexity Classes Standard Complexity Results on Finding Paths

3

Finding Paths in Tournaments Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Till Tantau The Complexity of Finding Paths in Tournaments

slide-38
SLIDE 38

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

All Variants of Finding Paths in Directed Graphs Are Equally Difficult

Fact

REACH and DISTANCE are NL-complete.

Corollary For directed graphs, we can solve the reachability problem in logspace iff L = NL. the construction problem in logspace iff L = NL. the optimization problem in logspace iff L = NL. the approximation problem in logspace iff L = NL.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-39
SLIDE 39

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

All Variants of Finding Paths in Directed Graphs Are Equally Difficult

Fact

REACH and DISTANCE are NL-complete.

Corollary For directed graphs, we can solve the reachability problem in logspace iff L = NL. the construction problem in logspace iff L = NL. the optimization problem in logspace iff L = NL. the approximation problem in logspace iff L = NL.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-40
SLIDE 40

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

The Complexity Class Hierarchy

P NC2 NL L NC1 AC0

DISTANCE, REACH

Till Tantau The Complexity of Finding Paths in Tournaments

slide-41
SLIDE 41

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

FindingPaths in Forests and Directed Paths is Easy, But Not Trivial

Fact

REACHforest and DISTANCEforest are L-complete.

Fact

REACHpath and DISTANCEpath are L-complete.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-42
SLIDE 42

Introduction Review Finding Paths in Tournaments Summary Standard Complexity Classes Standard Complexity Results on Finding Paths

The Complexity Class Hierarchy

P NC2 NL L NC1 AC0

DISTANCE, REACH DISTANCEforest, REACHforest, DISTANCEpath, REACHpath

Till Tantau The Complexity of Finding Paths in Tournaments

slide-43
SLIDE 43

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Outline

1

Introduction What are Tournaments? What Does “Finding Paths” Mean?

2

Review Standard Complexity Classes Standard Complexity Results on Finding Paths

3

Finding Paths in Tournaments Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Till Tantau The Complexity of Finding Paths in Tournaments

slide-44
SLIDE 44

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Definition of the Tournament Reachability Problem

Definition Let REACHtourn contain all triples (T, s, t) such that

1

T = (V, E) is a tournament and

2

there exists a path from s to t.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-45
SLIDE 45

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

The Tournament Reachability Problem is Very Easy

Theorem

REACHtourn ∈ AC0.

Implications The problem is “easier” than REACH and even REACHpath.

REACH ≤AC0

m

REACHtourn.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-46
SLIDE 46

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

The Tournament Reachability Problem is Very Easy

Theorem

REACHtourn ∈ AC0.

Implications The problem is “easier” than REACH and even REACHpath.

REACH ≤AC0

m

REACHtourn.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-47
SLIDE 47

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

The Complexity Class Hierarchy

P NC2 NL L NC1 AC0

DISTANCE, REACH DISTANCEforest, REACHforest, DISTANCEpath, REACHpath REACHtourn

Till Tantau The Complexity of Finding Paths in Tournaments

slide-48
SLIDE 48

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Outline

1

Introduction What are Tournaments? What Does “Finding Paths” Mean?

2

Review Standard Complexity Classes Standard Complexity Results on Finding Paths

3

Finding Paths in Tournaments Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Till Tantau The Complexity of Finding Paths in Tournaments

slide-49
SLIDE 49

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Finding a Shortest Path Is as Difficult as the Distance Problem

Definition Let DISTANCEtourn contain all tuples (T, s, t, d) such that

1

T = (V, E) is a tournament in which

2

the distance of s and t is at most d.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-50
SLIDE 50

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

The Tournament Distance Problem is Hard

Theorem

DISTANCEtourn is NL-complete.

Skip Proof

Corollary Shortest path in tournaments can be constructed in logarithmic space, iff L = NL. Corollary

DISTANCE ≤AC0

m

DISTANCEtourn.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-51
SLIDE 51

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

The Tournament Distance Problem is Hard

Theorem

DISTANCEtourn is NL-complete.

Skip Proof

Corollary Shortest path in tournaments can be constructed in logarithmic space, iff L = NL. Corollary

DISTANCE ≤AC0

m

DISTANCEtourn.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-52
SLIDE 52

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

The Tournament Distance Problem is Hard

Theorem

DISTANCEtourn is NL-complete.

Skip Proof

Corollary Shortest path in tournaments can be constructed in logarithmic space, iff L = NL. Corollary

DISTANCE ≤AC0

m

DISTANCEtourn.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-53
SLIDE 53

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Proof That DISTANCEtourn is NL-complete

Reduce REACH to DISTANCEtourn

1

Is input (G, s, t) in REACH?

2

Map G to G′.

3

Query: (G′, s′, t′, 3) ∈ DISTANCEtourn? Correctness

1

A path in G induces a length-3 path in G′.

2

A length-3 path in G′ induces a path in G′. Example s t G:

Till Tantau The Complexity of Finding Paths in Tournaments

slide-54
SLIDE 54

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Proof That DISTANCEtourn is NL-complete

Reduce REACH to DISTANCEtourn

1

Is input (G, s, t) in REACH?

2

Map G to G′.

3

Query: (G′, s′, t′, 3) ∈ DISTANCEtourn? Correctness

1

A path in G induces a length-3 path in G′.

2

A length-3 path in G′ induces a path in G′. Example s t G: G′ : s′ t′

Till Tantau The Complexity of Finding Paths in Tournaments

slide-55
SLIDE 55

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Proof That DISTANCEtourn is NL-complete

Reduce REACH to DISTANCEtourn

1

Is input (G, s, t) in REACH?

2

Map G to G′.

3

Query: (G′, s′, t′, 3) ∈ DISTANCEtourn? Correctness

1

A path in G induces a length-3 path in G′.

2

A length-3 path in G′ induces a path in G′. Example s t G: G′ : s′ t′

Till Tantau The Complexity of Finding Paths in Tournaments

slide-56
SLIDE 56

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Proof That DISTANCEtourn is NL-complete

Reduce REACH to DISTANCEtourn

1

Is input (G, s, t) in REACH?

2

Map G to G′.

3

Query: (G′, s′, t′, 3) ∈ DISTANCEtourn? Correctness

1

A path in G induces a length-3 path in G′.

2

A length-3 path in G′ induces a path in G′. Example s t G: G′ : s′ t′

Till Tantau The Complexity of Finding Paths in Tournaments

slide-57
SLIDE 57

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Proof That DISTANCEtourn is NL-complete

Reduce REACH to DISTANCEtourn

1

Is input (G, s, t) in REACH?

2

Map G to G′.

3

Query: (G′, s′, t′, 3) ∈ DISTANCEtourn? Correctness

1

A path in G induces a length-3 path in G′.

2

A length-3 path in G′ induces a path in G′. Example s t G: G′ : s′ t′

Till Tantau The Complexity of Finding Paths in Tournaments

slide-58
SLIDE 58

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Proof That DISTANCEtourn is NL-complete

Reduce REACH to DISTANCEtourn

1

Is input (G, s, t) in REACH?

2

Map G to G′.

3

Query: (G′, s′, t′, 3) ∈ DISTANCEtourn? Correctness

1

A path in G induces a length-3 path in G′.

2

A length-3 path in G′ induces a path in G′. Example s t G: G′ : s′ t′

Till Tantau The Complexity of Finding Paths in Tournaments

slide-59
SLIDE 59

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Proof That DISTANCEtourn is NL-complete

Reduce REACH to DISTANCEtourn

1

Is input (G, s, t) in REACH?

2

Map G to G′.

3

Query: (G′, s′, t′, 3) ∈ DISTANCEtourn? Correctness

1

A path in G induces a length-3 path in G′.

2

A length-3 path in G′ induces a path in G′. Example s t G: G′ : s′ t′

Till Tantau The Complexity of Finding Paths in Tournaments

slide-60
SLIDE 60

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Proof That DISTANCEtourn is NL-complete

Reduce REACH to DISTANCEtourn

1

Is input (G, s, t) in REACH?

2

Map G to G′.

3

Query: (G′, s′, t′, 3) ∈ DISTANCEtourn? Correctness

1

A path in G induces a length-3 path in G′.

2

A length-3 path in G′ induces a path in G′. Example s t G: G′ : s′ t′

Till Tantau The Complexity of Finding Paths in Tournaments

slide-61
SLIDE 61

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Proof That DISTANCEtourn is NL-complete

Reduce REACH to DISTANCEtourn

1

Is input (G, s, t) in REACH?

2

Map G to G′.

3

Query: (G′, s′, t′, 3) ∈ DISTANCEtourn? Correctness

1

A path in G induces a length-3 path in G′.

2

A length-3 path in G′ induces a path in G′. Example s t G: G′ : s′ t′

Till Tantau The Complexity of Finding Paths in Tournaments

slide-62
SLIDE 62

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Proof That DISTANCEtourn is NL-complete

Reduce REACH to DISTANCEtourn

1

Is input (G, s, t) in REACH?

2

Map G to G′.

3

Query: (G′, s′, t′, 3) ∈ DISTANCEtourn? Correctness

1

A path in G induces a length-3 path in G′.

2

A length-3 path in G′ induces a path in G′. Example s t G: G′ : s′ t′

Till Tantau The Complexity of Finding Paths in Tournaments

slide-63
SLIDE 63

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Proof That DISTANCEtourn is NL-complete

Reduce REACH to DISTANCEtourn

1

Is input (G, s, t) in REACH?

2

Map G to G′.

3

Query: (G′, s′, t′, 3) ∈ DISTANCEtourn? Correctness

1

A path in G induces a length-3 path in G′.

2

A length-3 path in G′ induces a path in G′. Example s t G: G′ : s′ t′

Till Tantau The Complexity of Finding Paths in Tournaments

slide-64
SLIDE 64

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Proof That DISTANCEtourn is NL-complete

Reduce REACH to DISTANCEtourn

1

Is input (G, s, t) in REACH?

2

Map G to G′.

3

Query: (G′, s′, t′, 3) ∈ DISTANCEtourn? Correctness

1

A path in G induces a length-3 path in G′.

2

A length-3 path in G′ induces a path in G′. Example s t G: G′ : s′ t′

Till Tantau The Complexity of Finding Paths in Tournaments

slide-65
SLIDE 65

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Proof That DISTANCEtourn is NL-complete

Reduce REACH to DISTANCEtourn

1

Is input (G, s, t) in REACH?

2

Map G to G′.

3

Query: (G′, s′, t′, 3) ∈ DISTANCEtourn? Correctness

1

A path in G induces a length-3 path in G′.

2

A length-3 path in G′ induces a path in G′. Example s t G: G′ : s′ t′

Till Tantau The Complexity of Finding Paths in Tournaments

slide-66
SLIDE 66

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

The Complexity Class Hierarchy

P NC2 NL L NC1 AC0

DISTANCEforest, REACHforest, DISTANCEpath, REACHpath REACHtourn DISTANCEtourn, DISTANCE, REACH

Till Tantau The Complexity of Finding Paths in Tournaments

slide-67
SLIDE 67

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Outline

1

Introduction What are Tournaments? What Does “Finding Paths” Mean?

2

Review Standard Complexity Classes Standard Complexity Results on Finding Paths

3

Finding Paths in Tournaments Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Till Tantau The Complexity of Finding Paths in Tournaments

slide-68
SLIDE 68

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

Approximators Compute Paths that Are Nearly As Short As a Shortest Path

Definition An approximation scheme for TOURNAMENT-SHORTEST-PATH gets as input

1

a tuple (T, s, t) ∈ REACHtourn and

2

a number r > 1. It outputs a path from s to t of length at most r dT(s, t).

Till Tantau The Complexity of Finding Paths in Tournaments

slide-69
SLIDE 69

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

There Exists a Logspace Approximation Scheme for the Tournament Shortest Path Problem

Theorem There exists an approximation scheme for

TOURNAMENT-SHORTEST-PATH that for 1 < r < 2 needs space

O

  • log |V| log

1 r − 1

  • .

Corollary In tournaments, paths can be constructed in logarithmic space.

More Details Till Tantau The Complexity of Finding Paths in Tournaments

slide-70
SLIDE 70

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

There Exists a Logspace Approximation Scheme for the Tournament Shortest Path Problem

Theorem There exists an approximation scheme for

TOURNAMENT-SHORTEST-PATH that for 1 < r < 2 needs space

O

  • log |V| log

1 r − 1

  • .

Corollary In tournaments, paths can be constructed in logarithmic space.

More Details Till Tantau The Complexity of Finding Paths in Tournaments

slide-71
SLIDE 71

Introduction Review Finding Paths in Tournaments Summary Complexity of: Does a Path Exist? Complexity of: Construct a Shortest Path Complexity of: Approximating the Shortest Path

The Complexity Class Hierarchy

P NC2 NL L NC1 AC0

DISTANCEforest, REACHforest, DISTANCEpath, REACHpath REACHtourn DISTANCEtourn, DISTANCE, REACH

“APPROXtourn”

Till Tantau The Complexity of Finding Paths in Tournaments

slide-72
SLIDE 72

Introduction Review Finding Paths in Tournaments Summary Summary For Further Reading

Summary

Summary Tournament reachability is in AC0. There exists a logspace approximation scheme for approximating shortest paths in tournaments. Finding shortest paths in tournaments is NL-complete. Outlook The same results apply to graphs with bounded independence number.

More Details

The complexity of finding paths in undirected graphs is partly open.

More Details Till Tantau The Complexity of Finding Paths in Tournaments

slide-73
SLIDE 73

Introduction Review Finding Paths in Tournaments Summary Summary For Further Reading

For Further Reading

John Moon. Topics on Tournaments. Holt, Rinehart, and Winston, 1968. Arfst Nickelsen and Till Tantau. On reachability in graphs with bounded independence number. In Proc. of COCOON 2002, Springer-Verlag, 2002. Till Tantau A logspace approximation scheme for the shortest path problem for graphs with bounded independence number. In Proc. of STACS 2004, Springer-Verlag, 2004. In press.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-74
SLIDE 74

Appendix Graphs With Bounded Independence Number Finding Paths in Undirected Graphs The Approximation Scheme is Optimal

Definition of Independence Number of a Graph

Definition The independence number α(G) of a directed graph is the maximum number of vertices we can pick, such that there is no edge between them. Example Tournaments have independence number 1.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-75
SLIDE 75

Appendix Graphs With Bounded Independence Number Finding Paths in Undirected Graphs The Approximation Scheme is Optimal

The Results for Tournaments also Apply to Graphs With Bounded Independence Number

Theorem For each k, reachability in graphs with independence number at most k is in AC0. Theorem For each k, there exists a logspace approximation scheme for approximating the shortest path in graphs with independence number at most k Theorem For each k, finding the shortest path in graphs with independence number at most k is NL-complete.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-76
SLIDE 76

Appendix Graphs With Bounded Independence Number Finding Paths in Undirected Graphs The Approximation Scheme is Optimal

The Complexity of Finding Paths in Undirected Graphs Is Party Unknown.

Fact

REACHundirected is SL-complete.

Corollary For undirected graphs, we can solve the reachability problem in logspace iff L = SL, the construction problem in logspace iff ?, the optimization problem in logspace iff ?, the approximation problem in logspace iff ?.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-77
SLIDE 77

Appendix Graphs With Bounded Independence Number Finding Paths in Undirected Graphs The Approximation Scheme is Optimal

The Complexity of Finding Paths in Undirected Graphs Is Party Unknown.

Fact

REACHundirected is SL-complete.

Corollary For undirected graphs, we can solve the reachability problem in logspace iff L = SL, the construction problem in logspace iff L = SL, the optimization problem in logspace iff L = NL, the approximation problem in logspace iff ?.

Till Tantau The Complexity of Finding Paths in Tournaments

slide-78
SLIDE 78

Appendix Graphs With Bounded Independence Number Finding Paths in Undirected Graphs The Approximation Scheme is Optimal

The Approximation Scheme is Optimal

Theorem Suppose there exists an approximation scheme for

TOURNAMENT-SHORTEST-PATH that needs space

O

  • log |V| log1−ǫ

1 r−1

  • . Then NL ⊆ DSPACE
  • log2−ǫ n
  • .

Proof.

1

Suppose the approximation scheme exists. We show DISTANCEtourn ∈ DSPACE

  • log2−ǫ n
  • .

2

Let (T, s, t) be an input. Let n be the number of vertices.

3

Run the approximation scheme for r := 1 +

1 n+1.

This needs space O(log2−ǫ n).

4

The resulting path has optimal length.

Till Tantau The Complexity of Finding Paths in Tournaments