没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
Answering reachability queries on large directed graphsIntroducing a new data structure using bit vector compressionAuthor: Sebastiaan J. van Schaik Utrecht University / University of OxfordSupervisors: Prof. Oege de Moor (University of Oxford) Prof. dr. Arno Siebes (Utrecht University)Thesis submitted in partial fulfilment of the degree of Master of Science in Computer Science Department of Computing Sciences, Faculty of Science, Utrecht UniversitySeptember 2010Answering reachability queries on
资源推荐
资源详情
资源评论
Answering reachability queries on
large directed graphs
Introducing a new data structure using bit vector compression
Author:
Sebastiaan J. van Schaik
Utrecht University / University of Oxford
Supervisors:
Prof. Oege de Moor (University of Oxford)
Prof. dr. Arno Siebes (Utrecht University)
Thesis submitted in partial fulfilment of the degree of Master of Science in Computer Science
Department of Computing Sciences, Faculty of Science, Utrecht University
September 2010
Answering reachability queries on large directed graphs
Introducing a new data structure using bit vector compression
Sebastiaan J. van Schaik
Utrecht University / University of Oxford
Abstract
Answering reachability queries on graphs has been subject of extensive research for the last couple
of decades. Reachability data structures and algorithms provide an answer to probably one of the
easiest sounding questions in graph theory: can some vertex j be reached from another vertex i
along edges in the graph? Such queries can be answered in many different ways, for example by
using data structures representing the transitive closure of a graph.
Starting in the 1950’s, computer scientists and mathematicians have proposed multiple ways to
process a graph, extract reachability information and represent the transitive closure. Data sources
– and the graphs representing them – are vastly growing, forcing researchers to look for new ways
to efficiently represent a transitive closure, which grows quadratically in the number of vertices of a
graph. Additionally, the amount of time required to process a graph and build a transitive closure
data structure should be limited, as well as the amount of time required to answer reachability
queries using the data structure.
This thesis provides an introduction to transitive closure computation and proposes to use the
concept of bit vector compression to reduce the amount of memory required to represent a transitive
closure. A new data structure (based on bit vector compression) is presented, together with both
a theoretical and experimental analysis to compare its performance – in terms of memory usage,
construction time and query response time – to data structures presented in publications at major
conferences.
Although data structures described in recent publications are supported by a very sound the-
oretical foundation, it turns out that in practice more trivial existing approaches to compression
of transitive closure data structures often provide similar or even better performance. The newly
designed compression scheme often works faster (in terms of both construction time and query time)
and has a smaller memory footprint in virtually all cases.
“Life is all about timing... the unreachable becomes reachable, the unavailable become available, the
unattainable... attainable. Have the patience, wait it out. It is all about timing.”
— Stacey Charter
Contents
1 Introduction 1
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Preliminary definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Transitive closure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.4 Contributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.5 Structure of the thesis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Prior work 7
2.1 Floyd-Warshall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Exploiting strongly connected components . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Using chain and path decomposition . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.4 Matrix multiplication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3 Compressing reachability information 21
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.2 WAH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
3.3 PWAH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4 Experimental evaluation 33
4.1 Set up of experiments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
4.2 Influence of input graphs on PWAH performance . . . . . . . . . . . . . . . . . . . . 36
4.3 Comparing different PWAH schemes . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4.4 Indexing PWAH . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
4.5 PWAH vs. interval lists, Path-Tree and 3-Hop . . . . . . . . . . . . . . . . . . . . . . 45
5 Conclusion 53
5.1 Experimental evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.2 Further research . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
A Tarjan’s algorithm: example 57
B Code details 61
v
剩余70页未读,继续阅读
资源评论
weixin_38723527
- 粉丝: 3
- 资源: 953
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于TypeScript的数据库实训平台前端设计源码
- 基于SSM框架与微信小程序的图书馆自习室座位预约管理系统设计源码
- 基于SL4J格式的C++日志管理设计源码
- 基于yolov3-tiny-bubbliiiing和Tkinter的实时物体检测界面设计源码
- 基于《JS DOM 编程艺术》(第2版)的JavaScript DOM编程设计源码学习
- ADASIS V2&V3协议
- 基于HTML、JavaScript等技术的全栈前端学习笔记设计源码
- 基于Vue的网易云音乐高仿设计源码
- 基于C语言的串口数据流处理库设计源码
- PTA实验和作业成绩.rar
- 基于SpringBoot+Vue的校园闲置物品租售平台设计源码
- 基于Vue3+AntDesign4的ivzone CRUD组件库及后台管理模板设计源码
- 基于EVE ESI的合同估价与吉他价格计算器设计源码
- 基于Vue-cli3的仿去哪儿旅行APP设计源码
- 基于Windows日志监听的SQLServer登录失败IP黑名单自动添加设计源码
- 基于Java和最新框架的在线课程教育系统设计源码
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功