80 research outputs found

    Data optimizations for constraint automata

    Get PDF
    Constraint automata (CA) constitute a coordination model based on finite automata on infinite words. Originally introduced for modeling of coordinators, an interesting new application of CAs is implementing coordinators (i.e., compiling CAs into executable code). Such an approach guarantees correctness-by-construction and can even yield code that outperforms hand-crafted code. The extent to which these two potential advantages materialize depends on the smartness of CA-compilers and the existence of proofs of their correctness. Every transition in a CA is labeled by a "data constraint" that specifies an atomic data-flow between coordinated processes as a first-order formula. At run-time, compiler-generated code must handle data constraints as efficiently as possible. In this paper, we present, and prove the correctness of two optimization techniques for CA-compilers related to handling of data constraints: a reduction to eliminate redundant variables and a translation from (declarative) data constraints to (imperative) data commands expressed in a small sequential language. Through experiments, we show that these optimization techniques can have a positive impact on performance of generated executable code

    Algorithms for finding a rooted (k, 1) -edge-connected orientation

    Get PDF
    A digraph is called rooted (k,1)-edge-connected if it has a root node r0 such that there exist k arc-disjoint paths from r0 to every other node and there is a path from every node to r0. Here we give a simple algorithm for finding a (k,1)-edge-connected orientation of a graph. A slightly more complicated variation of this algorithm has running time O(n4+n2m) that is better than the time bound of the previously known algorithms. With the help of this algorithm one can check whether an undirected graph is highly k-tree-connected, that is, for each edge e of the graph G, there are k edge-disjoint spanning trees of G not containing e. High tree-connectivity plays an important role in the investigation of redundantly rigid body-bar graphs

    Reconfiguration of the Union of Arborescences

    Full text link
    An arborescence in a digraph is an acyclic arc subset in which every vertex execpt a root has exactly one incoming arc. In this paper, we reveal the reconfigurability of the union of kk arborescences for fixed kk in the following sense: for any pair of arc subsets that can be partitioned into kk arborescences, one can be transformed into the other by exchanging arcs one by one so that every intermediate arc subset can also be partitioned into kk arborescences. This generalizes the result by Ito et al. (2023), who showed the case with k=1k=1. Since the union of kk arborescences can be represented as a common matroid basis of two matroids, our result gives a new non-trivial example of matroid pairs for which two common bases are always reconfigurable to each other

    Sparse Hypergraphs and Pebble Game Algorithms

    Get PDF
    A hypergraph G=(V,E) is (k,ℓ)-sparse if no subset V′⊂V spans more than k|V′|−ℓ hyperedges. We characterize (k,ℓ)-sparse hypergraphs in terms of graph theoretic, matroidal and algorithmic properties. We extend several well-known theorems of Haas, Lovász, Nash-Williams, Tutte, and White and Whiteley, linking arboricity of graphs to certain counts on the number of edges. We also address the problem of finding lower-dimensional representations of sparse hypergraphs, and identify a critical behavior in terms of the sparsity parameters k and ℓ. Our constructions extend the pebble games of Lee and Streinu [A. Lee, I. Streinu, Pebble game algorithms and sparse graphs, Discrete Math. 308 (8) (2008) 1425–1437] from graphs to hypergraphs

    Tight bounds and conjectures for the isolation lemma

    Full text link
    Given a hypergraph HH and a weight function w:V→{1,…,M}w: V \rightarrow \{1, \dots, M\} on its vertices, we say that ww is isolating if there is exactly one edge of minimum weight w(e)=∑i∈ew(i)w(e) = \sum_{i \in e} w(i). The Isolation Lemma is a combinatorial principle introduced in Mulmuley et. al (1987) which gives a lower bound on the number of isolating weight functions. Mulmuley used this as the basis of a parallel algorithm for finding perfect graph matchings. It has a number of other applications to parallel algorithms and to reductions of general search problems to unique search problems (in which there are one or zero solutions). The original bound given by Mulmuley et al. was recently improved by Ta-Shma (2015). In this paper, we show improved lower bounds on the number of isolating weight functions, and we conjecture that the extremal case is when HH consists of nn singleton edges. When M≫nM \gg n our improved bound matches this extremal case asymptotically. We are able to show that this conjecture holds in a number of special cases: when HH is a linear hypergraph or is 1-degenerate, or when M=2M = 2. We also show that it holds asymptotically when M≫n≫1M \gg n \gg 1
    • …
    corecore