Subgraph Isomorphism uses a small graph as a pattern to identify within a larger graph a set of vertices that have matching edges. This paper addresses a logic program written in Prolog for a specific relatively complex graph pattern for which multiple conventional implementations (including parallel) exist. The goal is to understand the complexity differences between programming logically and programming conventionally. Discussion includes the process of converting the graph pattern into logic statements in Prolog, and the resulting characteristics as the size of the graph increased. The analysis shows that using a logic paradigm is an efficient way to attack complex graph problems.


翻译:子图同构利用小图作为模式,在大图中识别出具有匹配边的一组顶点。本文针对一个特定的、相对复杂的图模式,研究了一个用 Prolog 编写的逻辑程序,该图模式已有多种常规(包括并行)实现。目标在于理解逻辑编程与常规编程在复杂度上的差异。讨论内容包括将图模式转换为 Prolog 逻辑语句的过程,以及随着图规模增大所呈现的特性。分析表明,使用逻辑范式是处理复杂图问题的一种高效方法。

0
下载
关闭预览

相关内容

【LoG2024】异质图学习进展
专知会员服务
25+阅读 · 2024年11月30日
专知会员服务
52+阅读 · 2021年6月16日
通俗易懂!《图机器学习导论》附69页PPT
专知
55+阅读 · 2019年12月27日
AmpliGraph:知识图谱表示学习工具包
专知
40+阅读 · 2019年4月6日
图神经网络最近这么火,不妨看看我们精选的这七篇
人工智能前沿讲习班
37+阅读 · 2018年12月10日
【学界】 李飞飞学生最新论文:利用场景图生成图像
GAN生成式对抗网络
15+阅读 · 2018年4月9日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
Arxiv
0+阅读 · 2月7日
VIP会员
相关VIP内容
相关基金
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员