Chapter 14 Graph Contraction and Connectivity
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Networkx: Network Analysis with Python
NetworkX: Network Analysis with Python Salvatore Scellato Full tutorial presented at the XXX SunBelt Conference “NetworkX introduction: Hacking social networks using the Python programming language” by Aric Hagberg & Drew Conway Outline 1. Introduction to NetworkX 2. Getting started with Python and NetworkX 3. Basic network analysis 4. Writing your own code 5. You are ready for your project! 1. Introduction to NetworkX. Introduction to NetworkX - network analysis Vast amounts of network data are being generated and collected • Sociology: web pages, mobile phones, social networks • Technology: Internet routers, vehicular flows, power grids How can we analyze this networks? Introduction to NetworkX - Python awesomeness Introduction to NetworkX “Python package for the creation, manipulation and study of the structure, dynamics and functions of complex networks.” • Data structures for representing many types of networks, or graphs • Nodes can be any (hashable) Python object, edges can contain arbitrary data • Flexibility ideal for representing networks found in many different fields • Easy to install on multiple platforms • Online up-to-date documentation • First public release in April 2005 Introduction to NetworkX - design requirements • Tool to study the structure and dynamics of social, biological, and infrastructure networks • Ease-of-use and rapid development in a collaborative, multidisciplinary environment • Easy to learn, easy to teach • Open-source tool base that can easily grow in a multidisciplinary environment with non-expert users -
Blast Domination for Mycielski's Graph of Graphs
International Journal of Engineering and Advanced Technology (IJEAT) ISSN: 2249 – 8958, Volume-8, Issue-6S3, September 2019 Blast Domination for Mycielski’s Graph of Graphs K. Ameenal Bibi, P.Rajakumari AbstractThe hub of this article is a search on the behavior of is the minimum cardinality of a distance-2 dominating set in the Blast domination and Blast distance-2 domination for 퐺. Mycielski’s graph of some particular graphs and zero divisor graphs. Definition 2.3[7] A non-empty subset 퐷 of 푉 of a connected graph 퐺 is Key Words:Blast domination number, Blast distance-2 called a Blast dominating set, if 퐷 is aconnected dominating domination number, Mycielski’sgraph. set and the induced sub graph < 푉 − 퐷 >is triple connected. The minimum cardinality taken over all such Blast I. INTRODUCTION dominating sets is called the Blast domination number of The concept of triple connected graphs was introduced by 퐺and is denoted by tc . Paulraj Joseph et.al [9]. A graph is said to be triple c (G) connected if any three vertices lie on a path in G. In [6] the Definition2.4 authors introduced triple connected domination number of a graph. A subset D of V of a nontrivial graph G is said to A non-empty subset 퐷 of vertices in a graph 퐺 is a blast betriple connected dominating set, if D is a dominating set distance-2 dominating set if every vertex in 푉 − 퐷 is within and <D> is triple connected. The minimum cardinality taken distance-2 of atleast one vertex in 퐷. -
Networkx Reference Release 1.9.1
NetworkX Reference Release 1.9.1 Aric Hagberg, Dan Schult, Pieter Swart September 20, 2014 CONTENTS 1 Overview 1 1.1 Who uses NetworkX?..........................................1 1.2 Goals...................................................1 1.3 The Python programming language...................................1 1.4 Free software...............................................2 1.5 History..................................................2 2 Introduction 3 2.1 NetworkX Basics.............................................3 2.2 Nodes and Edges.............................................4 3 Graph types 9 3.1 Which graph class should I use?.....................................9 3.2 Basic graph types.............................................9 4 Algorithms 127 4.1 Approximation.............................................. 127 4.2 Assortativity............................................... 132 4.3 Bipartite................................................. 141 4.4 Blockmodeling.............................................. 161 4.5 Boundary................................................. 162 4.6 Centrality................................................. 163 4.7 Chordal.................................................. 184 4.8 Clique.................................................. 187 4.9 Clustering................................................ 190 4.10 Communities............................................... 193 4.11 Components............................................... 194 4.12 Connectivity.............................................. -
Strongly Connected Components and Biconnected Components
Strongly Connected Components and Biconnected Components Daniel Wisdom 27 January 2017 1 2 3 4 5 6 7 8 Figure 1: A directed graph. Credit: Crash Course Coding Companion. 1 Strongly Connected Components A strongly connected component (SCC) is a set of vertices where every vertex can reach every other vertex. In an undirected graph the SCCs are just the groups of connected vertices. We can find them using a simple DFS. This works because, in an undirected graph, u can reach v if and only if v can reach u. This is not true in a directed graph, which makes finding the SCCs harder. More on that later. 2 Kernel graph We can travel between any two nodes in the same strongly connected component. So what if we replaced each strongly connected component with a single node? This would give us what we call the kernel graph, which describes the edges between strongly connected components. Note that the kernel graph is a directed acyclic graph because any cycles would constitute an SCC, so the cycle would be compressed into a kernel. 3 1,2,5,6 4,7 8 Figure 2: Kernel graph of the above directed graph. 3 Tarjan's SCC Algorithm In a DFS traversal of the graph every SCC will be a subtree of the DFS tree. This subtree is not necessarily proper, meaning that it may be missing some branches which are their own SCCs. This means that if we can identify every node that is the root of its SCC in the DFS, we can enumerate all the SCCs. -
Determination and Testing the Domination Numbers of Tadpole Graph, Book Graph and Stacked Book Graph Using MATLAB Ayhan A
College of Basic Education Researchers Journal Vol. 10, No. 1 Determination and Testing the Domination Numbers of Tadpole Graph, Book Graph and Stacked Book Graph Using MATLAB Ayhan A. khalil Omar A.Khalil Technical College of Mosul -Foundation of Technical Education Received: 11/4/2010 ; Accepted: 24/6/2010 Abstract: A set is said to be dominating set of G if for every there exists a vertex such that . The minimum cardinality of vertices among dominating set of G is called the domination number of G denoted by . We investigate the domination number of Tadpole graph, Book graph and Stacked Book graph. Also we test our theoretical results in computer by introducing a matlab procedure to find the domination number , dominating set S and draw this graph that illustrates the vertices of domination this graphs. It is proved that: . Keywords: Dominating set, Domination number, Tadpole graph, Book graph, stacked graph. إﯾﺟﺎد واﺧﺗﺑﺎر اﻟﻌدد اﻟﻣﮭﯾﻣن(اﻟﻣﺳﯾطر)Domination number ﻟﻠﺑﯾﺎﻧﺎت ﺗﺎدﺑول (Tadpole graph)، ﺑﯾﺎن ﺑوك (Book graph) وﺑﯾﺎن ﺳﺗﺎﻛﯾت ﺑوك (Stacked Book graph) ﺑﺎﺳﺗﻌﻣﺎل اﻟﻣﺎﺗﻼب أﯾﮭﺎن اﺣﻣد ﺧﻠﯾل ﻋﻣر اﺣﻣد ﺧﻠﯾل اﻟﻛﻠﯾﺔ اﻟﺗﻘﻧﯾﺔ-ﻣوﺻل- ھﯾﺋﺔ اﻟﺗﻌﻠﯾم اﻟﺗﻘﻧﻲ ﻣﻠﺧص اﻟﺑﺣث : ﯾﻘﺎل ﻷﯾﺔ ﻣﺟﻣوﻋﺔ ﺟزﺋﯾﺔ S ﻣن ﻣﺟﻣوﻋﺔ اﻟرؤوس V ﻓﻲ ﺑﯾﺎن G ﺑﺄﻧﻬﺎ ﻣﺟﻣوﻋﺔ ﻣﻬﯾﻣﻧﺔ Dominating set إذا ﻛﺎن ﻟﻛل أرس v ﻓﻲ اﻟﻣﺟﻣوﻋﺔ V-S ﯾوﺟد أرس u ﻓﻲS ﺑﺣﯾث uv ﺿﻣن 491 Ayhan A. & Omar A. ﺣﺎﻓﺎت اﻟﺑﯾﺎن،. وﯾﻌرف اﻟﻌدد اﻟﻣﻬﯾﻣن Domination number ﺑﺄﻧﻪ أﺻﻐر ﻣﺟﻣوﻋﺔ أﺳﺎﺳﯾﺔ ﻣﻬﯾﻣﻧﺔ Domination. ﻓﻲ ﻫذا اﻟﺑﺣث ﺳوف ﻧدرس اﻟﻌدد اﻟﻣﻬﯾﻣن Domination number ﻟﺑﯾﺎن ﺗﺎدﺑول (Tadpole graph) ، ﺑﯾﺎن ﺑوك (Book graph) وﺑﯾﺎن ﺳﺗﺎﻛﯾت ﺑوك ( Stacked Book graph). -
Analyzing Social Media Network for Students in Presidential Election 2019 with Nodexl
ANALYZING SOCIAL MEDIA NETWORK FOR STUDENTS IN PRESIDENTIAL ELECTION 2019 WITH NODEXL Irwan Dwi Arianto Doctoral Candidate of Communication Sciences, Airlangga University Corresponding Authors: [email protected] Abstract. Twitter is widely used in digital political campaigns. Twitter as a social media that is useful for building networks and even connecting political participants with the community. Indonesia will get a demographic bonus starting next year until 2030. The number of productive ages that will become a demographic bonus if not recognized correctly can be a problem. The election organizer must seize this opportunity for the benefit of voter participation. This study aims to describe the network structure of students in the 2019 presidential election. The first debate was held on January 17, 2019 as a starting point for data retrieval on Twitter social media. This study uses data sources derived from Twitter talks from 17 January 2019 to 20 August 2019 with keywords “#pilpres2019 OR #mahasiswa since: 2019-01-17”. The data obtained were analyzed by the communication network analysis method using NodeXL software. Our Analysis found that Top Influencer is @jokowi, as well as Top, Mentioned also @jokowi while Top Tweeters @okezonenews and Top Replied-To @hasmi_bakhtiar. Jokowi is incumbent running for re-election with Ma’ruf Amin (Senior Muslim Cleric) as his running mate against Prabowo Subianto (a former general) and Sandiaga Uno as his running mate (former vice governor). This shows that the more concentrated in the millennial generation in this case students are presidential candidates @jokowi. @okezonenews, the official twitter account of okezone.com (MNC Media Group). -
Assortativity and Mixing
Assortativity and Assortativity and Mixing General mixing between node categories Mixing Assortativity and Mixing Definition Definition I Assume types of nodes are countable, and are Complex Networks General mixing General mixing Assortativity by assigned numbers 1, 2, 3, . Assortativity by CSYS/MATH 303, Spring, 2011 degree degree I Consider networks with directed edges. Contagion Contagion References an edge connects a node of type µ References e = Pr Prof. Peter Dodds µν to a node of type ν Department of Mathematics & Statistics Center for Complex Systems aµ = Pr(an edge comes from a node of type µ) Vermont Advanced Computing Center University of Vermont bν = Pr(an edge leads to a node of type ν) ~ I Write E = [eµν], ~a = [aµ], and b = [bν]. I Requirements: X X X eµν = 1, eµν = aµ, and eµν = bν. µ ν ν µ Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License. 1 of 26 4 of 26 Assortativity and Assortativity and Outline Mixing Notes: Mixing Definition Definition General mixing General mixing Assortativity by I Varying eµν allows us to move between the following: Assortativity by degree degree Definition Contagion 1. Perfectly assortative networks where nodes only Contagion References connect to like nodes, and the network breaks into References subnetworks. General mixing P Requires eµν = 0 if µ 6= ν and µ eµµ = 1. 2. Uncorrelated networks (as we have studied so far) Assortativity by degree For these we must have independence: eµν = aµbν . 3. Disassortative networks where nodes connect to nodes distinct from themselves. Contagion I Disassortative networks can be hard to build and may require constraints on the eµν. -
Constructing Arbitrarily Large Graphs with a Specified Number Of
Electronic Journal of Graph Theory and Applications 4 (1) (2019), 1–8 Constructing Arbitrarily Large Graphs with a Specified Number of Hamiltonian Cycles Michael Haythorpea aSchool of Computer Science, Engineering and Mathematics, Flinders University, 1284 South Road, Clovelly Park, SA 5042, Australia michael.haythorpe@flinders.edu.au Abstract A constructive method is provided that outputs a directed graph which is named a broken crown graph, containing 5n − 9 vertices and k Hamiltonian cycles for any choice of integers n ≥ k ≥ 4. The construction is not designed to be minimal in any sense, but rather to ensure that the graphs produced remain non-trivial instances of the Hamiltonian cycle problem even when k is chosen to be much smaller than n. Keywords: Hamiltonian cycles, Graph Construction, Broken Crown Mathematics Subject Classification : 05C45 1. Introduction The Hamiltonian cycle problem (HCP) is a famous NP-complete problem in which one must determine whether a given graph contains a simple cycle traversing all vertices of the graph, or not. Such a simple cycle is called a Hamiltonian cycle (HC), and a graph containing at least one arXiv:1902.10351v1 [math.CO] 27 Feb 2019 Hamiltonian cycle is said to be a Hamiltonian graph. Typically, randomly generated graphs (such as Erdos-R˝ enyi´ graphs), if connected, are Hamil- tonian and contain many Hamiltonian cycles. Although HCP is an NP-complete problem, for these graphs it is often fairly easy for a sophisticated heuristic (e.g. see Concorde [1], Keld Helsgaun’s LKH [4] or Snakes-and-ladders Heuristic [2]) to discover one of the multitude of Hamiltonian cy- cles through a clever search. -
Dominating Cycles in Halin Graphs*
View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector Discrete Mathematics 86 (1990) 215-224 215 North-Holland DOMINATING CYCLES IN HALIN GRAPHS* Mirosiawa SKOWRONSKA Institute of Mathematics, Copernicus University, Chopina 12/18, 87-100 Torun’, Poland Maciej M. SYStO Institute of Computer Science, University of Wroclaw, Przesmyckiego 20, 51-151 Wroclaw, Poland Received 2 December 1988 A cycle in a graph is dominating if every vertex lies at distance at most one from the cycle and a cycle is D-cycle if every edge is incident with a vertex of the cycle. In this paper, first we provide recursive formulae for finding a shortest dominating cycle in a Hahn graph; minor modifications can give formulae for finding a shortest D-cycle. Then, dominating cycles and D-cycles in a Halin graph H are characterized in terms of the cycle graph, the intersection graph of the faces of H. 1. Preliminaries The various domination problems have been extensively studied. Among them is the problem whether a graph has a dominating cycle. All graphs in this paper have no loops and multiple edges. A dominating cycle in a graph G = (V(G), E(G)) is a subgraph C of G which is a cycle and every vertex of V(G) \ V(C) is adjacent to a vertex of C. There are graphs which have no dominating cycles, and moreover, determining whether a graph has a dominating cycle on at most 1 vertices is NP-complete even in the class of planar graphs [7], chordal, bipartite and split graphs [3]. -
On the Number of Cycles in a Graph with Restricted Cycle Lengths
On the number of cycles in a graph with restricted cycle lengths D´anielGerbner,∗ Bal´azsKeszegh,y Cory Palmer,z Bal´azsPatk´osx October 12, 2016 Abstract Let L be a set of positive integers. We call a (directed) graph G an L-cycle graph if all cycle lengths in G belong to L. Let c(L; n) be the maximum number of cycles possible in an n-vertex L-cycle graph (we use ~c(L; n) for the number of cycles in directed graphs). In the undirected case we show that for any fixed set L, we have k=` c(L; n) = ΘL(nb c) where k is the largest element of L and 2` is the smallest even element of L (if L contains only odd elements, then c(L; n) = ΘL(n) holds.) We also give a characterization of L-cycle graphs when L is a single element. In the directed case we prove that for any fixed set L we have ~c(L; n) = (1 + n 1 k 1 o(1))( k−1 ) − , where k is the largest element of L. We determine the exact value of ~c(fkg; n−) for every k and characterize all graphs attaining this maximum. 1 Introduction In this paper we examine graphs that contain only cycles of some prescribed lengths (where the length of a cycle or a path is the number of its edges). Let L be a set of positive integers. We call a graph G an L-cycle graph if all cycle lengths in G belong to L. -
Graph and Network Analysis
Graph and Network Analysis Dr. Derek Greene Clique Research Cluster, University College Dublin Web Science Doctoral Summer School 2011 Tutorial Overview • Practical Network Analysis • Basic concepts • Network types and structural properties • Identifying central nodes in a network • Communities in Networks • Clustering and graph partitioning • Finding communities in static networks • Finding communities in dynamic networks • Applications of Network Analysis Web Science Summer School 2011 2 Tutorial Resources • NetworkX: Python software for network analysis (v1.5) http://networkx.lanl.gov • Python 2.6.x / 2.7.x http://www.python.org • Gephi: Java interactive visualisation platform and toolkit. http://gephi.org • Slides, full resource list, sample networks, sample code snippets online here: http://mlg.ucd.ie/summer Web Science Summer School 2011 3 Introduction • Social network analysis - an old field, rediscovered... [Moreno,1934] Web Science Summer School 2011 4 Introduction • We now have the computational resources to perform network analysis on large-scale data... http://www.facebook.com/note.php?note_id=469716398919 Web Science Summer School 2011 5 Basic Concepts • Graph: a way of representing the relationships among a collection of objects. • Consists of a set of objects, called nodes, with certain pairs of these objects connected by links called edges. A B A B C D C D Undirected Graph Directed Graph • Two nodes are neighbours if they are connected by an edge. • Degree of a node is the number of edges ending at that node. • For a directed graph, the in-degree and out-degree of a node refer to numbers of edges incoming to or outgoing from the node. -
Convex Polytopes and Tilings with Few Flag Orbits
Convex Polytopes and Tilings with Few Flag Orbits by Nicholas Matteo B.A. in Mathematics, Miami University M.A. in Mathematics, Miami University A dissertation submitted to The Faculty of the College of Science of Northeastern University in partial fulfillment of the requirements for the degree of Doctor of Philosophy April 14, 2015 Dissertation directed by Egon Schulte Professor of Mathematics Abstract of Dissertation The amount of symmetry possessed by a convex polytope, or a tiling by convex polytopes, is reflected by the number of orbits of its flags under the action of the Euclidean isometries preserving the polytope. The convex polytopes with only one flag orbit have been classified since the work of Schläfli in the 19th century. In this dissertation, convex polytopes with up to three flag orbits are classified. Two-orbit convex polytopes exist only in two or three dimensions, and the only ones whose combinatorial automorphism group is also two-orbit are the cuboctahedron, the icosidodecahedron, the rhombic dodecahedron, and the rhombic triacontahedron. Two-orbit face-to-face tilings by convex polytopes exist on E1, E2, and E3; the only ones which are also combinatorially two-orbit are the trihexagonal plane tiling, the rhombille plane tiling, the tetrahedral-octahedral honeycomb, and the rhombic dodecahedral honeycomb. Moreover, any combinatorially two-orbit convex polytope or tiling is isomorphic to one on the above list. Three-orbit convex polytopes exist in two through eight dimensions. There are infinitely many in three dimensions, including prisms over regular polygons, truncated Platonic solids, and their dual bipyramids and Kleetopes. There are infinitely many in four dimensions, comprising the rectified regular 4-polytopes, the p; p-duoprisms, the bitruncated 4-simplex, the bitruncated 24-cell, and their duals.