Presentation is loading. Please wait.

Presentation is loading. Please wait.

Algorithms for hard problems Parse trees for graphs Juris Viksna, 2015.

Similar presentations


Presentation on theme: "Algorithms for hard problems Parse trees for graphs Juris Viksna, 2015."— Presentation transcript:

1 Algorithms for hard problems Parse trees for graphs Juris Viksna, 2015

2 t-boundaried graphs [Adapted from R.Downey, M.Fellows]

3 t-boundaried graphs [Adapted from R.Downey, M.Fellows]

4 Gluing of t-boundaried graphs [Adapted from R.Downey, M.Fellows]

5 Gluing of t-boundaried graphs [Adapted from R.Downey, M.Fellows] Note about the notation: x refers to the 1st graph x  refers to the 2nd graph x refers to the resulting graph

6 Graph parsing operators for tw=2 [Adapted from R.Downey, M.Fellows]

7 Graph parsing operators for tw=2 [Adapted from R.Downey, M.Fellows] Comment It seems that gluing operator is additionally needed – otherwise not clear how to obtain even K 3. The tree also does not produce G – probably some b-s should actually be gluings and maybe there are some mistakes in argument order.

8 Graph parsing operators for tw=2 [Adapted from R.Downey, M.Fellows]

9 Graph parsing operators [Adapted from R.Downey, M.Fellows]

10 Parsing theorem [Adapted from R.Downey, M.Fellows] Basically the theorem tells us that there is a one-to-(many?) correspondence between graphs of treewidth t and trees produced by parsing operators of size t+1. More over, graph  tree correspondence is constructive and could be computed in linear time. Still, sometimes we might need to be a bit careful, since tree  graph correspondence is given up to graph isomorphism.

11 Parsing theorem [Adapted from R.Downey,M.Fellows]

12 Parsing theorem [Adapted from R.Downey,M.Fellows]

13 Parsing theorem [Adapted from R.Downey, M.Fellows]

14 Parsing theorem [Adapted from R.Downey, M.Fellows]

15 Parsing theorem [Adapted from R.Downey, M.Fellows]

16 Parsing theorem [Adapted from R.Downey, M.Fellows]

17 Parsing theorem [Adapted from R.Downey, M.Fellows]

18 Parsing theorem [Adapted from R.Downey, M.Fellows]

19 Parsing theorem [Adapted from R.Downey,M.Fellows]

20 Parsing theorem [Adapted from R.Downey,M.Fellows]

21 Parsing theorem [Adapted from R.Downey, M.Fellows]

22 Parsing theorem [Adapted from R.Downey, M.Fellows]

23 “Small” and “Large” universes [Adapted from R.Downey, M.Fellows] Generally we will now be interested in properties of particular classes of t-boundaried graphs of treewidth t (we include the parse operator in definition to get boundary that can be “obtained” via parsing process). Sometimes this parsability may not matter for graphs of interest and we can consider simply the large universe of t-boundaried garphs.

24 Parsing replacement property [Adapted from R.Downey, M.Fellows]

25 Parsing replacement property [Adapted from R.Downey, M.Fellows]

26 Parsing replacement property [Adapted from R.Downey, M.Fellows]

27 Congruences and equivalences for graphs [Adapted from R.Downey, M.Fellows]

28 Finite state collections of parse graphs [Adapted from R.Downey, M.Fellows] So, we are already quite close to the generalization of FPT algorithms based on FA on strings :) Collection F is t-finite state, if parse trees for all graphs from F can be recognized by FTA. Thus, membership of F can be solved by construction of FTA (time f(k)) and running it on a given instance of graph (time O(n)).

29 Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows] Thus, the main point is translation from graph congruences with finite index to finite state trees.

30 Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows] Generally we will now be interested in properties of particular classes of t-boundaried graphs of treewidth t (we include the parse operator in definition to get boundary that can be “obtained” via parsing process). Sometimes this parsability may not matter for graphs of interest and we can consider simply the large universe of t-boundaried garphs.

31 Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

32 Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

33 Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

34 Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

35 Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

36 Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

37 Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

38 Myhill-Nerode theorem for parse graphs [Adapted from R.Downey, M.Fellows]

39 Graphs with bounded bandwidth [Adapted from R.Downey, M.Fellows]

40 Graphs with bounded bandwidth [Adapted from R.Downey, M.Fellows]

41 Graphs with bounded bandwidth [Adapted from R.Downey, M.Fellows]

42 Graphs with bounded bandwidth [Adapted from R.Downey, M.Fellows]

43 Test sets and Hamiltonicity [Adapted from R.Downey, M.Fellows]

44 Test sets and Hamiltonicity [Adapted from R.Downey, M.Fellows]

45 Test sets and Hamiltonicity [Adapted from R.Downey, M.Fellows]

46 Test sets and Hamiltonicity [Adapted from R.Downey, M.Fellows]

47 Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

48 Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

49 Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

50 Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

51 Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

52 Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

53 Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

54 Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

55 Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]

56 Graphs with bounded cutwidth [Adapted from R.Downey, M.Fellows]


Download ppt "Algorithms for hard problems Parse trees for graphs Juris Viksna, 2015."

Similar presentations


Ads by Google