计算机与现代化 ›› 2020, Vol. 0 ›› Issue (12): 90-98.

• 图像处理 • 上一篇    下一篇

基于庐山三维场景的图算法虚拟仿真系统研究

  

  1. (1.江西师范大学网络化支撑软件国家国际科技合作基地,江西南昌330022;
    2.江西师范大学软件学院,江西南昌330022;3.江西师范大学计算机信息工程学院,江西南昌330022)
  • 出版日期:2021-01-07 发布日期:2021-01-07
  • 作者简介:刘嘉昕(1999—),男,江西南城人,本科生,研究方向:软件形式化与自动化,虚拟现实,E-mail: liujiaxin404@163.com; 通信作者:游珍(1982—),女,江西高安人,副教授,博士,研究方向:软件形式化,并发分布式计算,虚拟现实,大数据算法,E-mail: youzhenjxnu@163.com; 黄捷文(1996—),男,江西高安人,硕士研究生,研究方向:软件形式化与自动化,虚拟现实,E-mail: huangjiewenjxnu@163.com; 陈家祥(1998—),男,江西永丰人,本科生,研究方向:软件工程,虚拟现实,E-mail: lvxiangli123@163.com; 胡洪文(1995—),男,江西南昌人,硕士研究生,研究方向:大数据,人工智能,虚拟现实,E-mail: hu_hong_wen@sina.com。
  • 基金资助:
    国家自然科学基金资助项目(61462041,61862033,61662036)

Graph Algorithm Virtual Simulation System Based on Lushan 3D Scene

  1. (1. State International S&T Cooperation Base of Networked Supporting Software, Jiangxi Normal University, Nanchang 330022, China;
    2. School of Software, Jiangxi Normal University, Nanchang 330022, China;
    3. School of Computer and Information Engineering, Jiangxi Normal University, Nanchang 330022, China)
  • Online:2021-01-07 Published:2021-01-07

摘要: 为应对传统计算机算法教学中理论知识存在逻辑性强、抽象程度高、教学与实验脱节、缺乏交互性等现实问题,本文借助虚拟现实技术,基于江西知名旅游胜地庐山的三维场景,使用Unity3D引擎设计图算法虚拟仿真系统。该系统实现5种图算法的仿真实验过程,每种图算法均提供“自动展示”和“用户交互”这2种运行模式,还提供用户进入景点(对应图的结点)分场景的自由控制视角浏览庐山景观的功能;同时,探讨本虚拟仿真系统存在的理论问题,并给出解决这些问题的关键技术和实施方案;最后,通过Prim最小生成树算法验证本虚拟仿真系统的实用性和灵活性。与传统的算法讲授、个性化问题驱动教学方式相比,本文设计的图算法虚拟仿真系统具有趣味性、交互性、沉浸性,既能激发学生学习的探索性和主动性,又为算法与数据结构课程提供了一种新的教学和实验方法。

关键词: 计算机算法, 算法教学, 数据结构, 无向图, 虚拟现实, 虚拟仿真

Abstract: In order to deal with the problems of strong logic, high abstraction, disconnection between teaching and experiment, and lack of interactivity in traditional computer algorithm teaching, based on the three-dimensional scene of a well-known Lushan tourist attraction in Jiangxi province, a graph algorithm virtual simulation system is designed using Unity3D software engine by using virtual reality technology. The system realizes simulation experiment of 5 kinds of graph algorithms. Each graph-algorithm experiment provides 2 operating modes, including “automatic display” and “user interaction”. It also offers the function of entering scenic spots and viewing the Lushan landscape from the user-controlled perspective. Meanwhile, some theoretical problems of the virtual simulation system are discussed, and the key technology and implementation plan to solve these problems are given. Finally, the practicability and flexibility of the virtual simulation system were verified by a case study of Prim minimum spanning tree algorithm. Compared with traditional algorithm teaching and personalized problem-driven teaching methods, the graph algorithm virtual simulation system designed in this paper is more interesting, interactive, and immersive. It not only stimulates students’ exploration and initiative in learning, but also provides a new teaching and experimental method for algorithm and data structure course.

Key words: computer algorithm, algorithm teaching, data structure, undirected graph, virtual reality, virtual simulation