Teaching and Learning Graph Algorithms Using Animation

Research output: Contribution to journalArticlepeer-review

Abstract

Graph algorithms have many applications. Many real-world problems can be solved using graph algorithms. Graph algorithms are commonly taught in the data structures, algorithms, and discrete mathematics courses. We have created two animations to visually demonstrate the graph algorithms. The first animation is for depth-first search, breadth-first search, shortest paths, connected components, finding bipartite sets, and Hamiltonian path/cycle on unweighted graphs. The second animation is for the minimum spanning trees, shortest paths, travelling salesman problems on weighted graphs. The animations are developed using HTML, CSS, and JavaScript and are platform independent. They can be viewed from a browser on any device. The animations are useful tools for teaching and learning graph algorithms. This paper presents these animations.

Original languageAmerican English
JournalJournal of Computational Science Education
DOIs
StatePublished - Dec 1 2018

Keywords

  • algorithms
  • animation
  • data structures

DC Disciplines

  • Computer Sciences

Fingerprint

Dive into the research topics of 'Teaching and Learning Graph Algorithms Using Animation'. Together they form a unique fingerprint.

Cite this