吉林大学学报(信息科学版)

• 论文 • 上一篇    下一篇

行为规划语言在问题求解方法中的应用

黄雅楠, 顾海军, 田雅倩   

  1. 吉林大学 通信工程学院, 长春 130012
  • 收稿日期:2016-12-21 出版日期:2017-05-25 发布日期:2017-06-07
  • 作者简介: 黄雅楠(1992— ), 女, 吉林公主岭人, 吉林大学硕士研究生, 主要从事智能推理研究, (Tel)86-18843109667(E-mail) 1543705730@ qq. com; 顾海军(1970— ), 男, 黑龙江海伦人, 吉林大学副教授, 硕士生导师, 主要从事智能信息处理及 Web 智能研究, (Tel)86-15104463305(E-mail)ghyciom@163. com。
  • 基金资助:
    吉林省科技发展计划基金资助项目(20140204036GX)

Application of Action Planning Language in Problem Solving

HUANG Yanan, GU Haijun, TIAN Yaqian   

  1. College of Communication Engineering, Jilin University, Changchun 130012, China
  • Received:2016-12-21 Online:2017-05-25 Published:2017-06-07

摘要:  针对传统编程编写的代码可扩展性差的问题, 引进一种声明式编程方法, 利用行为语言 C+进行问题表
征与求解。 以经典的倒水问题为例, 利用 C+语言进行主体规则以及目标查询表征, 通过调用求解器 cplus2asp
实现对倒水动作规划。 实验证明, 用 C+语言进行编程, 语法简单且求解过程具有自主推理能力, 并且可任意
增添或删减语句而不影响其他语句执行, 具有很高的扩展性。

关键词: 声明式编程, cplus2asp 求解器, C+语言

Abstract:  The traditional programming method is rigid and inflexible to implement the programmers’thoughts,
and lacks reasoning ability. And it changes greatly when code modification is needed, the expandability is poor.
A new programming language action language C+ which is a declarative programming method is made use of
to represent and solve issues. Taking the pouring problem as an example, the main rules and query are
represented by C+, then call the cplus2asp to reason automatically. The experiment certifies that the syntax of
C+ language is simple and the solving process has the ability of automatic reasoning, it can add or delete
statements arbitrarily without affecting the execution of other statements, having high expandability.

Key words: cplus2asp analyzer, C+ language, declarative programming

中图分类号: 

  •