Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372

Notice: Unexpected clearActionName after getActionName already called in /var/www/html/w/includes/Context/RequestContext.php on line 321
Efficient representation and counting of antipower factors in words - MaRDI portal

Deprecated: Use of MediaWiki\Skin\SkinTemplate::injectLegacyMenusIntoPersonalTools was deprecated in Please make sure Skin option menus contains `user-menu` (and possibly `notifications`, `user-interface-preferences`, `user-page`) 1.46. [Called from MediaWiki\Skin\SkinTemplate::getPortletsTemplateData in /var/www/html/w/includes/Skin/SkinTemplate.php at line 691] in /var/www/html/w/includes/Debug/MWDebug.php on line 372

Deprecated: Use of MediaWiki\Skin\BaseTemplate::getPersonalTools was deprecated in 1.46 Call $this->getSkin()->getPersonalToolsForMakeListItem instead (T422975). [Called from Skins\Chameleon\Components\NavbarHorizontal\PersonalTools::getHtml in /var/www/html/w/skins/chameleon/src/Components/NavbarHorizontal/PersonalTools.php at line 66] in /var/www/html/w/includes/Debug/MWDebug.php on line 372

Deprecated: Use of QuickTemplate::(get/html/text/haveData) with parameter `personal_urls` was deprecated in MediaWiki Use content_navigation instead. [Called from MediaWiki\Skin\QuickTemplate::get in /var/www/html/w/includes/Skin/QuickTemplate.php at line 131] in /var/www/html/w/includes/Debug/MWDebug.php on line 372

Efficient representation and counting of antipower factors in words (Q5919279)

From MaRDI portal
(Redirected from Item:Q5925560)





scientific article; zbMATH DE number 7540268
Language Label Description Also known as
English
Efficient representation and counting of antipower factors in words
scientific article; zbMATH DE number 7540268

    Statements

    Efficient representation and counting of antipower factors in words (English)
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    4 December 2019
    0 references
    13 June 2022
    0 references
    antipower
    0 references
    \( \alpha \)-gapped repeat
    0 references
    run (maximal repetition)
    0 references
    maximal repetition
    0 references
    A \textit{\(k\)-antipower} (for \(k\geq 2\)) is a concatenation of \(k\) distinct words of the same length (called \textit{antiperiod}). It is known that a word of length \(n\) can have \(\Theta(n^2/k)\) antipower fragments, and they can all be reported in \(O(n^2/k)\) time. In particular, all \(k\)-antipower fragments of a specified antiperiod \(d\) can be reported in \(O(n)\) time. The authors present several results on the algorithmic problem of locating and reporting antipower fragments of an input word of length \(n\) over an integer alphabet \(\{1,...,n^{O(1)}\}\). The first result is an algorithm that computes the number \(C\) of \(k\)-antipower fragments in \(O(nk \log k)\) time and reports them in \(O(nk \log k + C )\) time. The second result is an algorithm that computes the number of different factors that are \(k\)-antipowers in \(O(nk^4 \log k \log n)\) time. The third result is a construction in \(O(n^2/r)\) time of a data structure of size \(O(n^2/r)\), for any \(r \in \{1,...,n\}\), which answers antipower queries in \(O(r)\) time. Thus, any \(n\) antipower queries can be answered in \(O(n\sqrt{n})\) time and space.
    0 references
    0 references
    0 references
    0 references
    0 references

    Identifiers

    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references