spanning trees and the complexity of flood filling games
play

Spanning trees and the complexity of flood-filling games Kitty - PowerPoint PPT Presentation

Spanning trees and the complexity of flood-filling games Kitty Meeks Alex Scott Mathematical Institute University of Oxford FUN 2012, Venice The original Flood-It game The original Flood-It game The original Flood-It game The original


  1. Spanning trees and the complexity of flood-filling games Kitty Meeks Alex Scott Mathematical Institute University of Oxford FUN 2012, Venice

  2. The original Flood-It game

  3. The original Flood-It game

  4. The original Flood-It game

  5. The original Flood-It game

  6. The original Flood-It game

  7. The original Flood-It game

  8. The original Flood-It game

  9. The original Flood-It game

  10. The Honey-Bee game

  11. Generalising to arbitrary graphs

  12. Generalising to arbitrary graphs Sources: brighton-hove.dbprimary.com, englishclub.com, picgifs.com

  13. Generalising to arbitrary graphs Sources: brighton-hove.dbprimary.com, englishclub.com, picgifs.com

  14. Generalising to arbitrary graphs Sources: brighton-hove.dbprimary.com, englishclub.com, picgifs.com

  15. Generalising to arbitrary graphs Sources: brighton-hove.dbprimary.com, englishclub.com, picgifs.com

  16. Generalising to arbitrary graphs Sources: brighton-hove.dbprimary.com, englishclub.com, picgifs.com

  17. Generalising to arbitrary graphs Sources: brighton-hove.dbprimary.com, englishclub.com, picgifs.com

  18. Generalising to arbitrary graphs Sources: brighton-hove.dbprimary.com, englishclub.com, picgifs.com

  19. Generalising to arbitrary graphs Sources: brighton-hove.dbprimary.com, englishclub.com, picgifs.com

  20. Existing results concerning Free Flood It Given a coloured graph G , Free Flood It is the problem of determining the minimum number of moves required to flood G , when we are allowed to make moves anywhere in the graph.

  21. Existing results concerning Free Flood It Given a coloured graph G , Free Flood It is the problem of determining the minimum number of moves required to flood G , when we are allowed to make moves anywhere in the graph. Free Flood It is NP-hard when restricted to n × n or 3 × n grids,

  22. Existing results concerning Free Flood It Given a coloured graph G , Free Flood It is the problem of determining the minimum number of moves required to flood G , when we are allowed to make moves anywhere in the graph. Free Flood It is NP-hard when restricted to n × n or 3 × n grids, trees,

  23. Existing results concerning Free Flood It Given a coloured graph G , Free Flood It is the problem of determining the minimum number of moves required to flood G , when we are allowed to make moves anywhere in the graph. Free Flood It is NP-hard when restricted to n × n or 3 × n grids, trees, series-parallel graphs.

  24. Existing results concerning Free Flood It Given a coloured graph G , Free Flood It is the problem of determining the minimum number of moves required to flood G , when we are allowed to make moves anywhere in the graph. Free Flood It is NP-hard when restricted to n × n or 3 × n grids, trees, series-parallel graphs. Free Flood It can be solved in polynomial time when restricted to paths cycles co-comparability graphs

  25. Existing results concerning Free Flood It Given a coloured graph G , Free Flood It is the problem of determining the minimum number of moves required to flood G , when we are allowed to make moves anywhere in the graph. Free Flood It is NP-hard when restricted to n × n or 3 × n grids, trees, series-parallel graphs. Free Flood It can be solved in polynomial time when restricted to paths cycles co-comparability graphs or if only two colours are used

  26. Connecting pairs of vertices G v u

  27. Connecting pairs of vertices G v u Using this fact, we can compute in time O ( | V | 3 | E | c 2 ) the number of moves required to connect any given pair of vertices in a graph G = ( V , E ) coloured with c colours.

  28. Spanning trees Theorem The number of moves required to flood a coloured graph G is equal to the minimum, taken over all spanning trees T of G, of the number of moves required to flood T.

  29. Spanning trees Theorem The number of moves required to flood a coloured graph G is equal to the minimum, taken over all spanning trees T of G, of the number of moves required to flood T.

  30. Spanning trees Theorem The number of moves required to flood a coloured graph G is equal to the minimum, taken over all spanning trees T of G, of the number of moves required to flood T.

  31. Spanning trees Theorem The number of moves required to flood a coloured graph G is equal to the minimum, taken over all spanning trees T of G, of the number of moves required to flood T.

  32. Spanning trees Theorem The number of moves required to flood a coloured graph G is equal to the minimum, taken over all spanning trees T of G, of the number of moves required to flood T.

  33. Spanning trees Theorem The number of moves required to flood a coloured graph G is equal to the minimum, taken over all spanning trees T of G, of the number of moves required to flood T.

  34. Spanning trees Theorem The number of moves required to flood a coloured graph G is equal to the minimum, taken over all spanning trees T of G, of the number of moves required to flood T.

  35. Spanning trees Theorem The number of moves required to flood a coloured graph G is equal to the minimum, taken over all spanning trees T of G, of the number of moves required to flood T.

  36. Spanning trees Theorem The number of moves required to flood a coloured graph G is equal to the minimum, taken over all spanning trees T of G, of the number of moves required to flood T.

  37. Proof of spanning trees result: key step A B The number of moves required to flood T with colour d is at most the sum of the numbers of moves required to flood A and B respectively with colour d .

  38. This is useless! In general, a graph has an exponential number of spanning trees.

  39. This is useless! In general, a graph has an exponential number of spanning trees. Besides, Free Flood It is still NP-hard even on trees.

  40. P = NP ... or is it?

  41. ... or is it? P = NP

  42. ... or is it? P = NP

  43. ... or is it? Source: finditinscotland.com

  44. ... or is it? Source: finditinscotland.com

  45. ... or is it? A B The number of moves required to flood G with colour d is at most the sum of the numbers of moves required to flood A and B respectively with colour d .

  46. ... or is it? H The number of moves required to flood a subgraph doesn’t increase when we play in a larger graph.

  47. ... or is it? G H The number of moves required to flood a subgraph doesn’t increase when we play in a larger graph.

  48. Application I: Graphs with polynomially many connected subgraphs Theorem Free Flood It can be solved in polynomial time on graphs that have only a polynomial number of connected subgraphs. A

  49. Application I: Graphs with polynomially many connected subgraphs Theorem Free Flood It can be solved in polynomial time on graphs that have only a polynomial number of connected subgraphs. A A 1 A 2

  50. Application I: Graphs with polynomially many connected subgraphs Classes of graphs with only a polynomial number of connected subgraphs include: paths cycles

  51. Application I: Graphs with polynomially many connected subgraphs Classes of graphs with only a polynomial number of connected subgraphs include: paths cycles subdivisions of any fixed graph H

  52. Application II: Connecting k points Given a coloured graph G and a subset U of at most k vertices, k - Linking Flood It is the problem of determining the number of moves required to create a single monochromatic component containing U . Theorem k- Linking Flood It can be solved in time O ( | V | k +3 | E | c 2 2 k ) on a graph G = ( V , E ) coloured with c colours.

  53. Application II: Connecting k points G The number of moves required to connect U is equal to the minimum, taken over all subtrees T of G that contain U , of the number of moves required to flood T .

  54. Application II: Connecting k points G

  55. Application II: Connecting k points G

  56. Conclusions We can analyse flood filling problems by considering only trees.

  57. Conclusions We can analyse flood filling problems by considering only trees. This allows us to prove nice complexity results:

  58. Conclusions We can analyse flood filling problems by considering only trees. This allows us to prove nice complexity results: Free Flood It is solvable in polynomial time on graphs with polynomially many connected subgraphs.

  59. Conclusions We can analyse flood filling problems by considering only trees. This allows us to prove nice complexity results: Free Flood It is solvable in polynomial time on graphs with polynomially many connected subgraphs. k - Linking Flood It is solvable in polynomial time on arbitrary graphs (for fixed k ).

  60. Open Problems Is k - Linking Flood It fixed parameter tractable, parameterised by k ?

  61. Open Problems Is k - Linking Flood It fixed parameter tractable, parameterised by k ? On what other minor-closed classes of trees is Free Flood It solvable in polynomial time?

  62. Open Problems Is k - Linking Flood It fixed parameter tractable, parameterised by k ? On what other minor-closed classes of trees is Free Flood It solvable in polynomial time? Extremal problems...

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend