【24h】

Toward a Unified Implementation for Dynamic Programming

机译:寻求动态编程的统一实现

获取原文
获取原文并翻译 | 示例

摘要

The paper presents a unified approach of algorithms derivation and programs generation for dynamic programming (DP) problems based on formal methods and generic types. Using partition-and-recur (PAR), we first derive two formal algorithms from DP problem specifications, and then transform them into generic programs in two steps. By binding generic types to constructed ones and passing anonymous methods to delegates, we can get concrete programs for a variety of DP problems directly. Three typical programs of the DP model are generated for illustration.
机译:本文提出了一种基于形式化方法和泛型类型的动态规划(DP)问题的算法推导和程序生成的统一方法。使用分区递归(PAR),我们首先从DP问题规范中得出两个形式化算法,然后分两步将它们转换为通用程序。通过将泛型类型绑定到构造的类型并将匿名方法传递给委托,我们可以直接获得针对各种DP问题的具体程序。生成了DP模型的三个典型程序用于说明。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号