A NEW CHARACTERISATION OF INFORMATION CAPACITY EQUIVALENCE IN NESTED RELATIONS

Size: px
Start display at page:

Download "A NEW CHARACTERISATION OF INFORMATION CAPACITY EQUIVALENCE IN NESTED RELATIONS"

Transcription

1 A NEW CHARACTERISATION OF INFORMATION CAPACITY EQUIVALENCE IN NESTED RELATIONS Millist W Vincent Advanced Computing Research Centre, School of Computer and Information Science, University of South Australia, Adelaide, Australia millistvincent@unisaeduau Mark Levene Department of Computer Science, University College London, Gower Street, London, WC1E 6BT, UK MLevene@ukacuclcs Abstract Nested relations are an important subclass of object-relational systems that are now being widely used in industry Also, a subclass of nested relations, partitioned normal form (PNF) relations, is important because the semantics and manipulation of these relations are more transparent than general nested relations In this paper we address the question of determining when every PNF relation stored under one nested relation scheme can be transformed into another PNF relation stored under a different nested relation scheme without loss of information, referred to as the two schemes having equivalent information capacity This issue is important in many database application areas such as view processing, schema integration and schema evolution The main result of the paper provides a new characterisation of information capacity equivalence for single nested schemes It shows that two schemes are information capacity equivalent if and only if the two sets of multivalued dependencies induced by the two corresponding scheme trees are equivalent 1 INTRODUCTION The nested relational model [8] was introduced to provide a more natural way of modelling data in new application areas such as those involving textual, spatial or scientific data Since then, many aspects of the nested relational model have been investigated and several prototypes developed[1, 7, 13-15] More recently, nested relations are supported by object-relational systems that are predicted to become the industry standard An important subclass of nested relations is the class of partitioned normal form (PNF) nested relations [14] In a PNF relation the set of atomic attributes at every level of the nested relation must be a key It has been shown that PNF relations possess several desirable properties that nested relations in general do not possess, such as nesting and unnesting operations commuting, which results in the semantics of PNF nested relations and their query languages being more transparent than for general nested relations [12] The issue that is investigated in this paper is determining

2 when every PNF nested relation stored under one nested relation scheme can be transformed into another PNF nested relation stored under a different nested relation scheme without loss of semantic content, referred to as the two schemes being information capacity equivalent This is an important issue in all data models, not only the nested relational model, and has impact on a variety of areas such as view processing, scheme integration, schema evolution and schema translation in heterogeneous database systems In particular, the recent work in [9, 10] has highlighted the importance of information capacity in the development of correct techniques for schema integration and schema translation The approach to formalising the notion of information capacity equivalence used in this paper is based on the seminal work in [4, 6] The essential idea is that two database schemes are information capacity equivalent if there exists a bijection which maps from every instances of one scheme to an instance in the other If this property is satisfied, then every instance of one scheme can be mapped to an instance in the other scheme and then recovered since the mapping is 1-1 If no restriction is placed on the instance mapping apart from the requirement that it be a bijection, then this notion of information capacity equivalence is referred to as absolute equivalence Several more restrictive notions equivalence were also introduced in [4, 6] based on further restricting the instance mapping In particular, the other types equivalence introduced were (in increasing order of restrictiveness): internal equivalence (which does not allow the instance mapping 'invent' more than a fixed set of constants), generic equivalence (which requires that the instance mapping commutes with permutations of the data values which leave the instances unchanged) and query equivalence (which requires that the instance mapping be a query in the data model) It has been shown that in the case of the relational model, the different notions of data equivalence are not identical whereas in the format model introduced in [4, 6] absolute equivalence, internal equivalence and generic equivalence are identical The main result of this paper extends a previous result [18] and provides a new characterisation of absolute equivalence for PNF schemes It shows that two PNF schemes are absolutely equivalent if and only if the sets of multivalued dependencies (MVDs) induced by the corresponding scheme trees are equivalent This result confirms the importance of considering dependencies in restructuring, an observation that had been previously made but not fully investigated [5] A consequence of this result is also that absolute equivalence and query equivalence are identical for single nested schemes Finally, we use these results to develop a polynomial time algorithm for testing whether two nested schemes are absolutely equivalent We also point out that in characterising absolute equivalence we explicitly derive a 1-1 mapping between the PNF instances of the schemes expressed as a sequence of unnest and nest operations The benefit of deriving an instance mapping, and especially one that is expressible as a query, is that the instance mapping can be used in database translation tools to translate any query expressed against one scheme into another query expressed against an equivalent scheme [9, 10] The rest of the paper is organised as follows In Section 2 we introduce basic definitions and notations In Section 3 we derive the main result of the paper on characterising absolute equivalence on nested schemes and Section 4 contains concluding comments

3 2 DEFINITIONS AND NOTATION We now introduce the definitions and notation to be used in later sections More complete presentations can be found in standard references such as [12] 21 Trees A tree is a finite, acyclic, directed graph in which there is a unique node, called the root, with indegree 0 and every other node has indegree 1 A node n' is a child of a node n (or equivalently, n is the parent of n') if there is a directed edge from n to n' A pair of nodes are siblings if they are children of the same node A node is a leaf if it has no children A node n' is recursively defined to be a descendant of a node n (or equivalently, n is an ancestor of n') if either n' is a child of n, or n has a child n" such that n' is a descendant of n" The height of a tree T is the number of nodes on the longest path from the root to a leaf node A tree T' is a subtree of a tree T if the nodes of T' are a subset of those of T and for every pair of nodes n' and n, n' is a child of n in T if and only if n' is a child of n in T' A subtree T' is a principal subtree of T if the root of T' is a child of the root of T A tree T is balanced if every non-leaf node has at least two children 22 Scheme trees and nested relations Let U be a fixed countable set of atomic attribute names Associated with each attribute name A U is a countably infinite set of values denoted by DOM(A) and the set DOM is defined by DOM = DOM(A i ) for all A i U We assume that DOM(A j ) DOM(A j ) if i j A scheme tree is a tree containing at least one node and whose nodes are labelled with nonempty sets of attributes that form a disjoint partition of U If n denotes a node in a scheme tree T then: ATT(n) is the set of attributes associated with n; ΑΤΤ(Τ) is the union of ATT(n) for all n T; ANC(n) is the set of all ancestor nodes of n, including n; A(n) is the union of ATT(n') for all n' ANC(n); DESC(n) is the set of all descendant nodes of n, including n; D(n) is the union of ATT(n') for all n' DESC(n); ROOT(T) denotes the root node of T; HEIGHT(T) denotes the height of T Figure 21 illustrates an example scheme tree defined over the set of attributes {STUDENT, MAJOR, CLASS, EXAM, PROJECT}

4 STUDENT MAJOR CLASS EXAM PROJECT Fig 21 An example scheme tree If S and T are two scheme trees, then S and T are isomorphic if there exists a bijection τ from the nodes of S to those of T such that: (i) for any pair of nodes n' and n in S, n' is a child of n in T iff τ (n') is a child of τ (n) in S; (ii) for every node n S, ATT(n) = ATT(τ(n)) We note that it follows from this definition that if scheme trees S and T are isomorphic then ATT(S) = ATT(T) It also follows that the scheme tree resulting from interchanging in a scheme tree any pair of subtrees whose roots are siblings is isomorphic to the original scheme tree If a scheme tree T has leaf nodes {n 1,, n m } then the path set of T, P(T), is defined by P(T) = {A(n 1 ),, A(n m )} For instance, the path set of the scheme tree in Figure 21 is {{STUDENT, MAJOR}, {STUDENT, CLASS, EXAM}, {STUDENT, CLASS, PROJECT}} A nested relation scheme (NRS) for a scheme tree T, denoted by N(T), is the set defined recursively by: (i) If T consists of a single node u then N(T) = ATT(u); (ii) If A = ATT(ROOT(T)) and T 1,, T k, k 1, are the principal subtrees of T then N(T) = A {N(T 1 )} {N(T k )} For example, for the scheme tree T shown in Figure 21, N(T) = {STUDENT, {MAJOR}, {CLASS, {EXAM}, {PROJECT}}} We now recursively define the domain of a scheme tree T, denoted by DOM(N(T)), by: (i) If T consists of a single node n with ATT(n) = {A 1,, A n } then DOM(N(T)) = DOM(A 1 ) DOM(A n ); (ii) If A = ATT(ROOT(T)) and T 1,, T p are the principal subtrees of T, then DOM(N(T) = DOM(A) P(DOM(N(T 1 ))) P(DOM(N(T p ))) where P(S) denotes the set of all nonempty, finite subsets of a set S We note in the above definition that, in contrast to the VERSO model defined in [1], we do not allow empty sets

5 The set of atomic attributes in N(T), denoted by Z(N(T)), is defined by Z(N(T)) = N(T) U The set of higher order attributes in N(T), denoted by H(N(T)), is defined by H(N(T)) = N(T) - Z(N(T)) For instance, for the example shown in Figure 21, Z(N(T)) = {STUDENT} and H(N(T)) = {{MAJOR}, {CLASS, {EXAM}, {PROJECT}}} Also, if X is a subset of N(T) given by X = {A 1,, A k, {Y 1 },, {Y p }} where A 1,, A k are the atomic attributes of X and {Y 1 },, {Y p } are the higher order attributes, then the atomic attributes in X, denoted by ATOM (X), is recursively defined by ATOM(X) = {A 1,, A k } ATOM(Y 1 ) ATOM(Y p ) Finally we define a nested relation over a nested relation scheme N(T), denoted by r*(n(t)), or often simply by r* when N(T) is understood, to be a finite nonempty set of elements from DOM(N(T)) If t is a tuple in r* and Y is a nonempty subset of N(T), then t[y] denotes the restriction of t to Y and the restriction of r* to Y is then the nested relation defined by r*[y] = { t[y] t r*} An example of a nested relation over the scheme tree shown in Figure 21 is shown in Figure 22 The active domain of a nested relation r*, denoted by ADOM(r*), is the subset of DOM containing all the atomic values appearing in r* STUDENT {MAJOR} {CLASS {EXAM} {PROJECT}} Anna Maths CS100 mid-year Project A Computing final Project B Project C Bill Physics P100 final Prac Test 1 Prac Test 2 Chemistry CH 200 Test A Experiment 1 Test B Experiment 2 Test C Experiment 3 Fig 22 A nested relation 23 Nested Operators We now define the two restructuring operators for nested relations, nest and unnest, first introduced in [16] Let Y be a nonempty proper subset of N(T) Then the operation of nesting a relation r* on Y, denoted by νy(r*), is defined to be a nested relation over the scheme (N(T) - Y) {Y} and a tuple t νy(r*) iff: (1) there exists t' r* such that t[n(t) - Y] = t'[n(t) - Y] and (2) t[{y}] = {t"[y] t" r* and t"[n(t) - Y] = t[n(t) - Y]} Unnesting is defined as follows Let r*(n(t)) be a relation and {Y} an element of H(N(T)) Then the unnesting of r* on {Y}, denoted by µ{y}(r*) is a relation over the nested scheme (N(T) - {Y}) Y and a tuple t µ{y}(r*) iff there exists t' r* such that t'[n(t) - {Y}] = t[n(t) - {Y}] and t[y] t'[{y}]

6 More generally, one can define the total unnest of a relation, µ*(r*), as the flat relation defined recursively by: (1) if r* is a flat relation then µ*(r*) = r*; (2) otherwise µ*(r*) = µ*(µ{y}(r*)) where {Y} is a higher order attribute in the NRS for r* It can be shown [16] that the order of unnesting is immaterial and so µ* is uniquely defined 24 Constraints We now define dependencies in a nested relation in a similar fashion to the way they are defined in flat relations If r*(n(t)) is a nested relation and Y and Z are subsets of N(T) then r* satisfies the functional dependency (FD) Y Z iff for all tuples t, t' r*, if t[y] = t'[y] then t[z] = t'[z] The MVD Y Z is satisfied in r* iff for all t, t' r* such that t[y] = t'[y], there exists s r* such that s[y] = t[y], s[z] = t[z] and s[n(t) - Z] = t'[n(t) - Z] The set of MVDs induced by a scheme tree T is defined as follows [11] If (n, n') is an edge in T, then the MVD associated with this edge is the MVD A(n) D(n') and MVD(T) is the set of all such MVDs associated with all the edges in T For example, if T is the scheme tree in Figure 21 then MVD(T) = {STUDENT MAJOR, STUDENT CLASS EXAM PROJECT, STUDENT CLASS EXAM, STUDENT CLASS PROJECT} A join dependency (JD), denoted by ><[R 1,, R p ] where R i U for 1 i p, is satisfied in a flat relation r if r = π R1 (r) >< ><π Rp (r) where π denoted the projection operator The set of all flat relations which satisfy a set Σ of FDs and MVDs is denoted by SAT(Σ) Given a set Σ of FDs and MVDs and an FD Z W (or MVD Z W), Σ implies the FD Z W (or MVD Z W) if every relation in SAT(Σ) also satisfies Z W (or Z W) The closure of a set Σ of FDs and MVDs, denoted by Σ +, is the set of FDs and MVDs implied by Σ Two sets of dependencies, Σ and Ψ, are equivalent, written as Σ Ψ, if Σ + = Ψ + The subclass of nested relations we investigate in this paper, partitioned normal form (PNF) relations, was introduced in [14] If T is a scheme tree and PNF(T) denotes the set of all PNF nested relations over T, then a relation r* PNF(T) iff the following conditions hold: (i) r* is a nested relation defined over N(T); (ii) Z(N(T)) is a key for r*, ie r* satisfies the FD Z(N(T)) H(N(T)); (iii) For every Y H(N(T)) and t r*, t[y] is in PNF 3 ABSOLUTE EQUIVALENCE FOR PNF SCHEMES In this section we establish the main result of the paper on characterising absolute equivalence for scheme trees which extends the results given in [18] and gives a new characterisation of absolute equivalence For the sake of completeness and to assist the reader, we also reproduce the relevant results from [18] Details of proofs are omitted for lack of space and can be found in a full length version of this paper [19] Firstly, we recall the definition of absolute equivalence between schemes [4]

7 Definition 31 Let T and S be scheme trees where ATT(T) = ATT(S) = U and let X DOM The set DOM X (T) is defined by DOM X (T) = {r* r* PNF(T) and ADOM(r*) X} Then T is absolutely equivalent to S if there exists a positive integer N such that for all X DOM such that X DOM(A i ) N for every A i U, there exists a bijection from DOM X (T) to DOMX(S) A simple consequence of Definition 31 is the following alternative characterisation [4] of absolute equivalence in terms of domain sizes This characterisation is fundamental to the later results in this paper Lemma 31 Let T and S be scheme trees where ATT(T) = ATT(S) and let X DOM Then T and S are absolutely equivalent iff there exists a positive integer N such that for all X DOM such that X DOM(A i ) N for every A i U, DOM X (T) = DOM X (S) (where X denotes the cardinality of a set X) We now introduce a restructuring operator for PNF scheme trees, called COMPRESS Definition 32 Let T be a scheme tree and n a node in T with a single child node n' having children n 1,, n k Then the COMPRESS operator results in replacing the subtree with root n by a subtree with root containing ATT(n) ATT(n') and having children n 1,, n k The COMPRESS operator is illustrated in Figure 32 n A A 1 j COMPRES S n" A A 1 m n' A A j+1 m n 1 n k n 1 n k Fig 32 COMPRESS Operator We note that the COMPRESS operator can be equivalently defined, though less transparently, by a total unnest operator followed by an appropriate sequence on nest operators Next, we show that the nested scheme obtained by applying an arbitrary COMPRESS operator is absolutely equivalent the original scheme tree

8 Lemma 32 If T is a scheme tree then T and COMPRESS(T),where COMPRESS(T) denotes the scheme tree obtained by applying the COMPRESS operator to an arbitrary node in T, are absolutely equivalent It follows from this result that by repeatedly applying the COMPRESS operator to a scheme tree T until no more applications can be applied, a balanced tree is obtained which is absolutely equivalent to the original tree In the terminology of [6], this tree can be considered as a normal form tree for T Also, we have the following result that the (balanced) normal that the (balanced) normal form tree for T, denoted by B(T), is unique (up to an isomorphism) We write S T if there exists a sequence of scheme trees S 1,, S n such that S 1 = S,, S n = T and S i = COMPRESS(S i-1 ), n i > 1 Lemma 33 If S is a scheme tree and S 1 and S 2 are balanced scheme trees such that S S 1 and S S 2, then S 1 and S 2 are isomorphic We also recall the main result from [18] which characterises absolute equivalence in terms of the normal form trees Theorem 31 If T and S are scheme trees where ATT(S) = ATT(T), then S and T are absolutely equivalent iff B(S) and B(T) are isomorphic We now show that absolute equivalence can also be characterised in terms of the MVDs induced by the scheme tree Firstly, we follow the approach of [17] and define a generalised nest operator and then show that it can be used to construct a bijection between PNF instances of two scheme trees whose induced sets of MVDs are equivalent Definition 33 Let T be a scheme tree and r a flat relation defined over U Then nesting r according to T, denoted by ν * T (r), is defined by ν* T (r) = ν X k ν X0 (r) such that: (i) For every non-root node n T there exists one and only one X i such that N(T n ) = X i, where T n is the subtree of T with root n; (ii) If node n is a descendent of node n' in T, then the nest operation on the set corresponding to n is performed before the nest operation on the set corresponding to n ' For example, given the scheme tree T in Figure 21, then one nest sequence to construct ν * T (r) is ν MAJOR ν CLASS, {EXAM}, {PROJECT} ν EXAM ν PROJECT (r) We then can show that ν * T (r) has the following properties:

9 Lemma 34 If r is a flat relation in MVD(T), then: (i) ν * T (r) is uniquely defined; (ii) If r* PNF(T), then ν * T (µ*(s*)) = r*; (iii) µ*(ν * T (r)) = r We use this result to show that if MVD(S) and MVD(T) are equivalent, then there exists a bijection from PNF(S) to PNF(T) Lemma 35 If S and T are scheme trees where ATT(T) = ATT(S) and MVD(S) MVD(T), then the mapping from PNF(S) to PNF(T) defined by F(s*) = ν * T (µ*(s*)), s* PNF(S), is a bijection Combining these two preliminary results gives the main result of this paper which characterises absolute in terms of the induced MVDs Theorem 32 If T and S are scheme trees where ATT(S) = ATT(T), then S and T are absolutely equivalent iff MVD(S) MVD(T) The significance of this theorem is that it follows from it and Lemma 35 that if S and T are absolutely equivalent then there exits a bijection between instances of the schemes which can be expressed as a query in the standard nested relational query algebra In other words, if S and T are absolutely equivalent then they are also query equivalent and so absolute equivalence and query equivalence (and also generic and internal equivalence coincide for PNF schemes since it is well known that query equivalence generic equivalence internal equivalence absolute equivalence [5]) The practical importance of being able to express the instance mapping as a nested relational query was discussed in more detail in the Introduction Another consequence of Theorems 31 and 32 is that they provide two polynomial time algorithms for testing scheme tree equivalence, one by checking for the equivalence of the sets of MVDs and the other by converting each scheme tree to a balanced tree and then checking if the trees are isomorphic Using the MVD approach, it follows from the results in [3] that the implication problem of testing whether a set of MVDs Σ implies an MVD Z W can be solved in at worst in O(N log U ) time, where N is the total number of occurrences of attributes in Σ Testing whether two sets of MVDs are equivalent then reduces to running the membership test for each MVD in both sets and can be solved in at worst in O( Σ N log U ) time, assuming that Σ and N are upper bounds for both MVD sets The alternative approach can be implemented by first imposing an arbitrary total ordering on U and thereafter sorting first the attributes in each node of the scheme tree and then the children of each node according to the first attribute in a child This sort can be done in at worst in time t = (c i log c i + k i log k i ) where the sum is taken i over all the nodes in the tree and c i and k i represent the number of attributes in node i of the tree and the number of children of node i, respectively Using the properties of the log function we can derive t = log( i c i c i k i k i ) and so t O( U log U ) because

10 c i = U and k i U After sorting the scheme tree, compressing them can i i be done in at worst in O( U ) time since there are at most U nodes in the tree Finally, testing if the trees are isomorphic can be done in at worst O( U ) time since each attribute needs to be checked at most once and appears only once in a scheme tree Hence the total cost of testing for absolute equivalence using this method is at worst O( U log U ) time This compares favourably with the MVD approach when U < Σ N, which one expects normally to hold The next lemma summarises this result Lemma 36 Testing whether two PNF scheme trees are absolutely equivalent can be done in O( U log U ) time 4 CONCLUSIONS In this paper we have investigated the problem of when two nested relational schemes are information capacity equivalent and a proved a new characterisation of quivalence - that two nested schemes are equivalent if and only if the sets of MVDs induced by the corresponding scheme trees are isomorphic Also, a consequence of this result shows that absolute equivalence and query equivalence coincide for PNF scheme trees There are several other related topics that also warrant further investigation Data equivalence can be viewed as a special case of data dominance [8] which holds if there is a 1-1 (but not necessarily onto) mapping from the instances of one scheme to the instances of another scheme Finding then a complete set of restructuring operators for a scheme tree which preserve data dominance is an important question that arises in contexts such as schema integration where one often wants to ensure that the integrated scheme dominates the original schemes The approach in this paper has also assumed that attribute domains are disjoint and it would be useful to characterise data equivalence and dominance if this assumption is dropped Another aspect that needs further investigation is to extend the approach in this paper, which has only characterised data equivalence for a single nested scheme, to characterising absolute equivalence and dominance for nested database schemes References [1] S Abiteboul and N Bidoit, Non First Normal Form Relations: An Algebra Allowing Data Restructuring, Journal of Computer and System Sciences 33(3)(1986) [2] S Abiteboul and R Hull, Restructuring Hierarchical Database Objects, Theoretical Computer Science 62(1-2)(1988) 3-38 [3] Z Galil, An Almost Linear-Time Algorithm for Computing a Dependency Basis in a Relational Database, Journal of the ACM 29(1)(1982) [4] R Hull, Relative Information Capacity of Simple Relational Database Schemata, SIAM Journal of Computing 15(3)(1986) [5] R Hull, A survey of theoretic research on typed complex database objects, in: Databases, J Paredaens ed, (Academic Press, London, 1987)

11 [6] R Hull and CK Yap, The Format Model: A Theory of Database Organization, Journal of the ACM 31(3)(1984) [7] M Levene, The nested universal relational database model, (Springer-Verlag, Berlin, 1992) [8] A Makinouchi, A Consideration on Normal Form of Not-Necessarily- Normalized Relations in the Relational Data Model, in: 3rd International Conference on Very Large Data Bases, Tokyo, Japan, (1977), [9] RJ Miller, YE Ioannidis and R Ramakrishnan, Schema Equivalence in Heterogenous Systems: Bridging Theory and Practice, Information Systems 19(1)(1994) 3-31 [10] RJ Miller, YE Ioannidis and R Ramakrishnan, The Use of Information Capacity in Schema Integration and Translation, in: 19th International Conference on Very Large Data Bases, Dublin, Ireland, (1993), [11] ZM Ozsoyoglu and L-Y Yuan, A New Normal Form for Nested Relations, ACM Transactions on Database Systems 12(1)(1987) [12] J Paredaens, et al, The Structure of the Relational Database Model, (Springer-Verlag, Berlin, 1989) [13] P Pistor, The Advanced Information Management Prototype (AIM-P): Advanced Database Technology for Integrated Applications, IBM Systems Journal 28(4)(1987) [14] MA Roth, HF Korth and A Silberschatz, Extended Algebra and Calculus for Nested Relational Databases, ACM Transactions on Database Systems 13(4)(1988) [15] H-J Schek, et al, The DASDBS Project: Objectives, Experiences, and Future Prospects, IEEE Transactions on Knowledge and Data Engineering 2(1)(1990) [16] SJ Thomas and PC Fischer, Nested Relational Structures, in: The Theory of Databases, PC Kanellakis ed, (JAI Press, 1986) [17] D Van Gucht, Multilevel Nested Relational Structures, Journal of Computer and System Sciences 36(1)(1988) [18] MW Vincent and M Levene, Restructuring Partitioned Normal Form Relations without Information Loss, in: submitted to COMAD International Conference on Data Management, (1997), [19] MW Vincent and M Levene, Restructuring Partitioned Normal Form Relations without Loss of Information 1997, Technical Report No CIS , School of Computer and Information Science, University of South Australia

Foundations of Computer Science Spring Mathematical Preliminaries

Foundations of Computer Science Spring Mathematical Preliminaries Foundations of Computer Science Spring 2017 Equivalence Relation, Recursive Definition, and Mathematical Induction Mathematical Preliminaries Mohammad Ashiqur Rahman Department of Computer Science College

More information

A Fast Algorithm for Optimal Alignment between Similar Ordered Trees

A Fast Algorithm for Optimal Alignment between Similar Ordered Trees Fundamenta Informaticae 56 (2003) 105 120 105 IOS Press A Fast Algorithm for Optimal Alignment between Similar Ordered Trees Jesper Jansson Department of Computer Science Lund University, Box 118 SE-221

More information

Discrete mathematics

Discrete mathematics Discrete mathematics Petr Kovář petr.kovar@vsb.cz VŠB Technical University of Ostrava DiM 470-2301/02, Winter term 2018/2019 About this file This file is meant to be a guideline for the lecturer. Many

More information

Trees. 3. (Minimally Connected) G is connected and deleting any of its edges gives rise to a disconnected graph.

Trees. 3. (Minimally Connected) G is connected and deleting any of its edges gives rise to a disconnected graph. Trees 1 Introduction Trees are very special kind of (undirected) graphs. Formally speaking, a tree is a connected graph that is acyclic. 1 This definition has some drawbacks: given a graph it is not trivial

More information

The Encoding Complexity of Network Coding

The Encoding Complexity of Network Coding The Encoding Complexity of Network Coding Michael Langberg Alexander Sprintson Jehoshua Bruck California Institute of Technology Email: mikel,spalex,bruck @caltech.edu Abstract In the multicast network

More information

Parameterized coloring problems on chordal graphs

Parameterized coloring problems on chordal graphs Parameterized coloring problems on chordal graphs Dániel Marx Department of Computer Science and Information Theory, Budapest University of Technology and Economics Budapest, H-1521, Hungary dmarx@cs.bme.hu

More information

These notes present some properties of chordal graphs, a set of undirected graphs that are important for undirected graphical models.

These notes present some properties of chordal graphs, a set of undirected graphs that are important for undirected graphical models. Undirected Graphical Models: Chordal Graphs, Decomposable Graphs, Junction Trees, and Factorizations Peter Bartlett. October 2003. These notes present some properties of chordal graphs, a set of undirected

More information

Justification for Inclusion Dependency Normal Form

Justification for Inclusion Dependency Normal Form IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, VOL. 12, NO. 2, MARCH/APRIL 2000 281 Justification for Inclusion Dependency Normal Form Mark Levene and Millist W. Vincent AbstractÐFunctional dependencies

More information

A Semi-group of Hashing Functions & Hash Tables

A Semi-group of Hashing Functions & Hash Tables A Semi-group of Hashing Functions & Hash Tables Arthur Hughes University of Dublin, Trinity College, Dublin, Ireland e-mail: Arthur.P.Hughes@cs.tcd.ie January 19, 1997 Abstract A model of a hash table

More information

A Commit Scheduler for XML Databases

A Commit Scheduler for XML Databases A Commit Scheduler for XML Databases Stijn Dekeyser and Jan Hidders University of Antwerp Abstract. The hierarchical and semistructured nature of XML data may cause complicated update-behavior. Updates

More information

1. Why Study Trees? Trees and Graphs. 2. Binary Trees. CITS2200 Data Structures and Algorithms. Wood... Topic 10. Trees are ubiquitous. Examples...

1. Why Study Trees? Trees and Graphs. 2. Binary Trees. CITS2200 Data Structures and Algorithms. Wood... Topic 10. Trees are ubiquitous. Examples... . Why Study Trees? CITS00 Data Structures and Algorithms Topic 0 Trees and Graphs Trees and Graphs Binary trees definitions: size, height, levels, skinny, complete Trees, forests and orchards Wood... Examples...

More information

The 3-Steiner Root Problem

The 3-Steiner Root Problem The 3-Steiner Root Problem Maw-Shang Chang 1 and Ming-Tat Ko 2 1 Department of Computer Science and Information Engineering National Chung Cheng University, Chiayi 621, Taiwan, R.O.C. mschang@cs.ccu.edu.tw

More information

Trees. Q: Why study trees? A: Many advance ADTs are implemented using tree-based data structures.

Trees. Q: Why study trees? A: Many advance ADTs are implemented using tree-based data structures. Trees Q: Why study trees? : Many advance DTs are implemented using tree-based data structures. Recursive Definition of (Rooted) Tree: Let T be a set with n 0 elements. (i) If n = 0, T is an empty tree,

More information

Consistency and Set Intersection

Consistency and Set Intersection Consistency and Set Intersection Yuanlin Zhang and Roland H.C. Yap National University of Singapore 3 Science Drive 2, Singapore {zhangyl,ryap}@comp.nus.edu.sg Abstract We propose a new framework to study

More information

Lecture 11 COVERING SPACES

Lecture 11 COVERING SPACES Lecture 11 COVERING SPACES A covering space (or covering) is not a space, but a mapping of spaces (usually manifolds) which, locally, is a homeomorphism, but globally may be quite complicated. The simplest

More information

Notes on Binary Dumbbell Trees

Notes on Binary Dumbbell Trees Notes on Binary Dumbbell Trees Michiel Smid March 23, 2012 Abstract Dumbbell trees were introduced in [1]. A detailed description of non-binary dumbbell trees appears in Chapter 11 of [3]. These notes

More information

9.5 Equivalence Relations

9.5 Equivalence Relations 9.5 Equivalence Relations You know from your early study of fractions that each fraction has many equivalent forms. For example, 2, 2 4, 3 6, 2, 3 6, 5 30,... are all different ways to represent the same

More information

The self-minor conjecture for infinite trees

The self-minor conjecture for infinite trees The self-minor conjecture for infinite trees Julian Pott Abstract We prove Seymour s self-minor conjecture for infinite trees. 1. Introduction P. D. Seymour conjectured that every infinite graph is a proper

More information

Treewidth and graph minors

Treewidth and graph minors Treewidth and graph minors Lectures 9 and 10, December 29, 2011, January 5, 2012 We shall touch upon the theory of Graph Minors by Robertson and Seymour. This theory gives a very general condition under

More information

CSC Discrete Math I, Spring Sets

CSC Discrete Math I, Spring Sets CSC 125 - Discrete Math I, Spring 2017 Sets Sets A set is well-defined, unordered collection of objects The objects in a set are called the elements, or members, of the set A set is said to contain its

More information

On Sequential Topogenic Graphs

On Sequential Topogenic Graphs Int. J. Contemp. Math. Sciences, Vol. 5, 2010, no. 36, 1799-1805 On Sequential Topogenic Graphs Bindhu K. Thomas, K. A. Germina and Jisha Elizabath Joy Research Center & PG Department of Mathematics Mary

More information

This article was originally published in a journal published by Elsevier, and the attached copy is provided by Elsevier for the author s benefit and for the benefit of the author s institution, for non-commercial

More information

PLANAR GRAPH BIPARTIZATION IN LINEAR TIME

PLANAR GRAPH BIPARTIZATION IN LINEAR TIME PLANAR GRAPH BIPARTIZATION IN LINEAR TIME SAMUEL FIORINI, NADIA HARDY, BRUCE REED, AND ADRIAN VETTA Abstract. For each constant k, we present a linear time algorithm that, given a planar graph G, either

More information

An Optimal Algorithm for the Euclidean Bottleneck Full Steiner Tree Problem

An Optimal Algorithm for the Euclidean Bottleneck Full Steiner Tree Problem An Optimal Algorithm for the Euclidean Bottleneck Full Steiner Tree Problem Ahmad Biniaz Anil Maheshwari Michiel Smid September 30, 2013 Abstract Let P and S be two disjoint sets of n and m points in the

More information

A Framework for Network Reliability Problems on Graphs of Bounded Treewidth

A Framework for Network Reliability Problems on Graphs of Bounded Treewidth A Framework for Network Reliability Problems on Graphs of Bounded Treewidth Thomas Wolle Institute of Information and Computing Sciences, Utrecht University P.O.Box 80.089, 3508 TB Utrecht, The Netherlands

More information

KRUSKALIAN GRAPHS k-cographs

KRUSKALIAN GRAPHS k-cographs KRUSKALIAN GRAPHS k-cographs Ling-Ju Hung Ton Kloks Department of Computer Science and Information Engineering National Chung Cheng University, Min-Hsiung, Chia-Yi 62102, Taiwan Email: hunglc@cs.ccu.edu.tw

More information

However, this is not always true! For example, this fails if both A and B are closed and unbounded (find an example).

However, this is not always true! For example, this fails if both A and B are closed and unbounded (find an example). 98 CHAPTER 3. PROPERTIES OF CONVEX SETS: A GLIMPSE 3.2 Separation Theorems It seems intuitively rather obvious that if A and B are two nonempty disjoint convex sets in A 2, then there is a line, H, separating

More information

Universal Cycles for Permutations

Universal Cycles for Permutations arxiv:0710.5611v1 [math.co] 30 Oct 2007 Universal Cycles for Permutations J Robert Johnson School of Mathematical Sciences Queen Mary, University of London Mile End Road, London E1 4NS, UK Email: r.johnson@qmul.ac.uk

More information

4 Basics of Trees. Petr Hliněný, FI MU Brno 1 FI: MA010: Trees and Forests

4 Basics of Trees. Petr Hliněný, FI MU Brno 1 FI: MA010: Trees and Forests 4 Basics of Trees Trees, actually acyclic connected simple graphs, are among the simplest graph classes. Despite their simplicity, they still have rich structure and many useful application, such as in

More information

Hamilton paths & circuits. Gray codes. Hamilton Circuits. Planar Graphs. Hamilton circuits. 10 Nov 2015

Hamilton paths & circuits. Gray codes. Hamilton Circuits. Planar Graphs. Hamilton circuits. 10 Nov 2015 Hamilton paths & circuits Def. A path in a multigraph is a Hamilton path if it visits each vertex exactly once. Def. A circuit that is a Hamilton path is called a Hamilton circuit. Hamilton circuits Constructing

More information

The Inverse of a Schema Mapping

The Inverse of a Schema Mapping The Inverse of a Schema Mapping Jorge Pérez Department of Computer Science, Universidad de Chile Blanco Encalada 2120, Santiago, Chile jperez@dcc.uchile.cl Abstract The inversion of schema mappings has

More information

CS521 \ Notes for the Final Exam

CS521 \ Notes for the Final Exam CS521 \ Notes for final exam 1 Ariel Stolerman Asymptotic Notations: CS521 \ Notes for the Final Exam Notation Definition Limit Big-O ( ) Small-o ( ) Big- ( ) Small- ( ) Big- ( ) Notes: ( ) ( ) ( ) ( )

More information

The SNPR neighbourhood of tree-child networks

The SNPR neighbourhood of tree-child networks Journal of Graph Algorithms and Applications http://jgaa.info/ vol. 22, no. 2, pp. 29 55 (2018) DOI: 10.7155/jgaa.00472 The SNPR neighbourhood of tree-child networks Jonathan Klawitter Department of Computer

More information

Provable data privacy

Provable data privacy Provable data privacy Kilian Stoffel 1 and Thomas Studer 2 1 Université de Neuchâtel, Pierre-à-Mazel 7, CH-2000 Neuchâtel, Switzerland kilian.stoffel@unine.ch 2 Institut für Informatik und angewandte Mathematik,

More information

On Soft Topological Linear Spaces

On Soft Topological Linear Spaces Republic of Iraq Ministry of Higher Education and Scientific Research University of AL-Qadisiyah College of Computer Science and Formation Technology Department of Mathematics On Soft Topological Linear

More information

Are Fibonacci Heaps Optimal? Diab Abuaiadh and Jeffrey H. Kingston ABSTRACT

Are Fibonacci Heaps Optimal? Diab Abuaiadh and Jeffrey H. Kingston ABSTRACT Are Fibonacci Heaps Optimal? Diab Abuaiadh and Jeffrey H. Kingston ABSTRACT In this paper we investigate the inherent complexity of the priority queue abstract data type. We show that, under reasonable

More information

DOMINATION IN SOME CLASSES OF DITREES

DOMINATION IN SOME CLASSES OF DITREES BULLETIN OF THE INTERNATIONAL MATHEMATICAL VIRTUAL INSTITUTE ISSN (p) 20-4874, ISSN (o) 20-4955 www.imvibl.org /JOURNALS / BULLETIN Vol. 6(2016), 157-167 Former BULLETIN OF THE SOCIETY OF MATHEMATICIANS

More information

A more efficient algorithm for perfect sorting by reversals

A more efficient algorithm for perfect sorting by reversals A more efficient algorithm for perfect sorting by reversals Sèverine Bérard 1,2, Cedric Chauve 3,4, and Christophe Paul 5 1 Département de Mathématiques et d Informatique Appliquée, INRA, Toulouse, France.

More information

Discrete Applied Mathematics. A revision and extension of results on 4-regular, 4-connected, claw-free graphs

Discrete Applied Mathematics. A revision and extension of results on 4-regular, 4-connected, claw-free graphs Discrete Applied Mathematics 159 (2011) 1225 1230 Contents lists available at ScienceDirect Discrete Applied Mathematics journal homepage: www.elsevier.com/locate/dam A revision and extension of results

More information

An undirected graph is a tree if and only of there is a unique simple path between any 2 of its vertices.

An undirected graph is a tree if and only of there is a unique simple path between any 2 of its vertices. Trees Trees form the most widely used subclasses of graphs. In CS, we make extensive use of trees. Trees are useful in organizing and relating data in databases, file systems and other applications. Formal

More information

Topological Invariance under Line Graph Transformations

Topological Invariance under Line Graph Transformations Symmetry 2012, 4, 329-335; doi:103390/sym4020329 Article OPEN ACCESS symmetry ISSN 2073-8994 wwwmdpicom/journal/symmetry Topological Invariance under Line Graph Transformations Allen D Parks Electromagnetic

More information

REDUNDANCY OF MULTISET TOPOLOGICAL SPACES

REDUNDANCY OF MULTISET TOPOLOGICAL SPACES Iranian Journal of Fuzzy Systems Vol. 14, No. 4, (2017) pp. 163-168 163 REDUNDANCY OF MULTISET TOPOLOGICAL SPACES A. GHAREEB Abstract. In this paper, we show the redundancies of multiset topological spaces.

More information

Organizing Spatial Data

Organizing Spatial Data Organizing Spatial Data Spatial data records include a sense of location as an attribute. Typically location is represented by coordinate data (in 2D or 3D). 1 If we are to search spatial data using the

More information

Checking Containment of Schema Mappings (Preliminary Report)

Checking Containment of Schema Mappings (Preliminary Report) Checking Containment of Schema Mappings (Preliminary Report) Andrea Calì 3,1 and Riccardo Torlone 2 Oxford-Man Institute of Quantitative Finance, University of Oxford, UK Dip. di Informatica e Automazione,

More information

Handout 9: Imperative Programs and State

Handout 9: Imperative Programs and State 06-02552 Princ. of Progr. Languages (and Extended ) The University of Birmingham Spring Semester 2016-17 School of Computer Science c Uday Reddy2016-17 Handout 9: Imperative Programs and State Imperative

More information

arxiv: v2 [math.co] 23 Jan 2018

arxiv: v2 [math.co] 23 Jan 2018 CONNECTIVITY OF CUBICAL POLYTOPES HOA THI BUI, GUILLERMO PINEDA-VILLAVICENCIO, AND JULIEN UGON arxiv:1801.06747v2 [math.co] 23 Jan 2018 Abstract. A cubical polytope is a polytope with all its facets being

More information

Review of Sets. Review. Philippe B. Laval. Current Semester. Kennesaw State University. Philippe B. Laval (KSU) Sets Current Semester 1 / 16

Review of Sets. Review. Philippe B. Laval. Current Semester. Kennesaw State University. Philippe B. Laval (KSU) Sets Current Semester 1 / 16 Review of Sets Review Philippe B. Laval Kennesaw State University Current Semester Philippe B. Laval (KSU) Sets Current Semester 1 / 16 Outline 1 Introduction 2 Definitions, Notations and Examples 3 Special

More information

3. Relational Data Model 3.5 The Tuple Relational Calculus

3. Relational Data Model 3.5 The Tuple Relational Calculus 3. Relational Data Model 3.5 The Tuple Relational Calculus forall quantification Syntax: t R(P(t)) semantics: for all tuples t in relation R, P(t) has to be fulfilled example query: Determine all students

More information

Binary Decision Diagrams

Binary Decision Diagrams Logic and roof Hilary 2016 James Worrell Binary Decision Diagrams A propositional formula is determined up to logical equivalence by its truth table. If the formula has n variables then its truth table

More information

1 The range query problem

1 The range query problem CS268: Geometric Algorithms Handout #12 Design and Analysis Original Handout #12 Stanford University Thursday, 19 May 1994 Original Lecture #12: Thursday, May 19, 1994 Topics: Range Searching with Partition

More information

Designing Views to Answer Queries under Set, Bag,and BagSet Semantics

Designing Views to Answer Queries under Set, Bag,and BagSet Semantics Designing Views to Answer Queries under Set, Bag,and BagSet Semantics Rada Chirkova Department of Computer Science, North Carolina State University Raleigh, NC 27695-7535 chirkova@csc.ncsu.edu Foto Afrati

More information

Vertex-Colouring Edge-Weightings

Vertex-Colouring Edge-Weightings Vertex-Colouring Edge-Weightings L. Addario-Berry a, K. Dalal a, C. McDiarmid b, B. A. Reed a and A. Thomason c a School of Computer Science, McGill University, University St. Montreal, QC, H3A A7, Canada

More information

Fully dynamic algorithm for recognition and modular decomposition of permutation graphs

Fully dynamic algorithm for recognition and modular decomposition of permutation graphs Fully dynamic algorithm for recognition and modular decomposition of permutation graphs Christophe Crespelle Christophe Paul CNRS - Département Informatique, LIRMM, Montpellier {crespell,paul}@lirmm.fr

More information

A Connection between Network Coding and. Convolutional Codes

A Connection between Network Coding and. Convolutional Codes A Connection between Network Coding and 1 Convolutional Codes Christina Fragouli, Emina Soljanin christina.fragouli@epfl.ch, emina@lucent.com Abstract The min-cut, max-flow theorem states that a source

More information

2386 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 52, NO. 6, JUNE 2006

2386 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 52, NO. 6, JUNE 2006 2386 IEEE TRANSACTIONS ON INFORMATION THEORY, VOL. 52, NO. 6, JUNE 2006 The Encoding Complexity of Network Coding Michael Langberg, Member, IEEE, Alexander Sprintson, Member, IEEE, and Jehoshua Bruck,

More information

Relational Databases

Relational Databases Relational Databases Jan Chomicki University at Buffalo Jan Chomicki () Relational databases 1 / 49 Plan of the course 1 Relational databases 2 Relational database design 3 Conceptual database design 4

More information

THREE LECTURES ON BASIC TOPOLOGY. 1. Basic notions.

THREE LECTURES ON BASIC TOPOLOGY. 1. Basic notions. THREE LECTURES ON BASIC TOPOLOGY PHILIP FOTH 1. Basic notions. Let X be a set. To make a topological space out of X, one must specify a collection T of subsets of X, which are said to be open subsets of

More information

Applied Mathematics Letters. Graph triangulations and the compatibility of unrooted phylogenetic trees

Applied Mathematics Letters. Graph triangulations and the compatibility of unrooted phylogenetic trees Applied Mathematics Letters 24 (2011) 719 723 Contents lists available at ScienceDirect Applied Mathematics Letters journal homepage: www.elsevier.com/locate/aml Graph triangulations and the compatibility

More information

v V Question: How many edges are there in a graph with 10 vertices each of degree 6?

v V Question: How many edges are there in a graph with 10 vertices each of degree 6? ECS20 Handout Graphs and Trees March 4, 2015 (updated 3/9) Notion of a graph 1. A graph G = (V,E) consists of V, a nonempty set of vertices (or nodes) and E, a set of pairs of elements of V called edges.

More information

Throughout the chapter, we will assume that the reader is familiar with the basics of phylogenetic trees.

Throughout the chapter, we will assume that the reader is familiar with the basics of phylogenetic trees. Chapter 7 SUPERTREE ALGORITHMS FOR NESTED TAXA Philip Daniel and Charles Semple Abstract: Keywords: Most supertree algorithms combine collections of rooted phylogenetic trees with overlapping leaf sets

More information

DISTINGUISHING NUMBER AND ADJACENCY PROPERTIES

DISTINGUISHING NUMBER AND ADJACENCY PROPERTIES DISTINGUISHING NUMBER AND ADJACENCY PROPERTIES ANTHONY BONATO AND DEJAN DELIĆ Dedicated to the memory of Roland Fraïssé. Abstract. The distinguishing number of countably infinite graphs and relational

More information

Chapter 3 Trees. Theorem A graph T is a tree if, and only if, every two distinct vertices of T are joined by a unique path.

Chapter 3 Trees. Theorem A graph T is a tree if, and only if, every two distinct vertices of T are joined by a unique path. Chapter 3 Trees Section 3. Fundamental Properties of Trees Suppose your city is planning to construct a rapid rail system. They want to construct the most economical system possible that will meet the

More information

Binary Trees, Binary Search Trees

Binary Trees, Binary Search Trees Binary Trees, Binary Search Trees Trees Linear access time of linked lists is prohibitive Does there exist any simple data structure for which the running time of most operations (search, insert, delete)

More information

A combinatorial proof of a formula for Betti numbers of a stacked polytope

A combinatorial proof of a formula for Betti numbers of a stacked polytope A combinatorial proof of a formula for Betti numbers of a staced polytope Suyoung Choi Department of Mathematical Sciences KAIST, Republic of Korea choisy@aistacr (Current Department of Mathematics Osaa

More information

PAPER Constructing the Suffix Tree of a Tree with a Large Alphabet

PAPER Constructing the Suffix Tree of a Tree with a Large Alphabet IEICE TRANS. FUNDAMENTALS, VOL.E8??, NO. JANUARY 999 PAPER Constructing the Suffix Tree of a Tree with a Large Alphabet Tetsuo SHIBUYA, SUMMARY The problem of constructing the suffix tree of a tree is

More information

Database Theory VU , SS Codd s Theorem. Reinhard Pichler

Database Theory VU , SS Codd s Theorem. Reinhard Pichler Database Theory Database Theory VU 181.140, SS 2011 3. Codd s Theorem Reinhard Pichler Institut für Informationssysteme Arbeitsbereich DBAI Technische Universität Wien 29 March, 2011 Pichler 29 March,

More information

Discrete Mathematics

Discrete Mathematics Discrete Mathematics 310 (2010) 2769 2775 Contents lists available at ScienceDirect Discrete Mathematics journal homepage: www.elsevier.com/locate/disc Optimal acyclic edge colouring of grid like graphs

More information

Topology 550A Homework 3, Week 3 (Corrections: February 22, 2012)

Topology 550A Homework 3, Week 3 (Corrections: February 22, 2012) Topology 550A Homework 3, Week 3 (Corrections: February 22, 2012) Michael Tagare De Guzman January 31, 2012 4A. The Sorgenfrey Line The following material concerns the Sorgenfrey line, E, introduced in

More information

CHAPTER 10 GRAPHS AND TREES. Alessandro Artale UniBZ - artale/

CHAPTER 10 GRAPHS AND TREES. Alessandro Artale UniBZ -  artale/ CHAPTER 10 GRAPHS AND TREES Alessandro Artale UniBZ - http://www.inf.unibz.it/ artale/ SECTION 10.5 Trees Copyright Cengage Learning. All rights reserved. Trees In mathematics, a tree is a connected graph

More information

Lecture 3 February 9, 2010

Lecture 3 February 9, 2010 6.851: Advanced Data Structures Spring 2010 Dr. André Schulz Lecture 3 February 9, 2010 Scribe: Jacob Steinhardt and Greg Brockman 1 Overview In the last lecture we continued to study binary search trees

More information

Properties of red-black trees

Properties of red-black trees Red-Black Trees Introduction We have seen that a binary search tree is a useful tool. I.e., if its height is h, then we can implement any basic operation on it in O(h) units of time. The problem: given

More information

Advanced Set Representation Methods

Advanced Set Representation Methods Advanced Set Representation Methods AVL trees. 2-3(-4) Trees. Union-Find Set ADT DSA - lecture 4 - T.U.Cluj-Napoca - M. Joldos 1 Advanced Set Representation. AVL Trees Problem with BSTs: worst case operation

More information

INTRODUCTION Joymon Joseph P. Neighbours in the lattice of topologies Thesis. Department of Mathematics, University of Calicut, 2003

INTRODUCTION Joymon Joseph P. Neighbours in the lattice of topologies Thesis. Department of Mathematics, University of Calicut, 2003 INTRODUCTION Joymon Joseph P. Neighbours in the lattice of topologies Thesis. Department of Mathematics, University of Calicut, 2003 INTRODUCTION The collection C(X) of all topologies on a fixed non-empty

More information

T. Background material: Topology

T. Background material: Topology MATH41071/MATH61071 Algebraic topology Autumn Semester 2017 2018 T. Background material: Topology For convenience this is an overview of basic topological ideas which will be used in the course. This material

More information

The External Network Problem

The External Network Problem The External Network Problem Jan van den Heuvel and Matthew Johnson CDAM Research Report LSE-CDAM-2004-15 December 2004 Abstract The connectivity of a communications network can often be enhanced if the

More information

Embedding Large Complete Binary Trees in Hypercubes with Load Balancing

Embedding Large Complete Binary Trees in Hypercubes with Load Balancing JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING 35, 104 109 (1996) ARTICLE NO. 0073 Embedding Large Complete Binary Trees in Hypercubes with Load Balancing KEMAL EFE Center for Advanced Computer Studies,

More information

Bounds for the m-eternal Domination Number of a Graph

Bounds for the m-eternal Domination Number of a Graph Bounds for the m-eternal Domination Number of a Graph Michael A. Henning Department of Pure and Applied Mathematics University of Johannesburg South Africa mahenning@uj.ac.za Gary MacGillivray Department

More information

DISTINGUISHING NUMBER AND ADJACENCY PROPERTIES

DISTINGUISHING NUMBER AND ADJACENCY PROPERTIES DISTINGUISHING NUMBER AND ADJACENCY PROPERTIES ANTHONY BONATO AND DEJAN DELIĆ Dedicated to the memory of Roland Fraïssé. Abstract. The distinguishing number of countably infinite graphs and relational

More information

Computational Geometry

Computational Geometry Windowing queries Windowing Windowing queries Zoom in; re-center and zoom in; select by outlining Windowing Windowing queries Windowing Windowing queries Given a set of n axis-parallel line segments, preprocess

More information

CS 441 Discrete Mathematics for CS Lecture 26. Graphs. CS 441 Discrete mathematics for CS. Final exam

CS 441 Discrete Mathematics for CS Lecture 26. Graphs. CS 441 Discrete mathematics for CS. Final exam CS 441 Discrete Mathematics for CS Lecture 26 Graphs Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Final exam Saturday, April 26, 2014 at 10:00-11:50am The same classroom as lectures The exam

More information

Lecture 1: Conjunctive Queries

Lecture 1: Conjunctive Queries CS 784: Foundations of Data Management Spring 2017 Instructor: Paris Koutris Lecture 1: Conjunctive Queries A database schema R is a set of relations: we will typically use the symbols R, S, T,... to denote

More information

On Covering a Graph Optimally with Induced Subgraphs

On Covering a Graph Optimally with Induced Subgraphs On Covering a Graph Optimally with Induced Subgraphs Shripad Thite April 1, 006 Abstract We consider the problem of covering a graph with a given number of induced subgraphs so that the maximum number

More information

has phone Phone Person Person degree Degree isa isa has addr has addr has phone has phone major Degree Phone Schema S1 Phone Schema S2

has phone Phone Person Person degree Degree isa isa has addr has addr has phone has phone major Degree Phone Schema S1 Phone Schema S2 Schema Equivalence in Heterogeneous Systems: Bridging Theory and Practice R. J. Miller y Y. E. Ioannidis z R. Ramakrishnan x Department of Computer Sciences University of Wisconsin-Madison frmiller, yannis,

More information

A Particular Type of Non-associative Algebras and Graph Theory

A Particular Type of Non-associative Algebras and Graph Theory A Particular Type of Non-associative Algebras and Graph Theory JUAN NÚÑEZ, MARITHANIA SILVERO & M. TRINIDAD VILLAR University of Seville Department of Geometry and Topology Aptdo. 1160. 41080-Seville SPAIN

More information

FDB: A Query Engine for Factorised Relational Databases

FDB: A Query Engine for Factorised Relational Databases FDB: A Query Engine for Factorised Relational Databases Nurzhan Bakibayev, Dan Olteanu, and Jakub Zavodny Oxford CS Christan Grant cgrant@cise.ufl.edu University of Florida November 1, 2013 cgrant (UF)

More information

arxiv: v2 [cs.ds] 9 Apr 2009

arxiv: v2 [cs.ds] 9 Apr 2009 Pairing Heaps with Costless Meld arxiv:09034130v2 [csds] 9 Apr 2009 Amr Elmasry Max-Planck Institut für Informatik Saarbrücken, Germany elmasry@mpi-infmpgde Abstract Improving the structure and analysis

More information

A SIMPLE APPROXIMATION ALGORITHM FOR NONOVERLAPPING LOCAL ALIGNMENTS (WEIGHTED INDEPENDENT SETS OF AXIS PARALLEL RECTANGLES)

A SIMPLE APPROXIMATION ALGORITHM FOR NONOVERLAPPING LOCAL ALIGNMENTS (WEIGHTED INDEPENDENT SETS OF AXIS PARALLEL RECTANGLES) Chapter 1 A SIMPLE APPROXIMATION ALGORITHM FOR NONOVERLAPPING LOCAL ALIGNMENTS (WEIGHTED INDEPENDENT SETS OF AXIS PARALLEL RECTANGLES) Piotr Berman Department of Computer Science & Engineering Pennsylvania

More information

EDGE-COLOURED GRAPHS AND SWITCHING WITH S m, A m AND D m

EDGE-COLOURED GRAPHS AND SWITCHING WITH S m, A m AND D m EDGE-COLOURED GRAPHS AND SWITCHING WITH S m, A m AND D m GARY MACGILLIVRAY BEN TREMBLAY Abstract. We consider homomorphisms and vertex colourings of m-edge-coloured graphs that have a switching operation

More information

RAQUEL s Relational Operators

RAQUEL s Relational Operators Contents RAQUEL s Relational Operators Introduction 2 General Principles 2 Operator Parameters 3 Ordinary & High-Level Operators 3 Operator Valency 4 Default Tuples 5 The Relational Algebra Operators in

More information

FURTHER APPLICATIONS OF CLUTTER DOMINATION PARAMETERS TO PROJECTIVE DIMENSION

FURTHER APPLICATIONS OF CLUTTER DOMINATION PARAMETERS TO PROJECTIVE DIMENSION FURTHER APPLICATIONS OF CLUTTER DOMINATION PARAMETERS TO PROJECTIVE DIMENSION HAILONG DAO AND JAY SCHWEIG Abstract. We study the relationship between the projective dimension of a squarefree monomial ideal

More information

Minimum Cost Edge Disjoint Paths

Minimum Cost Edge Disjoint Paths Minimum Cost Edge Disjoint Paths Theodor Mader 15.4.2008 1 Introduction Finding paths in networks and graphs constitutes an area of theoretical computer science which has been highly researched during

More information

Rank-Pairing Heaps. Bernard Haeupler Siddhartha Sen Robert E. Tarjan. SIAM JOURNAL ON COMPUTING Vol. 40, No. 6 (2011), pp.

Rank-Pairing Heaps. Bernard Haeupler Siddhartha Sen Robert E. Tarjan. SIAM JOURNAL ON COMPUTING Vol. 40, No. 6 (2011), pp. Rank-Pairing Heaps Bernard Haeupler Siddhartha Sen Robert E. Tarjan Presentation by Alexander Pokluda Cheriton School of Computer Science, University of Waterloo, Canada SIAM JOURNAL ON COMPUTING Vol.

More information

Discovering Periodic Patterns in Database Audit Trails

Discovering Periodic Patterns in Database Audit Trails Vol.29 (DTA 2013), pp.365-371 http://dx.doi.org/10.14257/astl.2013.29.76 Discovering Periodic Patterns in Database Audit Trails Marcin Zimniak 1, Janusz R. Getta 2, and Wolfgang Benn 1 1 Faculty of Computer

More information

The Structure of Bull-Free Perfect Graphs

The Structure of Bull-Free Perfect Graphs The Structure of Bull-Free Perfect Graphs Maria Chudnovsky and Irena Penev Columbia University, New York, NY 10027 USA May 18, 2012 Abstract The bull is a graph consisting of a triangle and two vertex-disjoint

More information

2.2 Set Operations. Introduction DEFINITION 1. EXAMPLE 1 The union of the sets {1, 3, 5} and {1, 2, 3} is the set {1, 2, 3, 5}; that is, EXAMPLE 2

2.2 Set Operations. Introduction DEFINITION 1. EXAMPLE 1 The union of the sets {1, 3, 5} and {1, 2, 3} is the set {1, 2, 3, 5}; that is, EXAMPLE 2 2.2 Set Operations 127 2.2 Set Operations Introduction Two, or more, sets can be combined in many different ways. For instance, starting with the set of mathematics majors at your school and the set of

More information

Topology problem set Integration workshop 2010

Topology problem set Integration workshop 2010 Topology problem set Integration workshop 2010 July 28, 2010 1 Topological spaces and Continuous functions 1.1 If T 1 and T 2 are two topologies on X, show that (X, T 1 T 2 ) is also a topological space.

More information

9/19/12. Why Study Discrete Math? What is discrete? Sets (Rosen, Chapter 2) can be described by discrete math TOPICS

9/19/12. Why Study Discrete Math? What is discrete? Sets (Rosen, Chapter 2) can be described by discrete math TOPICS What is discrete? Sets (Rosen, Chapter 2) TOPICS Discrete math Set Definition Set Operations Tuples Consisting of distinct or unconnected elements, not continuous (calculus) Helps us in Computer Science

More information

Unlabeled equivalence for matroids representable over finite fields

Unlabeled equivalence for matroids representable over finite fields Unlabeled equivalence for matroids representable over finite fields November 16, 2012 S. R. Kingan Department of Mathematics Brooklyn College, City University of New York 2900 Bedford Avenue Brooklyn,

More information

Graph and Digraph Glossary

Graph and Digraph Glossary 1 of 15 31.1.2004 14:45 Graph and Digraph Glossary A B C D E F G H I-J K L M N O P-Q R S T U V W-Z Acyclic Graph A graph is acyclic if it contains no cycles. Adjacency Matrix A 0-1 square matrix whose

More information

ON THE FLY n-wmvd IDENTIFICATION FOR REDUCING DATA REDUNDANCY

ON THE FLY n-wmvd IDENTIFICATION FOR REDUCING DATA REDUNDANCY ON THE FLY n-wmvd IDENTIFICATION FOR REDUCING DATA REDUNDANCY Viswanadham Sangeeta and Vatsavayi Valli Kumari Department of CS & SE, Andhra University, Visakhapatnam, India ABSTRACT Data Cleaning helps

More information