Thore Husfeldt

dblp:71/576 · DBLP profile ↗
← Back
52ranked-venue papers
8as first author
4since 2021 · last 2026
0000-0001-9078-4512ORCID · verified

Domains — the database's venue-derived domains; a paper can count in several

Theory of computation · 51 · 7 first-author · 4 since 2021Databases, data management, data science and information retrieval · 4Graphics, computer vision, multimedia, augmented reality and games · 1 · 1 first-author
YearPublicationVenuePosition
2026 Counting Equitable k-Colorings in Graphs of Bounded Clique-Width
abstract
For a graph G, a proper k-coloring of G is equitable if the sizes of any two color classes differ by at most one. The Equitable k-Coloring problem asks, for a given graph G and integer k, whether G admits an equitable k-coloring. Bodlaender and Fomin (Theoretical Computer Science 2005) showed that it is polynomial-time solvable on graphs of bounded treewidth, while it remains NP-hard on cographs, and thus on graphs of constant clique-width. Fellows et al. (Information and Computation 2011) showed that the problem becomes W[1]-hard when parameterized by tree-width (and hence clique-width) plus the number of colors k. We first show that, there exists an algorithm, given an integer k ≥ 1 and an n-vertex graph G together with a w-expression whose underlying unlabelled graph is G, computes the number of equitable k-colorings of G in time 2^O(k⋅w) ⋅ n^O(k). In particular, we show that for every fixed k, counting equitable k-colorings is polynomial-time solvable on graph classes of bounded clique-width, given a clique-width expression. We then show that, under SETH, the dependence on clique-width in this algorithm is essentially optimal. As a consequence, our results provide a fairly tight picture of the complexity of Equitable k-Coloring with respect to the combined parameter k+clique-width in the following sense: For variable k, the problem is W[1]-hard, however for every fixed integer k, it is polynomial-time solvable on graphs of bounded clique-width given a clique-width expression, and this remains true even for the counting version. Second, we refine our clique-width algorithm for the linear setting. We show that there exists an algorithm, given an integer k ≥ 1 and an n-vertex graph G together with a linear w-expression constructing G, computes the number of equitable k-colorings of G in time max{1,2^k-2}^w ⋅ n^{k+O(1)}. Thus, for bounded linear clique-width, we obtain a significantly sharper dependence on the width parameter than in the general clique-width case. Third, we consider a different structural restriction, namely the class of P_t-free graphs. A graph is called P_t-free if it does not contain the path on t vertices as an induced subgraph. This is a different setting from bounded clique-width; in particular, already P₅-free graphs have unbounded clique-width. Nevertheless, we show that for every P_t-free graph G, the number of equitable list 3-colorings of G can be computed in subexponential time.
Holger Dell, Thore Husfeldt, Amir Nikabadi
MFCS2
2025 Fast Deterministic Chromatic Number under the Asymptotic Rank Conjecture
abstract
In this paper we further explore the recently discovered connection by Björklund and Kaski [STOC 2024] and Pratt [STOC 2024] between the asymptotic rank conjecture of Strassen [Progr. Math. 1994] and the three-way partitioning problem. We show that under the asymptotic rank conjecture, the chromatic number of an n-vertex graph can be computed deterministically in O (1.99982n ) time, thus giving a conditional answer to a question of Zamir [ICALP 2021], and questioning the optimality of the 2n poly(n ) time algorithm for chromatic number by Björklund, Husfeldt, and Koivisto [SICOMP 2009].
Andreas Björklund, Radu Curticapean, Thore Husfeldt, Petteri Kaski, Kevin Pratt
SODA3
2022 The shortest even cycle problem is tractable
abstract
Given a directed graph as input, we show how to efficiently find a shortest (directed, simple) cycle on an even number of vertices. As far as we know, no polynomial-time algorithm was previously known for this problem. In fact, finding any even cycle in a directed graph in polynomial time was open for more than two decades until Robertson, Seymour, and Thomas (Ann. of Math. (2) 1999) and, independently, McCuaig (Electron. J. Combin. 2004; announced jointly at STOC 1997) gave an efficiently testable structural characterisation of even-cycle-free directed graphs.
Andreas Björklund, Thore Husfeldt, Petteri Kaski
STOC2
2021 Modular Counting of Subgraphs: Matchings, Matching-Splittable Graphs, and Paths
abstract
We systematically investigate the complexity of counting subgraph patterns modulo fixed integers. For example, it is known that the parity of the number of $k$-matchings can be determined in polynomial time by a simple reduction to the determinant. We generalize this to an $n^{f(t,s)}$-time algorithm to compute modulo $2^t$ the number of subgraph occurrences of patterns that are $s$ vertices away from being matchings. This shows that the known polynomial-time cases of subgraph detection (Jansen and Marx, SODA 2015) carry over into the setting of counting modulo $2^t$. Complementing our algorithm, we also give a simple and self-contained proof that counting $k$-matchings modulo odd integers $q$ is Mod_q-W[1]-complete and prove that counting $k$-paths modulo $2$ is Parity-W[1]-complete, answering an open question by Björklund, Dell, and Husfeldt (ICALP 2015).
Radu Curticapean, Holger Dell, Thore Husfeldt
ESA3
2020 Algebraic Algorithms for Finding Patterns in Graphs (Invited Talk)
Thore Husfeldt
CPM1
2020 Multivariate Analysis of Orthogonal Range Searching and Graph Distances
abstract
Abstract We show that the eccentricities, diameter, radius, and Wiener index of an undirected n-vertex graph with nonnegative edge lengths can be computed in time $$O(n\cdot \left( {\begin{array}{c}k+\lceil \log n\rceil \\ k\end{array}}\right) \cdot 2^k \log n)$$ O ( n · k + ⌈ log n ⌉ k · 2 k log n ) , where k is linear in the treewidth of the graph. For every $$\epsilon >0$$ ϵ > 0 , this bound is $$n^{1+\epsilon }\exp O(k)$$ n 1 + ϵ exp O ( k ) , which matches a hardness result of Abboud et al. (in: Proceedings of the Twenty-Seventh Annual ACM-SIAM Symposium on Discrete Algorithms, 2016. 10.1137/1.9781611974331.ch28 ) and closes an open problem in the multivariate analysis of polynomial-time computation. To this end, we show that the analysis of an algorithm of Cabello and Knauer (Comput Geom 42:815–824, 2009. 10.1016/j.comgeo.2009.02.001 ) in the regime of non-constant treewidth can be improved by revisiting the analysis of orthogonal range searching, improving bounds of the form $$\log ^d n$$ log d n to $$\left( {\begin{array}{c}d+\lceil \log n\rceil \\ d\end{array}}\right)$$ d + ⌈ log n ⌉ d , as originally observed by Monier (J Algorithms 1:60–74, 1980. 10.1016/0196-6774(80)90005-X ). We also investigate the parameterization by vertex cover number.
Karl Bringmann, Thore Husfeldt, Måns Magnusson
Algorithmica2
2019 Shortest Two Disjoint Paths in Polynomial Time
abstract
Given an undirected graph and two pairs of vertices $(s_i,t_i)$ for $i\in\{1,2\}$ we show that there is a polynomial time Monte Carlo algorithm that finds disjoint paths of smallest total length joining $s_i$ and $t_i$ for $i\in\{1,2\}$, respectively, or concludes that there most likely are no such paths at all. Our algorithm applies to both the vertex- and edge-disjoint versions of the problem. Our algorithm is algebraic and uses permanents over the polynomial ring $Z_4[X]$ in combination with the isolation lemma of Mulmuley, Vazirani, and Vazirani to detect a solution. To this end, we develop a fast algorithm for permanents over the ring $Z_t[X]$, where $t$ is a power of $2$, by modifying Valiant's 1979 algorithm for the permanent over $Z_t$.
Andreas Björklund, Thore Husfeldt
SIAM J. Comput.2
2018 Counting Shortest Two Disjoint Paths in Cubic Planar Graphs with an NC Algorithm
abstract
Given an undirected graph and two disjoint vertex pairs s_1,t_1 and s_2,t_2, the Shortest two disjoint paths problem (S2DP) asks for the minimum total length of two vertex disjoint paths connecting s_1 with t_1, and s_2 with t_2, respectively. We show that for cubic planar graphs there are NC algorithms, uniform circuits of polynomial size and polylogarithmic depth, that compute the S2DP and moreover also output the number of such minimum length path pairs. Previously, to the best of our knowledge, no deterministic polynomial time algorithm was known for S2DP in cubic planar graphs with arbitrary placement of the terminals. In contrast, the randomized polynomial time algorithm by Björklund and Husfeldt, ICALP 2014, for general graphs is much slower, is serial in nature, and cannot count the solutions. Our results are built on an approach by Hirai and Namba, Algorithmica 2017, for a generalisation of S2DP, and fast algorithms for counting perfect matchings in planar graphs.
Andreas Björklund, Thore Husfeldt
ISAAC2
2018 Counting Connected Subgraphs with Maximum-Degree-Aware Sieving
abstract
We study the problem of counting the isomorphic occurrences of a k-vertex pattern graph P as a subgraph in an n-vertex host graph G. Our specific interest is on algorithms for subgraph counting that are sensitive to the maximum degree Delta of the host graph. Assuming that the pattern graph P is connected and admits a vertex balancer of size b, we present an algorithm that counts the occurrences of P in G in O ((2 Delta-2)^{(k+b)/2} 2^{-b} n/(Delta) k^2 log n) time. We define a balancer as a vertex separator of P that can be represented as an intersection of two equal-size vertex subsets, the union of which is the vertex set of P, and both of which induce connected subgraphs of P. A corollary of our main result is that we can count the number of k-vertex paths in an n-vertex graph in O((2 Delta-2)^{floor[k/2]} n k^2 log n) time, which for all moderately dense graphs with Delta <= n^{1/3} improves on the recent breakthrough work of Curticapean, Dell, and Marx [STOC 2017], who show how to count the isomorphic occurrences of a q-edge pattern graph as a subgraph in an n-vertex host graph in time O(q^q n^{0.17q}) for all large enough q. Another recent result of Brand, Dell, and Husfeldt [STOC 2018] shows that k-vertex paths in a bounded-degree graph can be approximately counted in O(4^kn) time. Our result shows that the exact count can be recovered at least as fast for Delta<10. Our algorithm is based on the principle of inclusion and exclusion, and can be viewed as a sparsity-sensitive version of the "counting in halves"-approach explored by Björklund, Husfeldt, Kaski, and Koivisto [ESA 2009].
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto
ISAAC2
2018 Multivariate Analysis of Orthogonal Range Searching and Graph Distances
abstract
We show that the eccentricities, diameter, radius, and Wiener index of an undirected n-vertex graph with nonnegative edge lengths can be computed in time O(n * binom{k+ceil[log n]}{k} * 2^k k^2 log n), where k is the treewidth of the graph. For every epsilon>0, this bound is n^{1+epsilon}exp O(k), which matches a hardness result of Abboud, Vassilevska Williams, and Wang (SODA 2015) and closes an open problem in the multivariate analysis of polynomial-time computation. To this end, we show that the analysis of an algorithm of Cabello and Knauer (Comp. Geom., 2009) in the regime of non-constant treewidth can be improved by revisiting the analysis of orthogonal range searching, improving bounds of the form log^d n to binom{d+ceil[log n]}{d}, as originally observed by Monier (J. Alg. 1980). We also investigate the parameterization by vertex cover number.
Karl Bringmann, Thore Husfeldt, Måns Magnusson
IPEC2
2018 Extensor-coding
abstract
We devise an algorithm that approximately computes the number of paths of length k in a given directed graph with n vertices up to a multiplicative error of 1 ± ε. Our algorithm runs in time ε−2 4k(n+m) poly(k). The algorithm is based on associating with each vertex an element in the exterior (or, Grassmann) algebra, called an extensor, and then performing computations in this algebra. This connection to exterior algebra generalizes a number of previous approaches for the longest path problem and is of independent conceptual interest. Using this approach, we also obtain a deterministic 2k·poly(n) time algorithm to find a k-path in a given directed graph that is promised to have few of them. Our results and techniques generalize to the subgraph isomorphism problem when the subgraphs we are looking for have bounded pathwidth. Finally, we also obtain a randomized algorithm to detect k-multilinear terms in a multivariate polynomial given as a general algebraic circuit. To the best of our knowledge, this was previously only known for algebraic circuits not involving negative constants.
Cornelius Brand, Holger Dell, Thore Husfeldt
STOC3
2017 Guest Editorial: Special Issue on Parameterized and Exact Computation
Thore Husfeldt, Iyad Kanj
Algorithmica1
2017 Computing the permanent modulo a prime power
Andreas Björklund, Thore Husfeldt, Isak Lyckberg
Inf. Process. Lett.2
2017 Narrow sieves for parameterized paths and packings
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto
J. Comput. Syst. Sci.2
2016 The First Parameterized Algorithms and Computational Experiments Challenge
abstract
In this article, the steering committee of the Parameterized Algorithms and Computational Experiments challenge (PACE) reports on the first iteration of the challenge. Where did PACE come from, how did it go, who won, and what's next?
Holger Dell, Thore Husfeldt, Bart M. P. Jansen, Petteri Kaski, Christian Komusiewicz, Frances A. Rosamond
IPEC2
2016 Computing Graph Distances Parameterized by Treewidth and Diameter
abstract
We show that the eccentricity of every vertex in an undirected graph on n vertices can be computed in time n exp O(k*log(d)), where k is the treewidth of the graph and d is the diameter. This means that the diameter and the radius of the graph can be computed in the same time. In particular, if the diameter is constant, it can be determined in time n*exp(O(k)). This result matches a recent hardness result by Abboud, Vassilevska Williams, and Wang [SODA 2016] that shows that under the Strong Exponential Time Hypothesis of Impagliazzo, Paturi, and Zane [J. Comp. Syst. Sc., 2001], for any epsilon > 0, no algorithm with running time n^{2-epsilon}*exp(o(k)) can distinguish between graphs with diameter 2 and 3.
Thore Husfeldt
IPEC1
2016 Fast Zeta Transforms for Lattices with Few Irreducibles
abstract
We investigate fast algorithms for changing between the standard basis and an orthogonal basis of idempotents for Möbius algebras of finite lattices. We show that every lattice with v elements, n of which are nonzero and join-irreducible (or, by a dual result, nonzero and meet-irreducible), has arithmetic circuits of size O ( vn ) for computing the zeta transform and its inverse, thus enabling fast multiplication in the Möbius algebra. Furthermore, the circuit construction in fact gives optimal (up to constants) monotone circuits for several lattices of combinatorial and algebraic relevance, such as the lattice of subsets of a finite set, the lattice of set partitions of a finite set, the lattice of vector subspaces of a finite vector space, and the lattice of positive divisors of a positive integer.
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto, Jesper Nederlof, Pekka Parviainen
ACM Trans. Algorithms2
2015 The Parity of Set Systems Under Random Restrictions with Applications to Exponential Time Problems
Andreas Björklund, Holger Dell, Thore Husfeldt
ICALP (1)3
2014 Shortest Two Disjoint Paths in Polynomial Time
Andreas Björklund, Thore Husfeldt
ICALP (1)2
2014 Exponential Time Complexity of the Permanent and the Tutte Polynomial
abstract
We show conditional lower bounds for well-studied #P-hard problems: The number of satisfying assignments of a 2-CNF formula with n variables cannot be computed in time exp( o ( n )), and the same is true for computing the number of all independent sets in an n -vertex graph. The permanent of an n × n matrix with entries 0 and 1 cannot be computed in time exp( o ( n )). The Tutte polynomial of an n -vertex multigraph cannot be computed in time exp( o ( n )) at most evaluation points ( x , y ) in the case of multigraphs, and it cannot be computed in time exp( o ( n /poly log n )) in the case of simple graphs. Our lower bounds are relative to (variants of) the Exponential Time Hypothesis (ETH), which says that the satisfiability of n -variable 3-CNF formulas cannot be decided in time exp( o ( n )). We relax this hypothesis by introducing its counting version #ETH; namely, that the satisfying assignments cannot be counted in time exp( o ( n )). In order to use #ETH for our lower bounds, we transfer the sparsification lemma for d -CNF formulas to the counting setting.
Holger Dell, Thore Husfeldt, Dániel Marx, Nina Taslaman, Martin Wahlen
ACM Trans. Algorithms2
2013 The Parity of Directed Hamiltonian Cycles
abstract
We present a deterministic algorithm that given any directed graph on n vertices computes the parity of its number of Hamiltonian cycles in O(1.619n) time and polynomial space. For bipartite graphs, we give a 1.5npoly(n) expected time algorithm. Our algorithms are based on a new combinatorial formula for the number of Hamiltonian cycles modulo a positive integer.
Andreas Björklund, Thore Husfeldt
FOCS2
2012 Shortest cycle through specified elements
abstract
Previous chapter Next chapter Full AccessProceedings Proceedings of the 2012 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA)Shortest Cycle Through Specified ElementsAndreas Björklund, Thore Husfeldt, and Nina TaslamanAndreas BjörklundLund University, Sweden.Lund University, Sweden, and IT University of Copenhagen, Denmark.IT University of Copenhagen, Denmark., Thore HusfeldtLund University, Sweden.Lund University, Sweden, and IT University of Copenhagen, Denmark.IT University of Copenhagen, Denmark., and Nina TaslamanLund University, Sweden.Lund University, Sweden, and IT University of Copenhagen, Denmark.IT University of Copenhagen, Denmark.pp.1747 - 1753Chapter DOI:https://doi.org/10.1137/1.9781611973099.139PDFBibTexSections ToolsAdd to favoritesExport CitationTrack CitationsEmail SectionsAboutAbstract We give a randomized algorithm that finds a shortest simple cycle through a given set of k vertices or edges in an n-vertex undirected graph in time 2knO(1). Previous chapter Next chapter RelatedDetails Published:2012ISBN:978-1-61197-210-8eISBN:978-1-61197-309-9 https://doi.org/10.1137/1.9781611973099Book Series Name:ProceedingsBook Code:PR141Book Pages:xiii + 1757
Andreas Björklund, Thore Husfeldt, Nina Taslaman
SODA2
2012 Fast zeta transforms for lattices with few irreducibles
abstract
We investigate fast algorithms for changing between the standard basis and an orthogonal basis of idempotents for Möbius algebras of finite lattices. We show that every lattice with v elements, n of which are nonzero and join-irreducible (or, by a dual result, nonzero and meet-irreducible), has arithmetic circuits of size O(vn) for computing the zeta transform and its inverse, thus enabling fast multiplication in the Möbius algebra. Furthermore, the circuit construction in fact gives optimal (up to constants) circuits for a number of lattices of combinatorial and algebraic relevance, such as the lattice of subsets of a finite set, the lattice of set partitions of a finite set, the lattice of vector subspaces of a finite vector space, and the lattice of positive divisors of a positive integer.
Andreas Björklund, Mikko Koivisto, Thore Husfeldt, Jesper Nederlof, Petteri Kaski, Pekka Parviainen
SODA3
2012 The traveling salesman problem in bounded degree graphs
abstract
We show that the traveling salesman problem in bounded-degree graphs can be solved in time O ((2-ϵ) n ), where ϵ > 0 depends only on the degree bound but not on the number of cities, n . The algorithm is a variant of the classical dynamic programming solution due to Bellman, and, independently, Held and Karp. In the case of bounded integer weights on the edges, we also give a polynomial-space algorithm with running time O ((2-ϵ) n ) on bounded-degree graphs. In addition, we present an analogous analysis of Ryser's algorithm for the permanent of matrices with a bounded number of nonzero entries in each column.
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto
ACM Trans. Algorithms2
2011 Invitation to Algorithmic Uses of Inclusion-Exclusion
Thore Husfeldt
ICALP (2)1
2011 Covering and packing in linear space
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto
Inf. Process. Lett.2
2010 Covering and Packing in Linear Space
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto
ICALP (1)2
2010 Exponential Time Complexity of the Permanent and the Tutte Polynomial
Holger Dell, Thore Husfeldt, Martin Wahlen
ICALP (1)2
2010 The Exponential Time Complexity of Computing the Probability That a Graph Is Connected
Thore Husfeldt, Nina Taslaman
IPEC1
2010 Evaluation of permanents in rings and semirings
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto
Inf. Process. Lett.2
2010 Trimmed Moebius Inversion and Graphs of Bounded Degree
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto
Theory Comput. Syst.2
2009 Counting Paths and Packings in Halves
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto
ESA2
2009 Set Partitioning via Inclusion-Exclusion
abstract
Given a set N with n elements and a family $\mathcal{F}$ of subsets, we show how to partition N into k such subsets in $2^n n^{O(1)}$ time. We also consider variations of this problem where the subsets may overlap or are weighted, and we solve the decision, counting, summation, and optimization versions of these problems. Our algorithms are based on the principle of inclusion-exclusion and the zeta transform. In effect we get exact algorithms in $2^n n^{O(1)}$ time for several well-studied partition problems including domatic number, chromatic number, maximum k-cut, bin packing, list coloring, and the chromatic polynomial. We also have applications to Bayesian learning with decision graphs and to model-based data clustering. If only polynomial space is available, our algorithms run in time $3^n n^{O(1)}$ if membership in $\mathcal{F}$ can be decided in polynomial time. We solve chromatic number in $O(2.2461^n)$ time and domatic number in $O(2.8718^n)$ time. Finally, we present a family of polynomial space approximation algorithms that find a number between $\chi(G)$ and $\lceil(1+\epsilon)\chi(G)\rceil$ in time $O(1.2209^n+2.2461^{e^{-\epsilon}n})$.
Andreas Björklund, Thore Husfeldt, Mikko Koivisto
SIAM J. Comput.2
2008 Computing the Tutte Polynomial in Vertex-Exponential Time
abstract
The deletion–contraction algorithm is perhapsthe most popular method for computing a host of fundamental graph invariants such as the chromatic, flow, and reliability polynomials in graph theory, the Jones polynomial of an alternating link in knot theory, and the partition functions of the models of Ising, Potts, and Fortuin–Kasteleyn in statistical physics. Prior to this work, deletion–contraction was also the fastest known general-purpose algorithm for these invariants, running in time roughly proportional to the number of spanning trees in the input graph.Here, we give a substantially faster algorithm that computes the Tutte polynomial—and hence, all the aforementioned invariants and more—of an arbitrary graph in time within a polynomial factor of the number of connected vertex sets. The algorithm actually evaluates a multivariate generalization of the Tutte polynomial by making use of an identity due to Fortuin and Kasteleyn. We also provide a polynomial-space variant of the algorithm and give an analogous result for Chung and Graham's cover polynomial.
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto
FOCS2
2008 The Travelling Salesman Problem in Bounded Degree Graphs
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto
ICALP (1)2
2008 Trimmed Moebius Inversion and Graphs of Bounded Degree
abstract
We study ways to expedite Yates's algorithm for computing the zeta and Moebius transforms of a function defined on the subset lattice. We develop a trimmed variant of Moebius inversion that proceeds point by point, finishing the calculation at a subset before considering its supersets. For an $n$-element universe $U$ and a family $\scr F$ of its subsets, trimmed Moebius inversion allows us to compute the number of packings, coverings, and partitions of $U$ with $k$ sets from $\scr F$ in time within a polynomial factor (in $n$) of the number of supersets of the members of $\scr F$. Relying on an intersection theorem of Chung et al. (1986) to bound the sizes of set families, we apply these ideas to well-studied combinatorial optimisation problems on graphs of maximum degree $Δ$. In particular, we show how to compute the Domatic Number in time within a polynomial factor of $(2^{Δ+1-2)^{n/(Δ+1)$ and the Chromatic Number in time within a polynomial factor of $(2^{Δ+1-Δ-1)^{n/(Δ+1)$. For any constant $Δ$, these bounds are $O\bigl((2-ε)^n\bigr)$ for $ε>0$ independent of the number of vertices $n$.
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto
STACS2
2008 Exact Algorithms for Exact Satisfiability and Number of Perfect Matchings
Andreas Björklund, Thore Husfeldt
Algorithmica2
2007 Fourier meets möbius: fast subset convolution
abstract
We present a fast algorithm for the subset convolution problem:given functions f and g defined on the lattice of subsets of ann-element set n, compute their subset convolution f*g, defined for S⊆ N by [ (f * g)(S) = [T ⊆ S] f(T) g(S/T),,]where addition and multiplication is carried out in an arbitrary ring. Via Möbius transform and inversion, our algorithm evaluates the subset convolution in O(n2 2n) additions and multiplications, substanti y improving upon the straightforward O(3n) algorithm. Specifically, if the input functions have aninteger range [-M,-M+1,...,M], their subset convolution over the ordinary sum--product ring can be computed in Õ(2n log M) time; the notation Õ suppresses polylogarithmic factors.Furthermore, using a standard embedding technique we can compute the subset convolution over the max--sum or min--sum semiring in Õ(2n M) time.
Andreas Björklund, Thore Husfeldt, Petteri Kaski, Mikko Koivisto
STOC2
2006 Inclusion--Exclusion Algorithms for Counting Set Partitions
abstract
Given a set U with n elements and a family of subsets S sube 2Uwe show how to count the number of k-partitions S1cup ... cup Sk= U into subsets Siisin S in time 2nnO(1). The only assumption on S is that it can be enumerated in time 2nnO(1). In effect we get exact algorithms in time 2nnO(1)for several well-studied partition problems including domatic number, chromatic number, bounded component spanning forest, partition into Hamiltonian subgraphs, and bin packing. If only polynomial space is available, our algorithms run in time 3nnO(1)if membership in S can be decided in polynomial time. For chromatic number, we present a version that runs in time O(2.2461n) and polynomial space. For domatic number, we present a version that runs in time O(2.8718n). Finally, we present a family of polynomial space approximation algorithms that find a number between chi(G) and [(1 + epsi)chi(G)] in time O(1.2209n+ 2.2461e-epsin)
Andreas Björklund, Thore Husfeldt
FOCS2
2006 Exact Algorithms for Exact Satisfiability and Number of Perfect Matchings
Andreas Björklund, Thore Husfeldt
ICALP (1)2
2005 Black box for constant-time insertion in priority queues (note)
abstract
We present a simple black box that takes a priority queue Q which supports find-min, insert, and delete in x-time at most t . Here x-time may be worst-case, expected, or amortized. The black-box transforms Q into a priority queue Q * that supports find-min in constant time, insert in constant x-time, and delete in x-time O ( t ). Moreover, if Q supports dec-key in constant time, then so does Q *.
Stephen Alstrup, Thore Husfeldt, Theis Rauhe, Mikkel Thorup
ACM Trans. Algorithms2
2004 Approximating Longest Directed Paths and Cycles
Andreas Björklund, Thore Husfeldt, Sanjeev Khanna
ICALP2
2004 Dynamic nested brackets
Stephen Alstrup, Thore Husfeldt, Theis Rauhe
Inf. Comput.2
2003 Finding a Path of Superlogarithmic Length
abstract
We consider the problem of finding a long, simple path in an undirected graph. We present a polynomial-time algorithm that finds a path of length $\Omega\bigl((\log L/\log\log L)^2\bigr)$, where L denotes the length of the longest simple path in the graph. This establishes the performance ratio O(n(log log n/log n) 2 ) for the longest path problem, where n denotes the number of vertices in the graph.
Andreas Björklund, Thore Husfeldt
SIAM J. Comput.2
2003 New Lower Bound Techniques for Dynamic Partial Sums and Related Problems
abstract
We study the complexity of the dynamic partial sum problem in the cell-probe model. We give the model access to nondeterministic queries and prove that the problem remains hard. We give the model access to the right answer $\pm 1$ as an oracle and prove that the problem remains hard. This suggests which kind of information is hard to maintain. From these results, we derive a number of lower bounds for dynamic algorithms and data structures: We prove lower bounds for dynamic algorithms for existential range queries, reachability in directed graphs, planarity testing, planar point location, incremental parsing, and fundamental data structure problems like maintaining the majority of the prefixes of a string of bits. We prove a lower bound for reachability in grid graphs in terms of the graph's width. We characterize the complexity of maintaining the value of any symmetric function on the prefixes of a bit string.
Thore Husfeldt, Theis Rauhe
SIAM J. Comput.1
2002 Finding a Path of Superlogarithmic Length
Andreas Björklund, Thore Husfeldt
ICALP2
2002 Lower bounds for approximate polygon decomposition and minimum gap
Joachim Gudmundsson, Thore Husfeldt, Christos Levcopoulos
Inf. Process. Lett.2
2001 A cell probe lower bound for dynamic nearest-neighbor searching
Stephen Alstrup, Thore Husfeldt, Theis Rauhe
SODA2
1998 Marked Ancestor Problems
abstract
Consider a rooted tree whose nodes can be in two states: marked or unmarked. The marked ancestor problem is to maintain a data structure with the following operations: mark(v) marks node v: unmark(v) removes any marks from node v; firstmarked(v) returns the first marked node on the path from v to the root. We show tight upper and lower bounds for the marked ancestor problem. The lower bounds are proved in the cell probe model, the algorithms run on a unit-cost RAM. As easy corollaries we prove (often optimal) lower bounds on a number of problems. These include planar range searching, including the existential or emptiness problem, priority search trees static tree union-find, and several problems from dynamic computational geometry, including segment intersection, interval maintenance, and ray shooting in the plane. Our upper bounds improve algorithms from various fields, including coloured ancestor problems and maintenance of balanced parentheses.
Stephen Alstrup, Thore Husfeldt, Theis Rauhe
FOCS2
1998 Hardness Results for Dynamic Problems by Extensions of Fredman and Saks' Chronogram Method
Thore Husfeldt, Theis Rauhe
ICALP1
1995 Fully Dynamic Transitive Closure in Plane Dags with One Source and One Sink
Thore Husfeldt
ESA1
1995 Dynamic Algorithms for the Dyck Languages
Gudmund Skovbjerg Frandsen, Thore Husfeldt, Peter Bro Miltersen, Theis Rauhe, Søren Skyum
WADS2