Congquan Mei, Junfeng Zhou, Ming Du, Lian Chen, Sheng Yu, Xian Tang, Ziyang Chen
{"title":"Efficient k-step Weighted Reachability Queries Processing Algorithms","authors":"Congquan Mei, Junfeng Zhou, Ming Du, Lian Chen, Sheng Yu, Xian Tang, Ziyang Chen","doi":"10.1007/s13369-025-10110-3","DOIUrl":null,"url":null,"abstract":"<div><p>Given a data graph <i>G</i>, a source vertex <i>u</i>, and a target vertex <i>v</i> of a reachability query, the reachability query is used to answer whether there exists a path from <i>u</i> to <i>v</i> in <i>G</i>. Reachability query processing is one of the fundamental operations in graph data management, which is widely used in biological networks, communication networks, and social networks to assist data analysis. The data graphs in practical applications usually contain information such as quantization weights associated with the structural relationships, in addition to the structural relationships between vertices. Thus, in addition to the traditional reachability relationships, users may want to further understand whether such reachability relationships satisfy specific constraints. In this paper, we study the problem of efficiently processing <i>k</i>-step reachability queries with weighted constraints in weighted graphs. The <i>k</i>-step weighted reachability query questions are used to answer the question of whether there exists a path from a source vertex <i>u</i> to a goal vertex <i>v</i> in a given weighted graph. If it exists, the path needs to satisfy (1) all edges in the path satisfy the given weight constraints, and (2) the length of the path does not exceed the given distance threshold <i>k</i>. To address the problem, firstly, WKRI indexes supporting <i>k</i>-step weighted reachability query processing and index construction methods based on efficient pruning strategies are proposed. Secondly, the idea of constructing indexes based on part of the vertices is proposed to reduce the size of the indexes and two optimized indexes are designed and implemented based on the vertex coverage set to design and implement two optimized indexes GWKRI and LWKRI. Finally, experiments are conducted on several real datasets. The experimental results verify the efficiency of the method proposed in this paper in answering <i>k</i>-step weighted reachability queries.\n\n\n</p></div>","PeriodicalId":54354,"journal":{"name":"Arabian Journal for Science and Engineering","volume":"50 19","pages":"16149 - 16166"},"PeriodicalIF":2.9000,"publicationDate":"2025-03-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Arabian Journal for Science and Engineering","FirstCategoryId":"103","ListUrlMain":"https://link.springer.com/article/10.1007/s13369-025-10110-3","RegionNum":4,"RegionCategory":"综合性期刊","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"MULTIDISCIPLINARY SCIENCES","Score":null,"Total":0}
引用次数: 0
Abstract
Given a data graph G, a source vertex u, and a target vertex v of a reachability query, the reachability query is used to answer whether there exists a path from u to v in G. Reachability query processing is one of the fundamental operations in graph data management, which is widely used in biological networks, communication networks, and social networks to assist data analysis. The data graphs in practical applications usually contain information such as quantization weights associated with the structural relationships, in addition to the structural relationships between vertices. Thus, in addition to the traditional reachability relationships, users may want to further understand whether such reachability relationships satisfy specific constraints. In this paper, we study the problem of efficiently processing k-step reachability queries with weighted constraints in weighted graphs. The k-step weighted reachability query questions are used to answer the question of whether there exists a path from a source vertex u to a goal vertex v in a given weighted graph. If it exists, the path needs to satisfy (1) all edges in the path satisfy the given weight constraints, and (2) the length of the path does not exceed the given distance threshold k. To address the problem, firstly, WKRI indexes supporting k-step weighted reachability query processing and index construction methods based on efficient pruning strategies are proposed. Secondly, the idea of constructing indexes based on part of the vertices is proposed to reduce the size of the indexes and two optimized indexes are designed and implemented based on the vertex coverage set to design and implement two optimized indexes GWKRI and LWKRI. Finally, experiments are conducted on several real datasets. The experimental results verify the efficiency of the method proposed in this paper in answering k-step weighted reachability queries.
期刊介绍:
King Fahd University of Petroleum & Minerals (KFUPM) partnered with Springer to publish the Arabian Journal for Science and Engineering (AJSE).
AJSE, which has been published by KFUPM since 1975, is a recognized national, regional and international journal that provides a great opportunity for the dissemination of research advances from the Kingdom of Saudi Arabia, MENA and the world.