In the string-regime, we are interested in counting how many substring of a text ๐ are at Hamming (or edit) distance at most ๐ to a pattern ๐. Among others, we are interested in the fully-compressed setting, where both ๐ and ๐ are given in a compressed representation. For both distance measures, we give the first algorithm that runs in (almost) linear time in the size of the compressed representations. We obtain the algorithms by new and tight structural insights into the solution structure of the problems.
In the graph-regime, we study problems related to counting homomorphisms between graphs. In particular, we study the parameterized complexity of the problem #IndSub(๐ท), where we are to count all ๐-vertex induced subgraphs of a graph that satisfy the property ๐ท. Based on a theory of Lovรกsz, Curticapean et al., we express #IndSub(๐ท) as a linear combination of graph homomorphism numbers to obtain #W[1]-hardness and almost tight conditional lower bounds for properties ๐ท that are monotone or that depend only on the number of edges of a graph. Thereby, we prove a conjecture by Jerrum and Meeks.
In addition, we investigate the parameterized complexity of the problem #Hom(โ โ ๐ข) for graph classes โ and ๐ข. In particular, we show that for any problem ๐ in the class #W[1], there are classes โ_๐ and ๐ข_๐ such that ๐ is equivalent to #Hom(โ_๐ โ ๐ข_๐).