TY - JOUR
T1 - Teaching and Learning Graph Algorithms Using Animation
AU - Liang, Y. Daniel
PY - 2018/12/1
Y1 - 2018/12/1
N2 - 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.
AB - 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.
KW - algorithms
KW - animation
KW - data structures
UR - https://digitalcommons.georgiasouthern.edu/compsci-facpubs/300
UR - http://www.jocse.org/articles/9/2/3/
U2 - 10.22369/issn.2153-4136/9/2/3
DO - 10.22369/issn.2153-4136/9/2/3
M3 - Article
JO - Journal of Computational Science Education
JF - Journal of Computational Science Education
ER -