English

The fast intersection transform with applications to counting paths

Data Structures and Algorithms 2008-09-16 v1 Discrete Mathematics

Abstract

We present an algorithm for evaluating a linear ``intersection transform'' of a function defined on the lattice of subsets of an nn-element set. In particular, the algorithm constructs an arithmetic circuit for evaluating the transform in ``down-closure time'' relative to the support of the function and the evaluation domain. As an application, we develop an algorithm that, given as input a digraph with nn vertices and bounded integer weights at the edges, counts paths by weight and given length 0n10\leq\ell\leq n-1 in time O(exp(nH(/(2n))))O^*(\exp(n\cdot H(\ell/(2n)))), where H(p)=plogp(1p)log(1p)H(p)=-p\log p-(1-p)\log(1-p), and the notation O()O^*(\cdot) suppresses a factor polynomial in nn.

Keywords

Cite

@article{arxiv.0809.2489,
  title  = {The fast intersection transform with applications to counting paths},
  author = {Andreas Björklund and Thore Husfeldt and Petteri Kaski and Mikko Koivisto},
  journal= {arXiv preprint arXiv:0809.2489},
  year   = {2008}
}

Comments

11 pages

R2 v1 2026-06-21T11:20:15.698Z