Space-Efficient Data Structures for Lattices
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
Efficiently Mining Frequent Closed Partial Orders
Efficiently Mining Frequent Closed Partial Orders (Extended Abstract) Jian Pei1 Jian Liu2 Haixun Wang3 Ke Wang1 Philip S. Yu3 Jianyong Wang4 1 Simon Fraser Univ., Canada, fjpei, [email protected] 2 State Univ. of New York at Buffalo, USA, [email protected] 3 IBM T.J. Watson Research Center, USA, fhaixun, [email protected] 4 Tsinghua Univ., China, [email protected] 1 Introduction Account codes and explanation Account code Account type CHK Checking account Mining ordering information from sequence data is an MMK Money market important data mining task. Sequential pattern mining [1] RRSP Retirement Savings Plan can be regarded as mining frequent segments of total orders MORT Mortgage from sequence data. However, sequential patterns are often RESP Registered Education Savings Plan insufficient to concisely capture the general ordering infor- BROK Brokerage mation. Customer Records Example 1 (Motivation) Suppose MapleBank in Canada Cid Sequence of account opening wants to investigate whether there is some orders which cus- 1 CHK ! MMK ! RRSP ! MORT ! RESP ! BROK tomers often follow to open their accounts. A database DB 2 CHK ! RRSP ! MMK ! MORT ! RESP ! BROK in Table 1 about four customers’ sequences of opening ac- 3 MMK ! CHK ! BROK ! RESP ! RRSP counts in MapleBank is analyzed. 4 CHK ! MMK ! RRSP ! MORT ! BROK ! RESP Given a support threshold min sup, a sequential pattern is a sequence s which appears as subsequences of at least Table 1. A database DB of sequences of ac- min sup sequences. For example, let min sup = 3. The count opening. following four sequences are sequential patterns since they are subsequences of three sequences, 1, 2 and 4, in DB. -
Approximating Transitive Reductions for Directed Networks
Approximating Transitive Reductions for Directed Networks Piotr Berman1, Bhaskar DasGupta2, and Marek Karpinski3 1 Pennsylvania State University, University Park, PA 16802, USA [email protected] Research partially done while visiting Dept. of Computer Science, University of Bonn and supported by DFG grant Bo 56/174-1 2 University of Illinois at Chicago, Chicago, IL 60607-7053, USA [email protected] Supported by NSF grants DBI-0543365, IIS-0612044 and IIS-0346973 3 University of Bonn, 53117 Bonn, Germany [email protected] Supported in part by DFG grants, Procope grant 31022, and Hausdorff Center research grant EXC59-1 Abstract. We consider minimum equivalent digraph problem, its max- imum optimization variant and some non-trivial extensions of these two types of problems motivated by biological and social network appli- 3 cations. We provide 2 -approximation algorithms for all the minimiza- tion problems and 2-approximation algorithms for all the maximization problems using appropriate primal-dual polytopes. We also show lower bounds on the integrality gap of the polytope to provide some intuition on the final limit of such approaches. Furthermore, we provide APX- hardness result for all those problems even if the length of all simple cycles is bounded by 5. 1 Introduction Finding an equivalent digraph is a classical computational problem (cf. [13]). The statement of the basic problem is simple. For a digraph G = (V, E), we E use the notation u → v to indicate that E contains a path from u to v and E the transitive closure of E is the relation u → v over all pairs of vertices of V . -
Copyright © 1980, by the Author(S). All Rights Reserved
Copyright © 1980, by the author(s). All rights reserved. Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission. ON A CLASS OF ACYCLIC DIRECTED GRAPHS by J. L. Szwarcfiter Memorandum No. UCB/ERL M80/6 February 1980 ELECTRONICS RESEARCH LABORATORY College of Engineering University of California, Berkeley 94720 ON A CLASS OF ACYCLIC DIRECTED GRAPHS* Jayme L. Szwarcfiter** Universidade Federal do Rio de Janeiro COPPE, I. Mat. e NCE Caixa Postal 2324, CEP 20000 Rio de Janeiro, RJ Brasil • February 1980 Key Words: algorithm, depth first search, directed graphs, graphs, isomorphism, minimal chain decomposition, partially ordered sets, reducible graphs, series parallel graphs, transitive closure, transitive reduction, trees. CR Categories: 5.32 *This work has been supported by the Conselho Nacional de Desenvolvimento Cientifico e Tecnologico (CNPq), Brasil, processo 574/78. The preparation ot the manuscript has been supported by the National Science Foundation, grant MCS78-20054. **Present Address: University of California, Computer Science Division-EECS, Berkeley, CA 94720, USA. ABSTRACT A special class of acyclic digraphs has been considered. It contains those acyclic digraphs whose transitive reduction is a directed rooted tree. Alternative characterizations have also been given, including one by forbidden subgraph containment of its transitive closure. For digraphs belonging to the mentioned class, linear time algorithms have been described for the following problems: recognition, transitive reduction and closure, isomorphism, minimal chain decomposition, dimension of the induced poset. -
95-106 Parallel Algorithms for Transitive Reduction for Weighted Graphs
Math. Maced. Vol. 8 (2010) 95-106 PARALLEL ALGORITHMS FOR TRANSITIVE REDUCTION FOR WEIGHTED GRAPHS DRAGAN BOSNAˇ CKI,ˇ WILLEM LIGTENBERG, MAXIMILIAN ODENBRETT∗, ANTON WIJS∗, AND PETER HILBERS Dedicated to Academician Gor´gi´ Cuponaˇ Abstract. We present a generalization of transitive reduction for weighted graphs and give scalable polynomial algorithms for computing it based on the Floyd-Warshall algorithm for finding shortest paths in graphs. We also show how the algorithms can be optimized for memory efficiency and effectively parallelized to improve the run time. As a consequence, the algorithms can be tuned for modern general purpose graphics processors. Our prototype imple- mentations exhibit significant speedups of more than one order of magnitude compared to their sequential counterparts. Transitive reduction for weighted graphs was instigated by problems in reconstruction of genetic networks. The first experiments in that domain show also encouraging results both regarding run time and the quality of the reconstruction. 1. Introduction 0 The concept of transitive reduction for graphs was introduced in [1] and a similar concept was given previously in [8]. Transitive reduction is in a sense the opposite of transitive closure of a graph. In transitive closure a direct edge is added between two nodes i and j, if an indirect path, i.e., not including edge (i; j), exists between i and j. In contrast, the main intuition behind transitive reduction is that edges between nodes are removed if there are also indirect paths between i and j. In this paper we present an extension of the notion of transitive reduction to weighted graphs. -
Operations on Partially Ordered Sets and Rational Identities of Type a Adrien Boussicault
Operations on partially ordered sets and rational identities of type A Adrien Boussicault To cite this version: Adrien Boussicault. Operations on partially ordered sets and rational identities of type A. Discrete Mathematics and Theoretical Computer Science, DMTCS, 2013, Vol. 15 no. 2 (2), pp.13–32. hal- 00980747 HAL Id: hal-00980747 https://hal.inria.fr/hal-00980747 Submitted on 18 Apr 2014 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Discrete Mathematics and Theoretical Computer Science DMTCS vol. 15:2, 2013, 13–32 Operations on partially ordered sets and rational identities of type A Adrien Boussicault Institut Gaspard Monge, Universite´ Paris-Est, Marne-la-Valle,´ France received 13th February 2009, revised 1st April 2013, accepted 2nd April 2013. − −1 We consider the family of rational functions ψw = Q(xwi xwi+1 ) indexed by words with no repetition. We study the combinatorics of the sums ΨP of the functions ψw when w describes the linear extensions of a given poset P . In particular, we point out the connexions between some transformations on posets and elementary operations on the fraction ΨP . We prove that the denominator of ΨP has a closed expression in terms of the Hasse diagram of P , and we compute its numerator in some special cases. -
2/3 Conjecture
PROGRESS ON THE 1=3 − 2=3 CONJECTURE By Emily Jean Olson A DISSERTATION Submitted to Michigan State University in partial fulfillment of the requirements for the degree of Mathematics | Doctor of Philosophy 2017 ABSTRACT PROGRESS ON THE 1=3 − 2=3 CONJECTURE By Emily Jean Olson Let (P; ≤) be a finite partially ordered set, also called a poset, and let n denote the cardinality of P . Fix a natural labeling on P so that the elements of P correspond to [n] = f1; 2; : : : ; ng. A linear extension is an order-preserving total order x1 ≺ x2 ≺ · · · ≺ xn on the elements of P , and more compactly, we can view this as the permutation x1x2 ··· xn in one-line notation. For distinct elements x; y 2 P , we define P(x ≺ y) to be the proportion 1 of linear extensions of P in which x comes before y. For 0 ≤ α ≤ 2, we say (x; y) is an α-balanced pair if α ≤ P(x ≺ y) ≤ 1 − α: The 1=3 − 2=3 Conjecture states that every finite partially ordered set that is not a chain has a 1=3-balanced pair. This dissertation focuses on showing the conjecture is true for certain types of partially ordered sets. We begin by discussing a special case, namely when a partial order is 1=2-balanced. For example, this happens when the poset has an automorphism with a cycle of length 2. We spend the remainder of the text proving the conjecture is true for some lattices, including Boolean, set partition, and subspace lattices; partial orders that arise from a Young diagram; and some partial orders of dimension 2. -
LNCS 7034, Pp
Confluent Hasse Diagrams DavidEppsteinandJosephA.Simons Department of Computer Science, University of California, Irvine, USA Abstract. We show that a transitively reduced digraph has a confluent upward drawing if and only if its reachability relation has order dimen- sion at most two. In this case, we construct a confluent upward drawing with O(n2)features,inanO(n) × O(n)gridinO(n2)time.Forthe digraphs representing series-parallel partial orders we show how to con- struct a drawing with O(n)featuresinanO(n)×O(n)gridinO(n)time from a series-parallel decomposition of the partial order. Our drawings are optimal in the number of confluent junctions they use. 1 Introduction One of the most important aspects of a graph drawing is that it should be readable: it should convey the structure of the graph in a clear and concise way. Ease of understanding is difficult to quantify, so various proxies for it have been proposed, including the number of crossings and the total amount of ink required by the drawing [1,18]. Thus given two different ways to present information, we should choose the more succinct and crossing-free presentation. Confluent drawing [7,8,9,15,16] is a style of graph drawing in which multiple edges are combined into shared tracks, and two vertices are considered to be adjacent if a smooth path connects them in these tracks (Figure 1). This style was introduced to re- duce crossings, and in many cases it will also Fig. 1. Conventional and confluent improve the ink requirement by represent- drawings of K5,5 ing dense subgraphs concisely. -
Counting Linear Extensions in Practice: MCMC Versus Exponential Monte Carlo
The Thirty-Second AAAI Conference on Artificial Intelligence (AAAI-18) Counting Linear Extensions in Practice: MCMC versus Exponential Monte Carlo Topi Talvitie Kustaa Kangas Teppo Niinimaki¨ Mikko Koivisto Dept. of Computer Science Dept. of Computer Science Dept. of Computer Science Dept. of Computer Science University of Helsinki Aalto University Aalto University University of Helsinki topi.talvitie@helsinki.fi juho-kustaa.kangas@aalto.fi teppo.niinimaki@aalto.fi mikko.koivisto@helsinki.fi Abstract diagram (Kangas et al. 2016), or the treewidth of the incom- parability graph (Eiben et al. 2016). Counting the linear extensions of a given partial order is a If an approximation with given probability is sufficient, #P-complete problem that arises in numerous applications. For polynomial-time approximation, several Markov chain the problem admits a polynomial-time solution for all posets Monte Carlo schemes have been proposed; however, little is using Markov chain Monte Carlo (MCMC) methods. The known of their efficiency in practice. This work presents an first fully-polynomial time approximation scheme of this empirical evaluation of the state-of-the-art schemes and in- kind for was based on algorithms for approximating the vol- vestigates a number of ideas to enhance their performance. In umes of convex bodies (Dyer, Frieze, and Kannan 1991). addition, we introduce a novel approximation scheme, adap- The later improvements were based on rapidly mixing tive relaxation Monte Carlo (ARMC), that leverages exact Markov chains in the set of linear extensions (Karzanov exponential-time counting algorithms. We show that approx- and Khachiyan 1991; Bubley and Dyer 1999) combined imate counting is feasible up to a few hundred elements on with Monte Carlo counting schemes (Brightwell and Win- various classes of partial orders, and within this range ARMC kler 1991; Banks et al. -
Some Lattices of Closure Systems on a Finite Set Nathalie Caspard, Bernard Monjardet
Some lattices of closure systems on a finite set Nathalie Caspard, Bernard Monjardet To cite this version: Nathalie Caspard, Bernard Monjardet. Some lattices of closure systems on a finite set. Discrete Mathematics and Theoretical Computer Science, DMTCS, 2004, 6 (2), pp.163-190. hal-00959003 HAL Id: hal-00959003 https://hal.inria.fr/hal-00959003 Submitted on 13 Mar 2014 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Discrete Mathematics and Theoretical Computer Science 6, 2004, 163–190 Some lattices of closure systems on a finite set Nathalie Caspard1 and Bernard Monjardet2 1 LACL, Universite´ Paris 12 Val-de-Marne, 61 avenue du Gen´ eral´ de Gaulle, 94010 Creteil´ cedex, France. E-mail: [email protected] 2 CERMSEM, Maison des Sciences Economiques,´ Universite´ Paris 1, 106-112, bd de l’Hopital,ˆ 75647 Paris Cedex 13, France. E-mail: [email protected] received May 2003, accepted Feb 2004. In this paper we study two lattices of significant particular closure systems on a finite set, namely the union stable closure systems and the convex geometries. Using the notion of (admissible) quasi-closed set and of (deletable) closed set we determine the covering relation ≺ of these lattices and the changes induced, for instance, on the irreducible elements when one goes from C to C ′ where C and C ′ are two such closure systems satisfying C ≺ C ′. -
An Improved Algorithm for Transitive Closure on Acyclic Digraphs
View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Elsevier - Publisher Connector Theoretical Computer Science 58 (1988) 325-346 325 North-Holland AN IMPROVED ALGORITHM FOR TRANSITIVE CLOSURE ON ACYCLIC DIGRAPHS Klaus SIMON Fachbereich IO, Angewandte Mathematik und Informatik, CJniversitCt des Saarlandes, 6600 Saarbriicken, Fed. Rep. Germany Abstract. In [6] Goralcikova and Koubek describe an algorithm for finding the transitive closure of an acyclic digraph G with worst-case runtime O(n. e,,,), where n is the number of nodes and ered is the number of edges in the transitive reduction of G. We present an improvement on their algorithm which runs in worst-case time O(k. crud) and space O(n. k), where k is the width of a chain decomposition. For the expected values in the G,,.,, model of a random acyclic digraph with O<p<l we have F(k)=O(y), E(e,,,)=O(n,logn), O(n’) forlog’n/n~p<l. E(k, ercd) = 0( n2 log log n) otherwise, where “log” means the natural logarithm. 1. Introduction A directed graph G = ( V, E) consists of a vertex set V = {1,2,3,. , n} and an edge set E c VX V. Each element (u, w) of E is an edge and joins 2, to w. If G, = (V,, E,) and G, = (V,, E2) are directed graphs, G, is a subgraph of Gz if V, G V, and E, c EZ. The subgraph of G, induced by the subset V, of V, is the graph G, = (V,, E,), where E, is the set of all elements of E, which join pairs of elements of V, . -
Single-Element Extensions of Matroids
JOURNAL OF RESEARCH of the National Bureau of Standards-B. Mathematics and Mathematical Physics Vol. 69B, Nos. 1 and 2, January-June 1965 Single-Element Extensions of Matroids Henry H. Crapo Assistant Professor of Mathematics, Northeastern University, Boston, Mass. (No ve mbe r 16, 1964) Extensions of matroids to sets containing one additional ele ment are c ha rac te ri zed in te rms or modular cuts of the lattice or closed s ubsets. An equivalent characterizati o n is given in terms or linear subclasse s or the set or circuits or bonds or the matroid. A scheme for the construc ti o n or finit e geo· me tric lattices is deri ved a nd th e existe nce of at least 2" no ni somorphic matroids on an II- ele ment set is established. Contents Page 1. introducti on .. .. 55 2. Differentials .. 55 3. Unit in crease runcti ons ... .... .. .... ........................ 57 4. Exact diffe re ntia ls .... ... .. .. .. ........ " . 58 5. Sin gle·ele me nt exte ns ions ... ... 59 6. Linear subclasses.. .. .. ... .. 60 7. Geo metric la ttices ................... 62 8. Numeri ca l c lassification of matroid s .... 62 9. Bibl iography.. .. ............... 64 1. Introduction I of ele ments Pi of a lattice L, in whic h Pi covers Pi - t for i = 1, . .. , n, is a path (of length n) from x to y. In order to facilitate induc tive proofs of matroid 2 theore ms, we shall set forth a characte rization of single A step is a path of length J. element extensions of matroid structures. -
Lecture Notes on Algebraic Combinatorics Jeremy L. Martin
Lecture Notes on Algebraic Combinatorics Jeremy L. Martin [email protected] December 3, 2012 Copyright c 2012 by Jeremy L. Martin. These notes are licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. 2 Foreword The starting point for these lecture notes was my notes from Vic Reiner's Algebraic Combinatorics course at the University of Minnesota in Fall 2003. I currently use them for graduate courses at the University of Kansas. They will always be a work in progress. Please use them and share them freely for any research purpose. I have added and subtracted some material from Vic's course to suit my tastes, but any mistakes are my own; if you find one, please contact me at [email protected] so I can fix it. Thanks to those who have suggested additions and pointed out errors, including but not limited to: Logan Godkin, Alex Lazar, Nick Packauskas, Billy Sanders, Tony Se. 1. Posets and Lattices 1.1. Posets. Definition 1.1. A partially ordered set or poset is a set P equipped with a relation ≤ that is reflexive, antisymmetric, and transitive. That is, for all x; y; z 2 P : (1) x ≤ x (reflexivity). (2) If x ≤ y and y ≤ x, then x = y (antisymmetry). (3) If x ≤ y and y ≤ z, then x ≤ z (transitivity). We'll usually assume that P is finite. Example 1.2 (Boolean algebras). Let [n] = f1; 2; : : : ; ng (a standard piece of notation in combinatorics) and let Bn be the power set of [n]. We can partially order Bn by writing S ≤ T if S ⊆ T .