JDLX: visualization of dancing links

Journal of Computing Sciences in Colleges(2008)

引用 0|浏览9
暂无评分
摘要
Data structures courses have settled on a familiar canon of structures and algorithms, and this is reflected in the standard textbooks. It is often useful for instructors to enliven such courses by presenting data structures that are of more recent interest, ones that may simultaneously challenge students' understanding of algorithms and their skills in programming. Exact cover problems, exemplified by the newly popular Sudoku game as well as the classic 8-queens problem, may be efficiently solved by the DLX algorithm popularized by Knuth in 2000, and this can provide a good capstone experience in a data structures course. The DLX algorithm operates by recursion on circular multiply linked lists. Because the pointer mechanics of the DLX algorithm is quite complicated, visualization techniques are called for. As the choreography of "dancing links" in DLX is highly visual anyway, this is very natural. In this paper we review best practices in algorithmic visualization for learners, and then describe a Java-based visualization of DLX applied to N-Queens. We also present some preliminary results that indicate that it is effective in enhancing student learning.
更多
查看译文
关键词
DLX algorithm,data structures course,Java-based visualization,algorithmic visualization,data structure,visualization technique,8-queens problem,best practice,exact cover problem,familiar canon
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要