an intelligent example generator for graph theory
play

An Intelligent Example-Generator for Graph Theory Michaela Heyer - PowerPoint PPT Presentation

An Intelligent Example-Generator for Graph Theory Michaela Heyer Boole Centre for Research in Informatics University College Cork Ireland The Problems Graph Theory relies heavily on the use of examples to help prove or disprove new


  1. An Intelligent Example-Generator for Graph Theory Michaela Heyer Boole Centre for Research in Informatics University College Cork Ireland

  2. The Problems Graph Theory relies heavily on the use of examples to help prove or disprove new conjectures

  3. The Problems Graph Theory relies heavily on the use of examples to help prove or disprove new conjectures - but graphs can be quite large, so examples are hard to find

  4. The Problems Graph Theory relies heavily on the use of examples to help prove or disprove new conjectures - but graphs can be quite large, so examples are hard to find Many areas outside Mathematics use graphs

  5. The Problems Graph Theory relies heavily on the use of examples to help prove or disprove new conjectures - but graphs can be quite large, so examples are hard to find Many areas outside Mathematics use graphs - but people in those areas might not have sufficient mathematical knowledge to perform proofs of ex- istence

  6. The Solution Create an easy-to-use tool which:

  7. The Solution Create an easy-to-use tool which: - takes in a combination of graph properties

  8. The Solution Create an easy-to-use tool which: - takes in a combination of graph properties - returns one or more examples of the desired graph or outputs that the desired graph has not been found

  9. The Approach Two main parts:

  10. The Approach Two main parts: - generate all graphs up to a given size

  11. The Approach Two main parts: - generate all graphs up to a given size - select those with the required properties

  12. Generating the Graphs The Challenge: There are lots of graphs!

  13. Generating the Graphs The Challenge: There are lots of graphs! n n-node graphs 5 34 6 156 7 1,044 8 12,346 9 274,668 10 12,005,168 11 1,018,997,864 12 165,091,172,592

  14. Generating the Graphs The Challenge: There are lots of graphs! But luckily...

  15. Generating the Graphs The Challenge: There are lots of graphs! But luckily... - graphs can be generated very quickly

  16. Generating the Graphs The Challenge: There are lots of graphs! But luckily... - graphs can be generated very quickly - a program for this already exists (’nauty’ by Brendan McKay)

  17. Selecting the Graphs Should be fast!

  18. Selecting the Graphs Should be fast! Suppose that we are looking for a graph with properties P 1 , P 2 , . . . , P r

  19. Selecting the Graphs Should be fast! Suppose that we are looking for a graph with properties P 1 , P 2 , . . . , P r Idea: Check P 1 , P 2 , . . . , P r simultaneously using parallel processors

  20. Selecting the Graphs Should be fast! Suppose that we are looking for a graph with properties P 1 , P 2 , . . . , P r Idea: Check P 1 , P 2 , . . . , P r simultaneously using parallel processors For each given graph, let t i denote the time to test for property P i

  21. Selecting the Graphs Should be fast! Suppose that we are looking for a graph with properties P 1 , P 2 , . . . , P r Idea: Check P 1 , P 2 , . . . , P r simultaneously using parallel processors For each given graph, let t i denote the time to test for property P i TIME: • successful test : max { t i | 1 ≤ i ≤ r } • unsuccessful test : min { t i | 1 ≤ i ≤ r & P i FAILS }

  22. Selecting the Graphs cont’d Observation: many graphs will fail rather than pass

  23. Selecting the Graphs cont’d Observation: many graphs will fail rather than pass ⇒ the quicker we fail, the quicker we can move on

  24. Selecting the Graphs cont’d Observation: many graphs will fail rather than pass ⇒ the quicker we fail, the quicker we can move on ⇒ the more properties we have, the higher the chance of a quick fail

  25. Selecting the Graphs cont’d Observation: many graphs will fail rather than pass ⇒ the quicker we fail, the quicker we can move on ⇒ the more properties we have, the higher the chance of a quick fail Idea: Use an expert system to infer additional properties from the initial list

  26. An “Intelligent” Parallel Solution From the required properties P 1 , P 2 , . . . , P r infer additional derived properties P r +1 , . . . , P s

  27. An “Intelligent” Parallel Solution From the required properties P 1 , P 2 , . . . , P r infer additional derived properties P r +1 , . . . , P s Assume that s processors are available

  28. An “Intelligent” Parallel Solution From the required properties P 1 , P 2 , . . . , P r infer additional derived properties P r +1 , . . . , P s Assume that s processors are available For each newly-generated graph, test properties P 1 , P 2 , . . . , P r , P r +1 , . . . , P s in parallel

  29. An “Intelligent” Parallel Solution From the required properties P 1 , P 2 , . . . , P r infer additional derived properties P r +1 , . . . , P s Assume that s processors are available For each newly-generated graph, test properties P 1 , P 2 , . . . , P r , P r +1 , . . . , P s in parallel TIME: • successful test : max { t j | P j is the fastest test for P i & 1 ≤ i ≤ r } • unsuccessful test : min { t i | 1 ≤ i ≤ s & P i FAILS }

  30. The Expert System Apply theorems to the initial properties P 1 , . . . , P r to infer additional properties P r +1 , . . . , P s

  31. The Expert System Apply theorems to the initial properties P 1 , . . . , P r to infer additional properties P r +1 , . . . , P s Suppose we are looking for a graph with property A

  32. The Expert System Apply theorems to the initial properties P 1 , . . . , P r to infer additional properties P r +1 , . . . , P s Suppose we are looking for a graph with property A A ⇒ B :

  33. The Expert System Apply theorems to the initial properties P 1 , . . . , P r to infer additional properties P r +1 , . . . , P s Suppose we are looking for a graph with property A A ⇒ B : Add ¬ B as a fail property

  34. The Expert System Apply theorems to the initial properties P 1 , . . . , P r to infer additional properties P r +1 , . . . , P s Suppose we are looking for a graph with property A A ⇒ B : Add ¬ B as a fail property B ⇒ A :

  35. The Expert System Apply theorems to the initial properties P 1 , . . . , P r to infer additional properties P r +1 , . . . , P s Suppose we are looking for a graph with property A A ⇒ B : Add ¬ B as a fail property B ⇒ A : Add B as a pass property for A

  36. The Expert System Apply theorems to the initial properties P 1 , . . . , P r to infer additional properties P r +1 , . . . , P s Suppose we are looking for a graph with property A A ⇒ B : Add ¬ B as a fail property B ⇒ A : Add B as a pass property for A A ⇔ B :

  37. The Expert System Apply theorems to the initial properties P 1 , . . . , P r to infer additional properties P r +1 , . . . , P s Suppose we are looking for a graph with property A A ⇒ B : Add ¬ B as a fail property B ⇒ A : Add B as a pass property for A A ⇔ B : Add B as a pass property for A and ¬ B as a fail property

  38. Overview of the System Query: List of Theorems Required Properties Expert System Graph-Generating S/W Properties to Test Generated Graphs Cluster: Run Property-Testing Algorithms in Parallel Output: Graph with the Required Props OR Fail

  39. Example of Intelligent Solution Query: We are looking for a graph that is critical and Hamiltonian

  40. Example of Intelligent Solution Query: We are looking for a graph that is critical and Hamiltonian Required Properties: P 1 : G is critical P 2 : G is Hamiltonian

  41. Infer additional properties... Some of the Derived Properties in Wish list:

  42. Infer additional properties... Some of the Derived Properties in Wish list: P 3 : α < connectivity P 4 : G is a hyper cube P 5 : δ ≥ v/ 2

  43. Infer additional properties... Some of the Derived Properties in Wish list: P 3 : α < connectivity P 4 : G is a hyper cube P 5 : δ ≥ v/ 2 Some of the Derived Properties in Disprove list: P 6 : G is not a block P 7 : G is not connected P 8 : G is not biconnected P 9 : G is bipartite & has bipartition(XY),|X| != |Y|

  44. Check Graphs...

  45. Check Graphs... P1 P13 P14 P21

  46. Check Graphs... is critical P1 alpha < connectivity is hyper cube P13 is not a block P14 is not connected is not biconnected P21

  47. Check Graphs... is critical P1 alpha < connectivity is hyper cube P13 is not a block P14 True is not connected is not biconnected P21

  48. Check Graphs... is critical P1 alpha < connectivity is hyper cube P13 is not a block Not critical P14 True Discard graph! is not connected is not biconnected P21

  49. Check Graphs...

  50. Check Graphs... P1 P13 P14 P21

  51. Check Graphs... is critical P1 alpha < connectivity is hyper cube P13 is not a block P14 is not connected is not biconnected P21

  52. Check Graphs... is critical P1 alpha < connectivity is hyper cube P13 is not a block P14 is not connected True is not biconnected P21

  53. Check Graphs... is critical P1 alpha < connectivity is hyper cube P13 is not a block P14 is not connected Not critical True Discard graph! is not biconnected P21

  54. Check Graphs...

  55. Check Graphs... P1 P13 P14 P21

  56. Check Graphs... is critical P1 alpha < connectivity is hyper cube P13 is not a block P14 is not connected is not biconnected P21

Recommend


More recommend