String Powers in Trees

String Powers in Trees

0.00 Avg rating0 Votes
Article ID: iaor20174414
Volume: 79
Issue: 3
Start Page Number: 814
End Page Number: 834
Publication Date: Nov 2017
Journal: Algorithmica
Authors: , , ,
Keywords: graphs, heuristics
Abstract:

In this paper we consider substrings of an unrooted edge‐labeled tree, which are defined as the composite labels of simple paths. We study how the number of distinct repetitive substrings depends on their exponent α equ1 . An α equ2 ‐power is defined as a string U with an (integral, not necessarily shortest) period | U | / α equ3 . For example, squares are 2‐powers and cubes are 3‐powers. We investigate the asymptotic growth of the maximal number powers α ( n ) equ4 of distinct α equ5 ‐powers occurring as substrings of a tree with n nodes. The maximum number of such powers behaves much unlike in strings. In a previous work (CPM 2012. LNCS, vol 7354. Springer, Berlin, pp 27–40, 2012. It was proved that the number of different squares in a tree is powers 2 ( n ) = Θ ( n 4 / 3 ) equ6 . We extend this result and analyze powers of arbitrary rational exponent α 1 equ7 . We identify two phase‐transition thresholds:

  • powers α ( n ) = Θ ( n 2 ) for 1 α < 2 ;
  • powers α ( n ) = Θ ( n 4 / 3 ) for 2 α < 3 ;
  • powers α ( n ) = Θ ( n ) for α 3 .
  • This is a full version of a paper presented at CPM 2015. LNCS, vol 9133. Springer, Berlin, pp 284–294, 2015. Compared to the earlier version, we improve our main technical contribution, i.e., the upper bound on the number of cubes in a tree, from O ( n log n ) equ14 to O ( n ) equ15 . This lets us obtain a tight asymptotic characterization of the powers equ16 function.

    Reviews

    Required fields are marked *. Your email address will not be published.