【24h】

Adaptation-Based Programming in Java

机译:Java中基于适应的编程

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

摘要

Writing deterministic programs is often difficult for problems whose optimal solutions depend on unpredictable properties of the programs' inputs. Difficulty is also encountered for problems where the programmer is uncertain about how to best implement certain aspects of a solution. For such problems a mixed strategy of deterministic programming and machine learning can often be very helpful: Initially, define those parts of the program that are well understood and leave the other parts loosely defined through default actions, but also define how those actions can be improved depending on results from actual program runs. Then run the program repeatedly and let the loosely defined parts adapt. In this paper we present a library for Java that facilitates this style of programming, called adaptation-based programming. We motivate the design of the library, define the semantics of adaptation-based programming, and demonstrate through two evaluations that the approach works well in practice. Adaptation-based programming is a form of program generation in which the creation of programs is controlled by previous runs. It facilitates a whole new spectrum of programs between the two extremes of totally deterministic programs and machine learning.
机译:对于那些最佳解决方案取决于程序输入的不可预测属性的问题,编写确定性程序通常很困难。对于程序员不确定如何最好地实现解决方案某些方面的问题,也遇到了困难。对于此类问题,确定性编程和机器学习的混合策略通常可能非常有帮助:首先,定义程序中易于理解的部分,并通过默认操作保留其他部分的松散定义,但还定义如何改进这些操作取决于实际程序运行的结果。然后重复运行该程序,让松散定义的部分适应。在本文中,我们提供了一个Java库,该库促进了这种编程风格,称为基于适应的编程。我们激励库的设计,定义基于适应的编程的语义,并通过两次评估证明该方法在实践中效果很好。基于适应的编程是程序生成的一种形式,其中程序的创建由先前的运行控制。它促进了完全确定性程序和机器学习这两个极端之间程序的全新发展。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号