Dynamic Graphs

115

Transcript of Dynamic Graphs

Page 1: Dynamic Graphs

DYNAMIC GRAPHSDivya Sindhu LekhaResear h Fellow, Department of Futures Studies, University ofKerala, Trivandrum-695034.September 22, 2011

Page 2: Dynamic Graphs

Overview1 Introdu tion

Page 3: Dynamic Graphs

Overview1 Introdu tion2 De�nitions

Page 4: Dynamic Graphs

Overview1 Introdu tion2 De�nitions3 A Representation of Dynami Graphs

Page 5: Dynamic Graphs

Overview1 Introdu tion2 De�nitions3 A Representation of Dynami Graphs4 Appli ation Areas of Dynami Graphs

Page 6: Dynamic Graphs

Overview1 Introdu tion2 De�nitions3 A Representation of Dynami Graphs4 Appli ation Areas of Dynami Graphs5 Approa hes to Studying Dynami Graphs

Page 7: Dynamic Graphs

Overview1 Introdu tion2 De�nitions3 A Representation of Dynami Graphs4 Appli ation Areas of Dynami Graphs5 Approa hes to Studying Dynami Graphs6 Data Stru tures for Implementation

Page 8: Dynamic Graphs

Overview1 Introdu tion2 De�nitions3 A Representation of Dynami Graphs4 Appli ation Areas of Dynami Graphs5 Approa hes to Studying Dynami Graphs6 Data Stru tures for Implementation7 General Te hniques

Page 9: Dynamic Graphs

Overview1 Introdu tion2 De�nitions3 A Representation of Dynami Graphs4 Appli ation Areas of Dynami Graphs5 Approa hes to Studying Dynami Graphs6 Data Stru tures for Implementation7 General Te hniques8 Con lusion

Page 10: Dynamic Graphs

Introdu tion1 Appli ations of graph algorithms - Communi ation Networks,VLSI Design, Graphi s, Assembly Planning.

Page 11: Dynamic Graphs

Introdu tion1 Appli ations of graph algorithms - Communi ation Networks,VLSI Design, Graphi s, Assembly Planning.2 Graphs undergo dis rete hanges.

Page 12: Dynamic Graphs

Introdu tion1 Appli ations of graph algorithms - Communi ation Networks,VLSI Design, Graphi s, Assembly Planning.2 Graphs undergo dis rete hanges.3 Erdos and Renyi introdu e hanges in graph by adding weightto verti es/ edges by their existen e probability.

Page 13: Dynamic Graphs

Introdu tion1 Appli ations of graph algorithms - Communi ation Networks,VLSI Design, Graphi s, Assembly Planning.2 Graphs undergo dis rete hanges.3 Erdos and Renyi introdu e hanges in graph by adding weightto verti es/ edges by their existen e probability.4 Problem : Determine if the graph remains onne ted despiterandom dropout of edges/verti es.

Page 14: Dynamic Graphs

Introdu tion1 Appli ations of graph algorithms - Communi ation Networks,VLSI Design, Graphi s, Assembly Planning.2 Graphs undergo dis rete hanges.3 Erdos and Renyi introdu e hanges in graph by adding weightto verti es/ edges by their existen e probability.4 Problem : Determine if the graph remains onne ted despiterandom dropout of edges/verti es.5 Siljak Introdu ed dynami graphs in stability studies of omplexdynami systems.

Page 15: Dynamic Graphs

Introdu tion1 Appli ations of graph algorithms - Communi ation Networks,VLSI Design, Graphi s, Assembly Planning.2 Graphs undergo dis rete hanges.3 Erdos and Renyi introdu e hanges in graph by adding weightto verti es/ edges by their existen e probability.4 Problem : Determine if the graph remains onne ted despiterandom dropout of edges/verti es.5 Siljak Introdu ed dynami graphs in stability studies of omplexdynami systems.6 To study the e�e t of un ertain inter onne tions between thesubsystems on stability of the overall system.

Page 16: Dynamic Graphs

De�nitionsDemetres u, Fino hi, Italiano[3℄ de�nes dynami graphs in termsof updates on a graph.

Page 17: Dynamic Graphs

De�nitionsDemetres u, Fino hi, Italiano[3℄ de�nes dynami graphs in termsof updates on a graph.De�nition 2.1An update on a graph is an operation that inserts/deletesedges/verti es of the graph OR hanges the attributes asso iatedwith edges/verti es su h as ost, olor.

Page 18: Dynamic Graphs

De�nitionsDemetres u, Fino hi, Italiano[3℄ de�nes dynami graphs in termsof updates on a graph.De�nition 2.1An update on a graph is an operation that inserts/deletesedges/verti es of the graph OR hanges the attributes asso iatedwith edges/verti es su h as ost, olor.De�nition 2.2A dynami graph is a graph that is undergoing a sequen e ofupdates.

Page 19: Dynamic Graphs

Kinell[4℄ de�nes dynami graphs in terms of timestep.

Page 20: Dynamic Graphs

Kinell[4℄ de�nes dynami graphs in terms of timestep.De�nition 2.3A timestep t is an interval of time, su h that in any interval, notmore than one a tion is performed.

Page 21: Dynamic Graphs

Kinell[4℄ de�nes dynami graphs in terms of timestep.De�nition 2.3A timestep t is an interval of time, su h that in any interval, notmore than one a tion is performed.De�nition 2.4A dynami graph is a graph G ∈ G at a given timestep t, denotedby G (t) or G (V ,E , t) where V ∈ G (t) and V ′ ∈ G (t + 1) mayonly di�er in one element ∀t ≥ 0.

Page 22: Dynamic Graphs

Siljak[1℄ de�nes dynami graphs in a linear spa e as one-parametergroup of transformations of the graph spa e into itself.

Page 23: Dynamic Graphs

Siljak[1℄ de�nes dynami graphs in a linear spa e as one-parametergroup of transformations of the graph spa e into itself.De�nition 2.5A dynami graph D is a one-parameter mapping Φ : R×D → D ofthe spa e D into itself satisfying the following axioms.

Page 24: Dynamic Graphs

Siljak[1℄ de�nes dynami graphs in a linear spa e as one-parametergroup of transformations of the graph spa e into itself.De�nition 2.5A dynami graph D is a one-parameter mapping Φ : R×D → D ofthe spa e D into itself satisfying the following axioms.1 Φ(t0,D0) = D0, ∀t0 ∈ R, ∀D0 ∈ D

Page 25: Dynamic Graphs

Siljak[1℄ de�nes dynami graphs in a linear spa e as one-parametergroup of transformations of the graph spa e into itself.De�nition 2.5A dynami graph D is a one-parameter mapping Φ : R×D → D ofthe spa e D into itself satisfying the following axioms.1 Φ(t0,D0) = D0, ∀t0 ∈ R, ∀D0 ∈ D2 Φ(t,D) is ontinuous, ∀t ∈ R, ∀D ∈ D

Page 26: Dynamic Graphs

Siljak[1℄ de�nes dynami graphs in a linear spa e as one-parametergroup of transformations of the graph spa e into itself.De�nition 2.5A dynami graph D is a one-parameter mapping Φ : R×D → D ofthe spa e D into itself satisfying the following axioms.1 Φ(t0,D0) = D0, ∀t0 ∈ R, ∀D0 ∈ D2 Φ(t,D) is ontinuous, ∀t ∈ R, ∀D ∈ D3 Φ(t2,Φ(t1,D)) = Φ(t1 + t2,D), ∀t1, t2 ∈ R, ∀D ∈ D

Page 27: Dynamic Graphs

Harary and Gupta[2℄ lassi�es dynami graphs into 5 basi types.

Page 28: Dynamic Graphs

Harary and Gupta[2℄ lassi�es dynami graphs into 5 basi types.1 Node-dynami graphs (V varies with time) e.g. Computers rashing/ re overing.

Page 29: Dynamic Graphs

Harary and Gupta[2℄ lassi�es dynami graphs into 5 basi types.1 Node-dynami graphs (V varies with time) e.g. Computers rashing/ re overing.2 Edge-dynami graphs (E varies with time) e.g. Changingtopology of omputer network.

Page 30: Dynamic Graphs

Harary and Gupta[2℄ lassi�es dynami graphs into 5 basi types.1 Node-dynami graphs (V varies with time) e.g. Computers rashing/ re overing.2 Edge-dynami graphs (E varies with time) e.g. Changingtopology of omputer network.3 Node-weighted dynami graphs (f : V → R varies with time)e.g. Changing omputing power.

Page 31: Dynamic Graphs

Harary and Gupta[2℄ lassi�es dynami graphs into 5 basi types.1 Node-dynami graphs (V varies with time) e.g. Computers rashing/ re overing.2 Edge-dynami graphs (E varies with time) e.g. Changingtopology of omputer network.3 Node-weighted dynami graphs (f : V → R varies with time)e.g. Changing omputing power.4 Edge-weighted dynami graphs (g : E → R varies withtime)e.g. Computer network with hanging bandwidth.

Page 32: Dynamic Graphs

Harary and Gupta[2℄ lassi�es dynami graphs into 5 basi types.1 Node-dynami graphs (V varies with time) e.g. Computers rashing/ re overing.2 Edge-dynami graphs (E varies with time) e.g. Changingtopology of omputer network.3 Node-weighted dynami graphs (f : V → R varies with time)e.g. Changing omputing power.4 Edge-weighted dynami graphs (g : E → R varies withtime)e.g. Computer network with hanging bandwidth.5 Fully-weighted dynami graphs (Both f and g varies withtime).

Page 33: Dynamic Graphs

Demetres u, Fino hi, Italiano[3℄ lassi�es dynami graphs into 4basi types.

Page 34: Dynamic Graphs

Demetres u, Fino hi, Italiano[3℄ lassi�es dynami graphs into 4basi types.1 Fully dynami graphs (unrestri ted insertions and deletions ofedges or verti es)

Page 35: Dynamic Graphs

Demetres u, Fino hi, Italiano[3℄ lassi�es dynami graphs into 4basi types.1 Fully dynami graphs (unrestri ted insertions and deletions ofedges or verti es)2 Partially dynami graphs (only one type of update is allowed)

Page 36: Dynamic Graphs

Demetres u, Fino hi, Italiano[3℄ lassi�es dynami graphs into 4basi types.1 Fully dynami graphs (unrestri ted insertions and deletions ofedges or verti es)2 Partially dynami graphs (only one type of update is allowed)3 In remental dynami graphs (only insertions allowed)

Page 37: Dynamic Graphs

Demetres u, Fino hi, Italiano[3℄ lassi�es dynami graphs into 4basi types.1 Fully dynami graphs (unrestri ted insertions and deletions ofedges or verti es)2 Partially dynami graphs (only one type of update is allowed)3 In remental dynami graphs (only insertions allowed)4 De remental dynami graphs (only deletions allowed)

Page 38: Dynamic Graphs

RepresentationThe dynami graph an be represented as the sequen e of itsadja en y matri es underneath. [8℄

Figure 1: The dynami graph RE ⊆{d1, d2, d3, d4} × {a1, a2, a3, a4}× {t1, t2, t3, t4}.

Page 39: Dynamic Graphs

Appli ation AreasWide variety of appli ation areas in lude

Page 40: Dynamic Graphs

Appli ation AreasWide variety of appli ation areas in ludeComputer Programming Languages

Page 41: Dynamic Graphs

Appli ation AreasWide variety of appli ation areas in ludeComputer Programming LanguagesArti� ial Intelligen e

Page 42: Dynamic Graphs

Appli ation AreasWide variety of appli ation areas in ludeComputer Programming LanguagesArti� ial Intelligen eComputer Networks

Page 43: Dynamic Graphs

Appli ation AreasWide variety of appli ation areas in ludeComputer Programming LanguagesArti� ial Intelligen eComputer NetworksOperation Resear h

Page 44: Dynamic Graphs

Appli ation AreasWide variety of appli ation areas in ludeComputer Programming LanguagesArti� ial Intelligen eComputer NetworksOperation Resear hData Stru tures

Page 45: Dynamic Graphs

Appli ation AreasWide variety of appli ation areas in ludeComputer Programming LanguagesArti� ial Intelligen eComputer NetworksOperation Resear hData Stru turesCompilers

Page 46: Dynamic Graphs

Appli ation AreasWide variety of appli ation areas in ludeComputer Programming LanguagesArti� ial Intelligen eComputer NetworksOperation Resear hData Stru turesCompilersDatabase

Page 47: Dynamic Graphs

Appli ation AreasWide variety of appli ation areas in ludeComputer Programming LanguagesArti� ial Intelligen eComputer NetworksOperation Resear hData Stru turesCompilersDatabaseFault Toleran e

Page 48: Dynamic Graphs

Appli ation AreasWide variety of appli ation areas in ludeComputer Programming LanguagesArti� ial Intelligen eComputer NetworksOperation Resear hData Stru turesCompilersDatabaseFault Toleran eConne tivity in Graphs

Page 49: Dynamic Graphs

Appli ation AreasWide variety of appli ation areas in ludeComputer Programming LanguagesArti� ial Intelligen eComputer NetworksOperation Resear hData Stru turesCompilersDatabaseFault Toleran eConne tivity in GraphsSigned Graphs

Page 50: Dynamic Graphs

Appli ation AreasWide variety of appli ation areas in ludeComputer Programming LanguagesArti� ial Intelligen eComputer NetworksOperation Resear hData Stru turesCompilersDatabaseFault Toleran eConne tivity in GraphsSigned GraphsGraph Games

Page 51: Dynamic Graphs

Approa hes to studyWay ba k in 1997, Harary and Gupta[2℄ suggested two possibleapproa hes that an be used in studying dynami graphs.

Page 52: Dynamic Graphs

Approa hes to studyWay ba k in 1997, Harary and Gupta[2℄ suggested two possibleapproa hes that an be used in studying dynami graphs.Knowledge from Stati Graph Theory

Page 53: Dynamic Graphs

Approa hes to studyWay ba k in 1997, Harary and Gupta[2℄ suggested two possibleapproa hes that an be used in studying dynami graphs.Knowledge from Stati Graph TheoryA dynami graph an be viewed as a dis rete sequen e ofstati graphs.

Page 54: Dynamic Graphs

Approa hes to studyWay ba k in 1997, Harary and Gupta[2℄ suggested two possibleapproa hes that an be used in studying dynami graphs.Knowledge from Stati Graph TheoryA dynami graph an be viewed as a dis rete sequen e ofstati graphs.We an study dynami graphs by spe ifying the properties thatremain invariant with time.

Page 55: Dynamic Graphs

Approa hes to studyWay ba k in 1997, Harary and Gupta[2℄ suggested two possibleapproa hes that an be used in studying dynami graphs.Knowledge from Stati Graph TheoryA dynami graph an be viewed as a dis rete sequen e ofstati graphs.We an study dynami graphs by spe ifying the properties thatremain invariant with time.If more than one omponent of a dynami graph hange withtime, then the invariants an be studied mu h in the fashion ofpartial derivatives.

Page 56: Dynamic Graphs

Approa hes to studyWay ba k in 1997, Harary and Gupta[2℄ suggested two possibleapproa hes that an be used in studying dynami graphs.Knowledge from Stati Graph TheoryA dynami graph an be viewed as a dis rete sequen e ofstati graphs.We an study dynami graphs by spe ifying the properties thatremain invariant with time.If more than one omponent of a dynami graph hange withtime, then the invariants an be studied mu h in the fashion ofpartial derivatives.Logi Programming (LP)

Page 57: Dynamic Graphs

Approa hes to studyWay ba k in 1997, Harary and Gupta[2℄ suggested two possibleapproa hes that an be used in studying dynami graphs.Knowledge from Stati Graph TheoryA dynami graph an be viewed as a dis rete sequen e ofstati graphs.We an study dynami graphs by spe ifying the properties thatremain invariant with time.If more than one omponent of a dynami graph hange withtime, then the invariants an be studied mu h in the fashion ofpartial derivatives.Logi Programming (LP)Dynami graphs an be modeled using a logi program.

Page 58: Dynamic Graphs

Approa hes to studyWay ba k in 1997, Harary and Gupta[2℄ suggested two possibleapproa hes that an be used in studying dynami graphs.Knowledge from Stati Graph TheoryA dynami graph an be viewed as a dis rete sequen e ofstati graphs.We an study dynami graphs by spe ifying the properties thatremain invariant with time.If more than one omponent of a dynami graph hange withtime, then the invariants an be studied mu h in the fashion ofpartial derivatives.Logi Programming (LP)Dynami graphs an be modeled using a logi program.The logi program an be exe uted to dis over interestingproperties of the dynami graph being modeled.

Page 59: Dynamic Graphs

Approa hes to studyWay ba k in 1997, Harary and Gupta[2℄ suggested two possibleapproa hes that an be used in studying dynami graphs.Knowledge from Stati Graph TheoryA dynami graph an be viewed as a dis rete sequen e ofstati graphs.We an study dynami graphs by spe ifying the properties thatremain invariant with time.If more than one omponent of a dynami graph hange withtime, then the invariants an be studied mu h in the fashion ofpartial derivatives.Logi Programming (LP)Dynami graphs an be modeled using a logi program.The logi program an be exe uted to dis over interestingproperties of the dynami graph being modeled.LP - Relational programming paradigm, Nondeterminism (Aptfor ombinatorial sear hes)

Page 60: Dynamic Graphs

Data Stru tures Implementing Dynami Graphs

Page 61: Dynamic Graphs

Data Stru tures Implementing Dynami GraphsTopology Trees

Page 62: Dynamic Graphs

Data Stru tures Implementing Dynami GraphsTopology TreesET Trees

Page 63: Dynamic Graphs

Data Stru tures Implementing Dynami GraphsTopology TreesET TreesTop Trees

Page 64: Dynamic Graphs

Data Stru tures: Topology Trees

Page 65: Dynamic Graphs

Data Stru tures: Topology TreesIntrodu ed by Frederi kson(1985) to maintain dynami treesupon insertions and deletions of edges.

Page 66: Dynamic Graphs

Data Stru tures: Topology TreesIntrodu ed by Frederi kson(1985) to maintain dynami treesupon insertions and deletions of edges.Given a tree T of a forest, a luster is a onne ted subgraphof T .

Page 67: Dynamic Graphs

Data Stru tures: Topology TreesIntrodu ed by Frederi kson(1985) to maintain dynami treesupon insertions and deletions of edges.Given a tree T of a forest, a luster is a onne ted subgraphof T .The ardinality of a luster is the number of its verti es.

Page 68: Dynamic Graphs

Data Stru tures: Topology TreesIntrodu ed by Frederi kson(1985) to maintain dynami treesupon insertions and deletions of edges.Given a tree T of a forest, a luster is a onne ted subgraphof T .The ardinality of a luster is the number of its verti es.The external degree of a luster is the number of tree edgesin ident to it.

Page 69: Dynamic Graphs

Data Stru tures: Topology TreesIntrodu ed by Frederi kson(1985) to maintain dynami treesupon insertions and deletions of edges.Given a tree T of a forest, a luster is a onne ted subgraphof T .The ardinality of a luster is the number of its verti es.The external degree of a luster is the number of tree edgesin ident to it.De�nition 6.1A topology tree is a hierar hi al representation of T : ea h levelpartitions the verti es of T into lusters. Cluster at level 0 ontainsone vertex ea h. Clusters at level l ≥ 1 form a partition of theverti es of the tree T ′ obtained by shrinking ea h luster at levell -1 into a single vertex.

Page 70: Dynamic Graphs
Page 71: Dynamic Graphs

Figure 2: Clustering of a tree T with restri tions (1)external degree ≤ 3and (2) ardinality ≤ 2.

Page 72: Dynamic Graphs

Topology Tree

Figure 3: Topology Tree of T

Page 73: Dynamic Graphs

Topology Trees: Fa ts

Page 74: Dynamic Graphs

Topology Trees: Fa ts1 The number of nodes in ea h level is a onstraint fra tion ofnodes in previous level.

Page 75: Dynamic Graphs

Topology Trees: Fa ts1 The number of nodes in ea h level is a onstraint fra tion ofnodes in previous level.2 Number of levels is O(logn).

Page 76: Dynamic Graphs

Topology Trees: Fa ts1 The number of nodes in ea h level is a onstraint fra tion ofnodes in previous level.2 Number of levels is O(logn).3 (Frederi kson's Theorem) The update of a topology tree anbe supported in O(logn) time.

Page 77: Dynamic Graphs

Data Stru tures: ET Trees

Page 78: Dynamic Graphs

Data Stru tures: ET TreesIntrodu ed by Henzinger and King(1999) to maintain dynami forest with vertex weight.

Page 79: Dynamic Graphs

Data Stru tures: ET TreesIntrodu ed by Henzinger and King(1999) to maintain dynami forest with vertex weight.Updates allowed: (1) Cut arbitrary edges (2) Insert edgesbetween trees (3) Add/Remove weight on verti es.

Page 80: Dynamic Graphs

Data Stru tures: ET TreesIntrodu ed by Henzinger and King(1999) to maintain dynami forest with vertex weight.Updates allowed: (1) Cut arbitrary edges (2) Insert edgesbetween trees (3) Add/Remove weight on verti es.Supported queries: (1) Conne ted(u, v) (2) Size(v) (3)Minkey(v).

Page 81: Dynamic Graphs

Data Stru tures: ET TreesIntrodu ed by Henzinger and King(1999) to maintain dynami forest with vertex weight.Updates allowed: (1) Cut arbitrary edges (2) Insert edgesbetween trees (3) Add/Remove weight on verti es.Supported queries: (1) Conne ted(u, v) (2) Size(v) (3)Minkey(v).An Euler tour of T is a maximal losed walk over the graphobtained by repla ing ea h edge of T by 2 dire ted edges inopposite dire tions (length = 2n-2).

Page 82: Dynamic Graphs

Data Stru tures: ET TreesIntrodu ed by Henzinger and King(1999) to maintain dynami forest with vertex weight.Updates allowed: (1) Cut arbitrary edges (2) Insert edgesbetween trees (3) Add/Remove weight on verti es.Supported queries: (1) Conne ted(u, v) (2) Size(v) (3)Minkey(v).An Euler tour of T is a maximal losed walk over the graphobtained by repla ing ea h edge of T by 2 dire ted edges inopposite dire tions (length = 2n-2).De�nition 6.2An ET tree is a dynami balan ed binary tree over some Euler touraround T .

Page 83: Dynamic Graphs
Page 84: Dynamic Graphs

Figure 4: Euler tour and ET Tree of a tree T .

Page 85: Dynamic Graphs

ET Trees: Fa ts

Page 86: Dynamic Graphs

ET Trees: Fa ts1 Despite the repetition of verti es in an Euler tour an ET Treehas O(n) nodes.

Page 87: Dynamic Graphs

ET Trees: Fa ts1 Despite the repetition of verti es in an Euler tour an ET Treehas O(n) nodes.2 Both updates and queries an be supported in O(logn) time.

Page 88: Dynamic Graphs

Data Stru tures: Top Trees

Page 89: Dynamic Graphs

Data Stru tures: Top TreesIntrodu ed by Alstrup et. al.(1997) to maintain e� ientlyinformation about paths in trees (from topology tree -partition edges).

Page 90: Dynamic Graphs

Data Stru tures: Top TreesIntrodu ed by Alstrup et. al.(1997) to maintain e� ientlyinformation about paths in trees (from topology tree -partition edges).Given a tree T of a forest, a luster is a onne ted subtree ofT with atmost two boundary verti es (have edges out of thesubtree).

Page 91: Dynamic Graphs

Data Stru tures: Top TreesIntrodu ed by Alstrup et. al.(1997) to maintain e� ientlyinformation about paths in trees (from topology tree -partition edges).Given a tree T of a forest, a luster is a onne ted subtree ofT with atmost two boundary verti es (have edges out of thesubtree).Two lusters are neighbors if their interse tion ontainsexa tly one vertex.

Page 92: Dynamic Graphs

Data Stru tures: Top TreesIntrodu ed by Alstrup et. al.(1997) to maintain e� ientlyinformation about paths in trees (from topology tree -partition edges).Given a tree T of a forest, a luster is a onne ted subtree ofT with atmost two boundary verti es (have edges out of thesubtree).Two lusters are neighbors if their interse tion ontainsexa tly one vertex.Operations: (1) Merge (2) Split.

Page 93: Dynamic Graphs

Data Stru tures: Top Trees

Page 94: Dynamic Graphs

Data Stru tures: Top TreesDe�nition 6.3A Top tree is a binary tree su h that:

Page 95: Dynamic Graphs

Data Stru tures: Top TreesDe�nition 6.3A Top tree is a binary tree su h that:1 Leaves = Edges; Internal nodes = Clusters.

Page 96: Dynamic Graphs

Data Stru tures: Top TreesDe�nition 6.3A Top tree is a binary tree su h that:1 Leaves = Edges; Internal nodes = Clusters.2 Internal node = Union of its 2 hildren whi h are neighbors.

Page 97: Dynamic Graphs

Data Stru tures: Top TreesDe�nition 6.3A Top tree is a binary tree su h that:1 Leaves = Edges; Internal nodes = Clusters.2 Internal node = Union of its 2 hildren whi h are neighbors.3 Root represents the entire tree.

Page 98: Dynamic Graphs

Data Stru tures: Top TreesDe�nition 6.3A Top tree is a binary tree su h that:1 Leaves = Edges; Internal nodes = Clusters.2 Internal node = Union of its 2 hildren whi h are neighbors.3 Root represents the entire tree.4 Height = O(logn).

Page 99: Dynamic Graphs
Page 100: Dynamic Graphs

Figure 5: Clusters of a tree T .

Page 101: Dynamic Graphs
Page 102: Dynamic Graphs

Figure 6: Top Tree of T .

Page 103: Dynamic Graphs

General Te hniques

Page 104: Dynamic Graphs

General Te hniquesClustering: (Frederi kson) Partitioning graph into onne tedsubgraphs su h that ea h update involves only a small numberof su h lusters.

Page 105: Dynamic Graphs

General Te hniquesClustering: (Frederi kson) Partitioning graph into onne tedsubgraphs su h that ea h update involves only a small numberof su h lusters.Sparsi� ation: (Eppstein) A divide-and- onquer te hnique toredu e the dependen e of time bounds on the number ofedges.

Page 106: Dynamic Graphs

General Te hniquesClustering: (Frederi kson) Partitioning graph into onne tedsubgraphs su h that ea h update involves only a small numberof su h lusters.Sparsi� ation: (Eppstein) A divide-and- onquer te hnique toredu e the dependen e of time bounds on the number ofedges.Randomization: (Henzinger and King) Allow to design e� ientrandomized algorithms.

Page 107: Dynamic Graphs

Con lusion.

Page 108: Dynamic Graphs

Con lusion.Dynami graphs arise in virtually all areas of s ien e.

Page 109: Dynamic Graphs

Con lusion.Dynami graphs arise in virtually all areas of s ien e.Used as a �exible modeling on ept for studying stru tural hanges in a broad range of omplex systems.

Page 110: Dynamic Graphs

Con lusion.Dynami graphs arise in virtually all areas of s ien e.Used as a �exible modeling on ept for studying stru tural hanges in a broad range of omplex systems.In omputer s ien e, all data stru tures an be regarded asimplementations of dynami graphs.

Page 111: Dynamic Graphs

Con lusion.Dynami graphs arise in virtually all areas of s ien e.Used as a �exible modeling on ept for studying stru tural hanges in a broad range of omplex systems.In omputer s ien e, all data stru tures an be regarded asimplementations of dynami graphs.Dynami graphs are also found in hemistry, anthropology,psy hology, and all other areas to whi h graph theory an befruitfully applied.

Page 112: Dynamic Graphs
Page 113: Dynamic Graphs

Referen es I[1℄ D.D.Siljak, Dynami Graphs:Plenary Paper. The InternationalConferen e on Hybrid Systems and Appli ations, University ofLouisiana, Lafayette, LA, May 22-26, (2006)[2℄ F. Harary and G. Gupta, Dynami Graph Models, Mathl. Com-put. Modelling Vol. 25, No. 7, pp. 79-87 (1997).[3℄ C. Demetres u, I. Fino hi and G. F. Italiano, Dynami GraphAlgorithms, University of Rome.[4℄ A. Kinell, Dynami Graph Labelling (2004)[5℄ R. F. Werne k, Design and Analysis of Data Stru tures for Dy-nami Trees, Dissertation, Department of Computer S ien e,Prin eton University, June, (2006)

Page 114: Dynamic Graphs

Referen es II[6℄ D. D. Sleator and R. E. Tarjan, A Data Stru ture for Dynami Trees , Journal of Computer and System S ien es, Vol. 26, No.3, June (1983) 362-391.[7℄ P. N. Klein: Algorithms for Planar Graphs Le ture 7: Dynami -tree data stru ture, (2009).[8℄ K. T. Nguyen, L. Cerf1, M. Plantevit, and J. Bouli aut: Dis- overing Inter-Dimensional Rules in Dynami Graphs, (2010)

Page 115: Dynamic Graphs

Thank You