arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1104.3469cs.SE
收藏

接口适配器链接丢失的概率分析

Probabilistic Analysis of Loss in Interface Adapter Chaining

Yoo Chung, Dongman Lee

摘要:

接口适配器允许为一个接口编写的应用程序在另一个接口中重用,而不必重写应用程序代码,并且链接接口适配器可以显著减少创建适配器所需的开发工作。然而,接口适配器往往无法完美地转换接口,因此必须有一种方法来分析接口适配器链的损失,以提高接口适配的质量。本文描述了一种概率方法来分析接口适配器链中的丢失,它不仅建模方法是否可以适应,而且方法可以适应得多好。我们还表明,概率最优适配器链是一个NP完全问题,所以我们描述了一个贪心算法,它可以构建一个最佳的接口适配器链的指数时间在最坏的情况下。

英文摘要:

Interface adapters allow applications written for one interface to be reused with another interface without having to rewrite application code, and chaining interface adapters can significantly reduce the development effort required to create the adapters. However, interface adapters will often be unable to convert interfaces perfectly, so there must be a way to analyze the loss from interface adapter chains in order to improve the quality of interface adaptation. This paper describes a probabilistic approach to analyzing loss in interface adapter chains, which not only models whether a method can be adapted but also how well methods can be adapted. We also show that probabilistic optimal adapter chaining is an NP-complete problem, so we describe a greedy algorithm which can construct an optimal interface adapter chain with exponential time in the worst case.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑