高级检索

    ND-Polya类比实现技术

    THE IMPLEMENTATION TECHNIQUES OF THE ANALOGY IN ND POLYA

    • 摘要: 从认识论和方法论的角度来看,分类不是认识事物解决问题的唯一方法,类比同样十分重要.然而传统的继承只体现分类的方法.自行设计的面向对象语言ND-Polya通过引入新的继承机制——柔性继承来支持类比方法.使用柔性继承机制,程序员能以描述事物或问题间相似性的方式进行软件开发.文中简要介绍了ND-Polya的柔性继承设施,并在此基础上具体地讨论了该机制的类比实现技术.

       

      Abstract: Analogy is a very important method for cognition and solving problems besides classification in the view of epistemology and methodology. However, the traditional inheritance only reflects the idea of classification. The ND Polya language supports the analogy in object oriented programming by providing a new inheritance mechanism soft inheritance, with which one can develop a new software system by describing its similarity to an existing system. After giving a brief introduction to the soft inheritance facilities in the self designed language ND Polya, the implementation techniques of the soft inheritance are discussed in detail.

       

    /

    返回文章
    返回