178,663 research outputs found

    Faster Algorithms for the Maximum Common Subtree Isomorphism Problem

    Get PDF
    The maximum common subtree isomorphism problem asks for the largest possible isomorphism between subtrees of two given input trees. This problem is a natural restriction of the maximum common subgraph problem, which is NP{\sf NP}-hard in general graphs. Confining to trees renders polynomial time algorithms possible and is of fundamental importance for approaches on more general graph classes. Various variants of this problem in trees have been intensively studied. We consider the general case, where trees are neither rooted nor ordered and the isomorphism is maximum w.r.t. a weight function on the mapped vertices and edges. For trees of order nn and maximum degree Δ\Delta our algorithm achieves a running time of O(n2Δ)\mathcal{O}(n^2\Delta) by exploiting the structure of the matching instances arising as subproblems. Thus our algorithm outperforms the best previously known approaches. No faster algorithm is possible for trees of bounded degree and for trees of unbounded degree we show that a further reduction of the running time would directly improve the best known approach to the assignment problem. Combining a polynomial-delay algorithm for the enumeration of all maximum common subtree isomorphisms with central ideas of our new algorithm leads to an improvement of its running time from O(n6+Tn2)\mathcal{O}(n^6+Tn^2) to O(n3+TnΔ)\mathcal{O}(n^3+Tn\Delta), where nn is the order of the larger tree, TT is the number of different solutions, and Δ\Delta is the minimum of the maximum degrees of the input trees. Our theoretical results are supplemented by an experimental evaluation on synthetic and real-world instances

    Rapid Mixing of Gibbs Sampling on Graphs that are Sparse on Average

    Get PDF
    In this work we show that for every d<d < \infty and the Ising model defined on G(n,d/n)G(n,d/n), there exists a βd>0\beta_d > 0, such that for all β<βd\beta < \beta_d with probability going to 1 as nn \to \infty, the mixing time of the dynamics on G(n,d/n)G(n,d/n) is polynomial in nn. Our results are the first polynomial time mixing results proven for a natural model on G(n,d/n)G(n,d/n) for d>1d > 1 where the parameters of the model do not depend on nn. They also provide a rare example where one can prove a polynomial time mixing of Gibbs sampler in a situation where the actual mixing time is slower than n \polylog(n). Our proof exploits in novel ways the local treelike structure of Erd\H{o}s-R\'enyi random graphs, comparison and block dynamics arguments and a recent result of Weitz. Our results extend to much more general families of graphs which are sparse in some average sense and to much more general interactions. In particular, they apply to any graph for which every vertex vv of the graph has a neighborhood N(v)N(v) of radius O(logn)O(\log n) in which the induced sub-graph is a tree union at most O(logn)O(\log n) edges and where for each simple path in N(v)N(v) the sum of the vertex degrees along the path is O(logn)O(\log n). Moreover, our result apply also in the case of arbitrary external fields and provide the first FPRAS for sampling the Ising distribution in this case. We finally present a non Markov Chain algorithm for sampling the distribution which is effective for a wider range of parameters. In particular, for G(n,d/n)G(n,d/n) it applies for all external fields and β<βd\beta < \beta_d, where dtanh(βd)=1d \tanh(\beta_d) = 1 is the critical point for decay of correlation for the Ising model on G(n,d/n)G(n,d/n).Comment: Corrected proof of Lemma 2.

    Chebyshev polynomial filtered subspace iteration in the Discontinuous Galerkin method for large-scale electronic structure calculations

    Full text link
    The Discontinuous Galerkin (DG) electronic structure method employs an adaptive local basis (ALB) set to solve the Kohn-Sham equations of density functional theory (DFT) in a discontinuous Galerkin framework. The adaptive local basis is generated on-the-fly to capture the local material physics, and can systematically attain chemical accuracy with only a few tens of degrees of freedom per atom. A central issue for large-scale calculations, however, is the computation of the electron density (and subsequently, ground state properties) from the discretized Hamiltonian in an efficient and scalable manner. We show in this work how Chebyshev polynomial filtered subspace iteration (CheFSI) can be used to address this issue and push the envelope in large-scale materials simulations in a discontinuous Galerkin framework. We describe how the subspace filtering steps can be performed in an efficient and scalable manner using a two-dimensional parallelization scheme, thanks to the orthogonality of the DG basis set and block-sparse structure of the DG Hamiltonian matrix. The on-the-fly nature of the ALBs requires additional care in carrying out the subspace iterations. We demonstrate the parallel scalability of the DG-CheFSI approach in calculations of large-scale two-dimensional graphene sheets and bulk three-dimensional lithium-ion electrolyte systems. Employing 55,296 computational cores, the time per self-consistent field iteration for a sample of the bulk 3D electrolyte containing 8,586 atoms is 90 seconds, and the time for a graphene sheet containing 11,520 atoms is 75 seconds.Comment: Submitted to The Journal of Chemical Physic

    New Integrable System of 2dim Fermions from Strings on AdS_5 x S^5

    Full text link
    We consider classical superstrings propagating on AdS_5 x S^5 space-time. We consistently truncate the superstring equations of motion to the so-called su(1|1) sector. By fixing the uniform gauge we show that physical excitations in this sector are described by two complex fermionic degrees of freedom and we obtain the corresponding Lagrangian. Remarkably, this Lagrangian can be cast in a two-dimensional Lorentz-invariant form. The kinetic part of the Lagrangian induces a non-trivial Poisson structure while the Hamiltonian is just the one of the massive Dirac fermion. We find a change of variables which brings the Poisson structure to the canonical form but makes the Hamiltonian nontrivial. The Hamiltonian is derived as an exact function of two parameters: the total S^5 angular momentum J and string tension \lambda; it is a polynomial in 1/J and in \sqrt{\lambda'} where \lambda'=\frac{\lambda}{J^2} is the effective BMN coupling. We identify the string states dual to the gauge theory operators from the closed su(1|1) sector of N=4 SYM and show that the corresponding near-plane wave energy shift computed from our Hamiltonian perfectly agrees with that recently found in the literature. Finally we show that the Hamiltonian is integrable by explicitly constructing the corresponding Lax representation.Comment: 35 pages;v2:typos corrected, references adde

    On the Structure of Quintic Polynomials

    Get PDF
    We study the structure of bounded degree polynomials over finite fields. Haramaty and Shpilka [STOC 2010] showed that biased degree three or four polynomials admit a strong structural property. We confirm that this is the case for degree five polynomials also. Let F=F_q be a prime field. Suppose f:F^n to F is a degree five polynomial with bias(f)=delta. We prove the following two structural properties for such f. 1. We have f= sum_{i=1}^{c} G_i H_i + Q, where G_i and H_is are nonconstant polynomials satisfying deg(G_i)+deg(H_i)<= 5 and Q is a degree <5 polynomial. Moreover, c does not depend on n. 2. There exists an Omega_{delta,q}(n) dimensional affine subspace V subseteq F^n such that f|_V is a constant. Cohen and Tal [Random 2015] proved that biased polynomials of degree at most four are constant on a subspace of dimension Omega(n). Item 2.]extends this to degree five polynomials. A corollary to Item 2. is that any degree five affine disperser for dimension k is also an affine extractor for dimension O(k). We note that Item 2. cannot hold for degrees six or higher. We obtain our results for degree five polynomials as a special case of structure theorems that we prove for biased degree d polynomials when d<|F|+4. While the d<|F|+4 assumption seems very restrictive, we note that prior to our work such structure theorems were only known for d<|F| by Green and Tao [Contrib. Discrete Math. 2009] and Bhowmick and Lovett [arXiv:1506.02047]. Using algorithmic regularity lemmas for polynomials developed by Bhattacharyya, et al. [SODA 2015], we show that whenever such a strong structure exists, it can be found algorithmically in time polynomial in n
    corecore