计算机与现代化

• 算法分析与设计 • 上一篇    下一篇

一种基于策略集的概率缩域算法对多目标随机组卷问题的解决方案

  

  1. (云南大学旅游文化学院,云南丽江674100)
  • 收稿日期:2017-06-13 出版日期:2018-03-08 发布日期:2018-03-09
  • 作者简介:周华君(1984-),男,湖北襄阳人,云南大学旅游文化学院讲师,硕士,研究方向:算法设计,信息安全; 丁爱芬(1985-),女,云南曲靖人,讲师,硕士,研究方向:计算机应用; 吕小俊(1986-),男,内蒙古乌兰察布人,讲师,硕士,研究方向:偏微分方程及其应用。

A Solution of Multiple Target and Random E-examination Paper Based on Random and Reduce Range Algorithm to Strategy Set

  1. (Tourism and Culture College of Yunnan University, Lijiang 674100, China)
  • Received:2017-06-13 Online:2018-03-08 Published:2018-03-09

摘要: 电子考试系统的组卷研究是高校教考改革中电子试卷需要考虑的综合性问题。电子组卷既要求算法具有高效性、随机性和均衡性,同时需要抽取的试题组合满足用户自定义策略性要求。本文提出一种基于策略集的概率缩域算法,首先通过对试题组和组卷过程采用随机洗牌算法,保证试题抽取的随机性;其次使用策略集对试题取值域进行提前剪枝,缩小当前目标集的取值范围,保障算法的快速返回;最后使用策略集对抽取目标集进行轮转,实现基于策略的试题调整。在一个具有100000个题目的试题库中抽取1000份试卷的测试结果表明,算法能够在极短时间内(127 s)抽取符合目标的试题量,算法效率与组卷份数呈现二次函数的变化趋势,对题库数量敏感度较小,适合较大题库的试卷抽取工作。

关键词: 随机洗牌, 轮转, 策略集

Abstract:  Research on generating test paper in electronic examination system (E-Exam System) remains a comprehensive problem in teaching and examination reform of colleges and universities because it requires high efficiency, randomness and balance in algorithm, meanwhile the extracting test paper combination should meet the users’ custom sets strategy. This paper presents a strategy-sets-based reduce range of algorithm’s parameters, which firstly applies a random shuffle algorithm towards test papers and the process of generating test papers to guarantee the randomness of abstracting test questions; then prunes the value domain ahead of time by using strategy sets and reduces the value range of the current target set to ensure fast return of algorithm; finally rotates the abstracting targets with strategy sets to realize test paper adjustment based on strategies. After the test of abstracting 1000 test papers from a 100000 questions Test Bank, this algorithm shows the following features: it can abstract item quantity accord to the goal within very short time (127 s); algorithm efficiency and the number of test paper composition show a variation trend of quadratic function; it has less sensitiveness towards the number of questions in test bank so this algorithm is suitable for a relatively large test bank.

Key words: random shuffling algorithm, rotate, strategy set

中图分类号: