IDEAS home Printed from https://ideas.repec.org/a/eee/phsmap/v616y2023ics0378437123001565.html
   My bibliography  Save this article

A simple scalable linear time algorithm for horizontal visibility graphs

Author

Listed:
  • Schmidt, Jonas
  • Köhne, Daniel

Abstract

Horizontal Visibility Graphs establish a connection between time series and complex networks. As a feature, they have shown strong results in time series classification. For real-world applications, algorithms for computing HVGs are necessary that work efficiently on streamed data, that can be parallelized, and whose runtime is independent of the type of time series. Our proposed algorithm extends the fast horizontal visibility algorithm of Zhu et al. satisfying all these desirable properties. The extended version stays worst-case in O(n), works additionally efficiently on streamed data, and becomes parallelizable. Contrary to recent publications, it does not require a complex data structure. This approach enables the computation of HVGs with millions of vertices in a short period, opening up new application areas of HVGs for time series generated batch-wise or resulting from measurements with a high sampling rate.

Suggested Citation

  • Schmidt, Jonas & Köhne, Daniel, 2023. "A simple scalable linear time algorithm for horizontal visibility graphs," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 616(C).
  • Handle: RePEc:eee:phsmap:v:616:y:2023:i:c:s0378437123001565
    DOI: 10.1016/j.physa.2023.128601
    as

    Download full text from publisher

    File URL: http://www.sciencedirect.com/science/article/pii/S0378437123001565
    Download Restriction: Full text for ScienceDirect subscribers only. Journal offers the option of making the article available online on Science direct for a fee of $3,000

    File URL: https://libkey.io/10.1016/j.physa.2023.128601?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Hu, Jun & Zhang, Yujie & Wu, Peng & Li, Huijia, 2022. "An analysis of the global fuel-trading market based on the visibility graph approach," Chaos, Solitons & Fractals, Elsevier, vol. 154(C).
    2. Hu, Yuntong & Xiao, Fuyuan, 2022. "An efficient forecasting method for time series based on visibility graph and multi-subgraph similarity," Chaos, Solitons & Fractals, Elsevier, vol. 160(C).
    3. Gutin, Gregory & Mansour, Toufik & Severini, Simone, 2011. "A characterization of horizontal visibility graphs and combinatorics on words," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 390(12), pages 2421-2428.
    4. Hu, Yuntong & Xiao, Fuyuan, 2022. "A novel method for forecasting time series based on directed visibility graph and improved random walk," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 594(C).
    5. Yang, Yue & Yang, Huijie, 2008. "Complex network-based time series analysis," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 387(5), pages 1381-1386.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Xie, Wen-Jie & Zhou, Wei-Xing, 2011. "Horizontal visibility graphs transformed from fractional Brownian motions: Topological properties versus the Hurst index," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 390(20), pages 3592-3601.
    2. Tang, Jinjun & Wang, Yinhai & Wang, Hua & Zhang, Shen & Liu, Fang, 2014. "Dynamic analysis of traffic time series at different temporal scales: A complex networks approach," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 405(C), pages 303-315.
    3. Sudhamayee, K. & Krishna, M. Gopal & Manimaran, P., 2023. "Simplicial network analysis on EEG signals," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 630(C).
    4. Liu, Keshi & Weng, Tongfeng & Gu, Changgui & Yang, Huijie, 2020. "Visibility graph analysis of Bitcoin price series," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 538(C).
    5. Yao, Can-Zhong & Lin, Ji-Nan & Zheng, Xu-Zhou & Liu, Xiao-Feng, 2015. "The study of RMB exchange rate complex networks based on fluctuation mode," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 436(C), pages 359-376.
    6. Hu, Xiaohua & Niu, Min, 2023. "Horizontal visibility graphs mapped from multifractal trinomial measures," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 626(C).
    7. Ömer Akgüller & Mehmet Ali Balcı & Larissa M. Batrancea & Lucian Gaban, 2023. "Path-Based Visibility Graph Kernel and Application for the Borsa Istanbul Stock Network," Mathematics, MDPI, vol. 11(6), pages 1-25, March.
    8. Jiang, Zhi-Qiang & Zhou, Wei-Xing, 2010. "Complex stock trading network among investors," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 389(21), pages 4929-4941.
    9. Bartolo Luque & Lucas Lacasa & Fernando J Ballesteros & Alberto Robledo, 2011. "Feigenbaum Graphs: A Complex Network Perspective of Chaos," PLOS ONE, Public Library of Science, vol. 6(9), pages 1-8, September.
    10. Nie, Chun-Xiao, 2022. "Analysis of critical events in the correlation dynamics of cryptocurrency market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 586(C).
    11. Nie, Chun-Xiao, 2023. "Time-varying characteristics of information flow networks in the Chinese market: An analysis based on sector indices," Finance Research Letters, Elsevier, vol. 54(C).
    12. Lihua Liu & Jing Huang & Huimin Wang, 2020. "Visibility Graph Power Geometric Aggregation Operator and Its Application in Water, Energy and Food Efficiency Evaluation," IJERPH, MDPI, vol. 17(11), pages 1-16, May.
    13. Chun-Xiao Nie & Fu-Tie Song, 2021. "Entropy of Graphs in Financial Markets," Computational Economics, Springer;Society for Computational Economics, vol. 57(4), pages 1149-1166, April.
    14. Douglas Castilho & Tharsis T. P. Souza & Soong Moon Kang & Jo~ao Gama & Andr'e C. P. L. F. de Carvalho, 2021. "Forecasting Financial Market Structure from Network Features using Machine Learning," Papers 2110.11751, arXiv.org.
    15. Shang, Binbin & Shang, Pengjian, 2022. "Effective instability quantification for multivariate complex time series using reverse Shannon-Fisher index," Chaos, Solitons & Fractals, Elsevier, vol. 160(C).
    16. Song, Dong-Ming & Jiang, Zhi-Qiang & Zhou, Wei-Xing, 2009. "Statistical properties of world investment networks," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 388(12), pages 2450-2460.
    17. Vamvakaris, Michail D. & Pantelous, Athanasios A. & Zuev, Konstantin M., 2018. "Time series analysis of S&P 500 index: A horizontal visibility graph approach," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 497(C), pages 41-51.
    18. Xu, Paiheng & Zhang, Rong & Deng, Yong, 2018. "A novel visibility graph transformation of time series into weighted networks," Chaos, Solitons & Fractals, Elsevier, vol. 117(C), pages 201-208.
    19. O’Pella, Justin, 2019. "Horizontal visibility graphs are uniquely determined by their directed degree sequence," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 536(C).
    20. Cao, Run-Hua & Deng, Zheng-Hong & Xu, Ji-Wei, 2022. "Analysis of precipitation characteristics in Shanghai based on the visibility graph algorithm," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 597(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:phsmap:v:616:y:2023:i:c:s0378437123001565. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Catherine Liu (email available below). General contact details of provider: http://www.journals.elsevier.com/physica-a-statistical-mechpplications/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.