Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

26
Counting Euler tours? Qi Ge Daniel Štefankovič University of Rochester

Transcript of Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Page 1: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Counting Euler tours?

Qi GeDaniel Štefankovič

University of Rochester

Page 2: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Euler tour1) every edge exactly once2) end where started

Page 3: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Euler tour

not an Euler tour

1) every edge exactly once2) end where started

Page 4: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Basic facts there exists one if and only if all vertices have even degree(Eulerian graph)

an Euler tour in an Eulerian graphcan be found in linear time.

Can we find a random one?Can we count their number?

(efficiently)

Page 5: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Can we count their number?

264

poly

nom

ial tim

ealg

orith

m

Page 6: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Can we count their number?

directed graphs

undirected graphs#P-complete(Brightwell-Winkler’05)

polynomial-time algorithm known(using spanning trees)

exact countingin poly-timeunlikely

Page 7: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Can we count their number?approximately

(open question, listed, e.g., in Approximation algorithms (V.Vazirani))

self-reducible approximate counting approximate sampling (Jerrum, Valiant, V.Vazirani’86)

26410%

poly

nom

ial tim

ealg

orith

m

Page 8: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Can we find a random one?4-regular graphs

Markov chain pick a random vertex v locally change the tour at v

(exactly 2 of these are valid)

Page 9: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Can we find a random one?Markov chain X1,X2,X3, .... , Xt, ...

|P(Xt=a) - | 1

Ma

L1 distance to uniform distribution

mixing time = t to get L1 distance /2

OPEN:is the mixingtime polynomial?

Page 10: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Can we find a random one?4-regular graphs

Markov chain pick a vertex v locally change the tour at v

(exactly 2 of these are valid)

general ????

Page 11: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

vertices with “rotations”

Counting A-trails in a map

Page 12: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

mapvertices with “rotations”and a graph

Page 13: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

A-trail =euler tour without crossings

not allowed

Page 14: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.
Page 15: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

A-trail

Page 16: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Can we (approximately) count their number?

for planar maps yes (Kotzig’68)

for general maps?

Page 17: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Our results: A-trails in 4-reg enough

approximate sampling/countingof A-trails in 4-regular maps

approximate sampling/countingof Euler tours in Eulerian graphs

(AP-reduction (Goldberg, Dyer, Greenhill, Jerrum’04))

Page 18: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

A-trails in 4-reg enoughapproximate sampling/countingof A-trails in 4-regular maps

approximate sampling/countingof Euler tours in 4-regular graphs

Page 19: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

approximate sampling/countingof A-trails in 4-regular maps

approximate sampling/countingof Euler tours in 4-regular graphs

Page 20: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

approximate sampling/countingof A-trails in 4-regular maps

approximate sampling/countingof Euler tours in Eulerian graphs

A-trails in 4-reg enough

Page 21: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

1 2 3 4 5 6

2 1 3 4 6 52 3 1 4 6 5

3 2 4 1 6 53 4 2 6 1 5

Theorem (Wilson’04): in O(d3 ln2d ln(1/)) steps get /2 L1 distance from uniform on permutations.

........even-odd sweeping MC

Page 22: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Exact: A-trails in 4-reg enough

exact countingof A-trails in 4-regular maps

exact countingof Euler tours in Eulerian graphs

(corollary: counting A-trails in 4-regular graphs #P-complete)

Page 23: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Exact: A-trails in 4-reg enough

Page 24: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Exact: A-trails in 4-reg enough

Page 25: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Our results: A-trails in 4-reg enough

approximate sampling/countingof A-trails in 4-regular maps

approximate sampling/countingof Euler tours in Eulerian graphs

(AP-reduction (Goldberg, Dyer, Greenhill, Jerrum’04))

Page 26: Counting Euler tours? Qi Ge Daniel Štefankovi č University of Rochester.

Questions:

AP reduction from Euler tours in Eulerian graps to Euler tours in 4-regular graphs?

Approximate sampling/countingof Euler tours/A-trails?

Which subsets of the hypercube can be sampled from?