For a partial word w the longest common compatible prefix of two positions i, j, denoted lccp(i,j), is the largest k such that w[i,i+k-1] and w[j,j+k-1] are compatible. The LCCP problem is to preprocess a partial word in such a way that any query lccp(i,j) about this word can be answered in O(1) time. We present a simple solution to this problem that works for any linearly-sortable alphabet. Our preprocessing is in time O(n?+n), where ? is the number of blocks of holes in w.

A note on the longest common compatible prefix problem for partial words

Alessio Langiu;
2015

Abstract

For a partial word w the longest common compatible prefix of two positions i, j, denoted lccp(i,j), is the largest k such that w[i,i+k-1] and w[j,j+k-1] are compatible. The LCCP problem is to preprocess a partial word in such a way that any query lccp(i,j) about this word can be answered in O(1) time. We present a simple solution to this problem that works for any linearly-sortable alphabet. Our preprocessing is in time O(n?+n), where ? is the number of blocks of holes in w.
2015
Istituto per l'Ambiente Marino Costiero - IAMC - Sede Napoli
Inglese
34
49
53
http://www.scopus.com/record/display.url?eid=2-s2.0-84939570467&origin=inward
Sì, ma tipo non specificato
Dynamic programming
Longest common compatible prefix
Longest common prefix
Partial word
9
info:eu-repo/semantics/article
262
Crochemore, Maxime; S Iliopoulos, Costas; Kociumaka, Tomasz; Kubica, Marcin; Langiu, Alessio; Radoszewski, Jakub; Rytter, Wojciech; Szreder, Bartosz; ...espandi
01 Contributo su Rivista::01.01 Articolo in rivista
none
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/300629
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 6
  • ???jsp.display-item.citation.isi??? ND
social impact