首页> 外文会议> >Two EREW algorithms for parentheses matching
【24h】

Two EREW algorithms for parentheses matching

机译:两种用于括号匹配的EREW算法

获取原文
获取外文期刊封面目录资料

摘要

The authors present two new parallel algorithms for matching parentheses on an exclusive-read exclusive-write parallel random-access machine (EREW PRAM). The first algorithm uses n processors and O(n) space, and requires O(log n) time to match n parentheses. The second algorithm is cost-optimal, and uses O(/sub logn///sup n/) processors and O(n log n) space, and it requires O(log n) time. These algorithms are simpler and more elegant than the existing ones, and provide new insights into the parentheses matching problem.
机译:作者提出了两种新的并行算法,用于在专用读取专用写入并行随机存取机(EREW PRAM)上匹配括号。第一种算法使用n个处理器和O(n)空间,并且需要O(log n)时间来匹配n个括号。第二种算法是成本最优的,并且使用O(/ sub logn /// sup n /)处理器和O(n log n)空间,并且需要O(log n)时间。这些算法比现有算法更简单,更优雅,并且为括号匹配问题提供了新的见解。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号