Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to main content

Practical Space-Efficient Index for Structural Pattern Matching

  • Conference paper
  • First Online:
Combinatorial Algorithms (IWOCA 2022)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13270))

Included in the following conference series:

  • 548 Accesses

Abstract

In structural pattern matching, two n-length strings X and Y over \(\varSigma \) are said to match, if there exists a one-to-one function \(f:\varSigma \rightarrow \varSigma \) such that (i) for \(0\le i<n\), \(f(X[i])=Y[i]\) and (ii) for any \(x,y\in \varSigma \) whose complements are \(x'\) and \(y'\), respectively, if \(f(x)=y\) then \(f(x')=y'\). In this paper, we present a \(2n\lg \sigma +2n+o(n)\)-bit index for this problem. Although it does not theoretically achieve the succinctness for a general alphabet, the proposed method is more practical and the space requirement can be smaller than the previous succinct solution especially when \(\sigma \) is small. A source code is available at: https://github.com/sunghwank/spmindex.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. Beal, R., Adjeroh, D.: Efficient pattern matching for RNA secondary structures. Theoret. Comput. Sci. 592, 59–71 (2015). https://doi.org/10.1016/j.tcs.2015.05.016

    Article  MathSciNet  MATH  Google Scholar 

  2. Clark, D.: Compact pat trees. Ph.D. thesis, University of Waterloo (1996)

    Google Scholar 

  3. Ferragina, P., Manzini, G., Mäkinen, V., Navarro, G.: Compressed representations of sequences and full-text indexes. ACM Trans. Algorithms 3(2), 20–es (2007). https://doi.org/10.1145/1240233.1240243

  4. Fischer, J.: Optimal succinctness for range minimum queries. In: López-Ortiz, A. (ed.) LATIN 2010. LNCS, vol. 6034, pp. 158–169. Springer, Heidelberg (2010). https://doi.org/10.1007/978-3-642-12200-2_16

    Chapter  Google Scholar 

  5. Ganguly, A., Shah, R., Thankachan, S.V.: Structural pattern matching - succinctly. In: Proceedings of the 28th International Symposium on Algorithms and Computation (ISAAC), pp. 35:1–35:13 (2017). https://doi.org/10.4230/LIPIcs.ISAAC.2017.35

  6. Gog, S., Beller, T., Moffat, A., Petri, M.: From theory to practice: plug and play with succinct data structures. In: Proceedings of the 13th International Symposium on Experimental Algorithms (SEA), pp. 326–337 (2014). https://doi.org/10.1007/978-3-319-07959-2_28

  7. Golynski, A., Grossi, R., Gupta, A., Raman, R., Rao, S.S.: On the size of succinct indices. In: Arge, L., Hoffmann, M., Welzl, E. (eds.) ESA 2007. LNCS, vol. 4698, pp. 371–382. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-75520-3_34

    Chapter  Google Scholar 

  8. Grossi, R., Gupta, A., Vitter, J.S.: High-order entropy-compressed text indexes. In: Proceedings of the 14th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 841–850 (2003). https://doi.org/10.5555/644108.644250

  9. Jacobson, G.: Space-efficient static trees and graphs. In: Proceedings of the 30th Annual Symposium on Foundations of Computer Science (FOCS), pp. 549–554 (1989). https://doi.org/10.1109/SFCS.1989.63533

  10. Kim, S.H., Cho, H.G.: Indexing isodirectional pointer sequences. In: Proceedings of the 31st International Symposium on Algorithms and Computation (ISAAC), pp. 35:1–35:15 (2020). https://doi.org/10.4230/LIPIcs.ISAAC.2020.35

  11. Navarro, G.: Wavelet trees for all. J. Discrete Algorithms 25, 2–20 (2014). https://doi.org/10.1016/j.jda.2013.07.004

    Article  MathSciNet  MATH  Google Scholar 

  12. Navarro, G., Sadakane, K.: Fully functional static and dynamic succinct trees. ACM Trans. Algorithms 10(3), 1–39 (2014). https://doi.org/10.1145/2601073

    Article  MathSciNet  MATH  Google Scholar 

  13. Sadakane, K., Navarro, G.: Fully-functional succinct trees. In: Proceedings of the 21st Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 134–149 (2010). https://doi.org/10.5555/1873601.1873614

  14. Shibuya, T.: Generalization of a suffix tree for RNA structural pattern matching. In: SWAT 2000. LNCS, vol. 1851, pp. 393–406. Springer, Heidelberg (2000). https://doi.org/10.1007/3-540-44985-X_34

    Chapter  Google Scholar 

  15. Shibuya, T.: Generalization of a suffix tree for RNA structural pattern matching. Algorithmica 39, 1–19 (2004). https://doi.org/10.1007/s00453-003-1067-9

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgement

The authors would like to thank anonymous reviewers for their valuable comments and suggestions.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sung-Hwan Kim .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kim, SH., Cho, HG. (2022). Practical Space-Efficient Index for Structural Pattern Matching. In: Bazgan, C., Fernau, H. (eds) Combinatorial Algorithms. IWOCA 2022. Lecture Notes in Computer Science, vol 13270. Springer, Cham. https://doi.org/10.1007/978-3-031-06678-8_27

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-06678-8_27

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-06677-1

  • Online ISBN: 978-3-031-06678-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics