计算机与现代化

• 人工智能 • 上一篇    下一篇

一种对中式台球进行摆球布局的优化算法

  

  1. (1.南阳理工学院体育教学部,河南 南阳 473004; 2.南阳理工学院计算机与信息工程学院,河南 南阳 473004)
  • 收稿日期:2016-06-20 出版日期:2016-08-18 发布日期:2016-08-11
  • 作者简介:王永新(1978-),男,河南濮阳人,南阳理工学院体育教学部讲师,硕士,研究方向:体育教育与训练,计算机辅助设计; 王秋芬(1978-),女,河南濮阳人,南阳理工学院计算机与信息工程学院副教授,硕士,研究方向:计算机软件与理论,算法。
  • 基金资助:
    河南省软科学项目(142400411234)

An Optimization Algorithm of Placement for Chinese Billiards

  1. (1. Department of Physical Education, Nanyang Institute of Technology, Nanyang 473004, China;
    2. College of Computer and Information Engineering, Nanyang Institute of Technology, Nanyang 473004, China)
  • Received:2016-06-20 Online:2016-08-18 Published:2016-08-11

摘要: 针对台球运动中人工摆球耗时、耗力、摆球不合理,加大人员服务成本开销的问题,提出一种对中式台球进行摆球布局的优化算法。该算法定义内外2个三角形,对子球的位置进行编号,建立数学模型并给出形式化描述,引入二叉树结构来组织所有可能的摆球布局方案,用回溯法完成对中式台球摆球布局的构造过程,最终产生一个方案库。该方案库中的摆球方案均满足任何3个及以上全色球或3个及以上花色球不相邻,确保台球摆球布局的合理性、公平性,为自动台球机的进一步设计与开发提供有效的方法。

关键词: 台球, 布局方案, 数学模型, 算法

Abstract: It exists a lot of problems to place balls using artificial method in billiards sports, such as time-consuming, labor-intensive, placed unreasonable, increasing the cost of service and so on. The paper puts forward an optimization algorithm of placement for Chinese billiards. The algorithm defines inside triangle and outside triangle. The locations of the sub-balls are numbered. It constructs a mathematical model, gives a formal description, uses binary tree structure to organize all the possible layout schemes, and searches reasonable schemes by backtracking. All of these schemes meet any of the three or more non-adjacent panchromatic ball or fancy ball, they provide an effective way for the further design and development of automatic billiards machine.

Key words: billiards, placed scheme, mathematical model, algorithm

中图分类号: