Efficient exact paths for dyck and semi-dyck labeled path reachability (extended abstract)

P. Bradford
{"title":"Efficient exact paths for dyck and semi-dyck labeled path reachability (extended abstract)","authors":"P. Bradford","doi":"10.1109/UEMCON.2017.8249039","DOIUrl":null,"url":null,"abstract":"Consider any two vertices in a weighted digraph. The exact path length problem is to determine if there is a path of a given fixed cost between these vertices. This paper focuses on the exact path problem for costs −1,0 or +1 between all pairs of vertices. This special case is also restricted to original edge weights from {−1, +1}. In this special case, this paper gives an O(nω log2 n) exact path solution, where ω is the best exponent for matrix multiplication. Basic variations of this algorithm determine which pairs of digraph nodes have Dyck or semi-Dyck labeled paths between them, assuming two terminals or parenthesis. Therefore, determining reachability for Dyck or semi-Dyck labeled paths costs O(nω log2 n). Both the exact path and labeled path solutions can be improved by poly-log factors, but these improvements are not given here. To find Dyck or semi-Dyck reachability in a labeled digraph, each edge has a single symbol on it. A path label is made by concatenating all symbols along the path. Cycles are allowed without any repeated edges. These paths have the same number of balanced parenthesizations (semi-Dyck languages) or have an equal numbers of matching symbols (Dyck languages). The exact path length problem has many applications. These applications include the labeled path problems given here, which in turn, have many applications.","PeriodicalId":403890,"journal":{"name":"2017 IEEE 8th Annual Ubiquitous Computing, Electronics and Mobile Communication Conference (UEMCON)","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2017-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 IEEE 8th Annual Ubiquitous Computing, Electronics and Mobile Communication Conference (UEMCON)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/UEMCON.2017.8249039","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8

Abstract

Consider any two vertices in a weighted digraph. The exact path length problem is to determine if there is a path of a given fixed cost between these vertices. This paper focuses on the exact path problem for costs −1,0 or +1 between all pairs of vertices. This special case is also restricted to original edge weights from {−1, +1}. In this special case, this paper gives an O(nω log2 n) exact path solution, where ω is the best exponent for matrix multiplication. Basic variations of this algorithm determine which pairs of digraph nodes have Dyck or semi-Dyck labeled paths between them, assuming two terminals or parenthesis. Therefore, determining reachability for Dyck or semi-Dyck labeled paths costs O(nω log2 n). Both the exact path and labeled path solutions can be improved by poly-log factors, but these improvements are not given here. To find Dyck or semi-Dyck reachability in a labeled digraph, each edge has a single symbol on it. A path label is made by concatenating all symbols along the path. Cycles are allowed without any repeated edges. These paths have the same number of balanced parenthesizations (semi-Dyck languages) or have an equal numbers of matching symbols (Dyck languages). The exact path length problem has many applications. These applications include the labeled path problems given here, which in turn, have many applications.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
dyck和半dyck标记路径可达性的有效精确路径(扩展抽象)
考虑一个加权有向图中的任意两个顶点。确切的路径长度问题是确定这些顶点之间是否存在给定固定代价的路径。本文主要研究所有顶点对之间代价为−1,0或+1的精确路径问题。这种特殊情况也仅限于{−1,+1}的原始边权值。在这种特殊情况下,本文给出了一个O(nω log2 n)的精确路径解,其中ω是矩阵乘法的最佳指数。该算法的基本变体确定有向图节点的哪些对之间有Dyck或半Dyck标记路径,假设有两个终端或括号。因此,确定Dyck或半Dyck标记路径的可达性需要花费O(nω log2 n)。精确路径和标记路径的解都可以通过多对数因子来改进,但这里没有给出这些改进。要在标记有向图中找到Dyck或半Dyck可达性,每条边上都有一个符号。路径标签是通过连接路径上的所有符号来生成的。允许没有任何重复边的循环。这些路径具有相同数量的平衡括号(半戴克语言)或具有相同数量的匹配符号(戴克语言)。精确路径长度问题有许多应用。这些应用包括这里给出的标记路径问题,这些问题又有许多应用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Automated facial expression recognition app development on smart phones using cloud computing Outage probability and system optimization of SSD-based dual-hop relaying system with multiple relays LTE fallback optimization using decision tree Bio-medical image enhancement using hybrid metaheuristic coupled soft computing tools Study of a parallel algorithm on pipelined computation of the finite difference schemes on FPGA
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1