Detailed Information

Cited 0 time in webofscience Cited 0 time in scopus
Metadata Downloads

Algorithm Animation: Using algorithm code to drive an animation

Authors
Morris, J.
Issue Date
Jan-2005
Keywords
Algorithm animation; Algorithms; Data structures
Citation
Conferences in Research and Practice in Information Technology Series, v.42, pp 15 - 20
Pages
6
Journal Title
Conferences in Research and Practice in Information Technology Series
Volume
42
Start Page
15
End Page
20
URI
https://scholarworks.bwise.kr/cau/handle/2019.sw.cau/65533
ISSN
1445-1336
Abstract
Computer algorithms commonly involve creation, reorganization or destruction of relations between objects. This means that they are generally excellent candidates for visualization for teaching purposes. For a student to comprehend all the ramifications of certain operations, several different concurrent displays are often required: as well as a visualization of the objects being manipulated by the algorithm, commentary, highlighted source code and various statistics are commonly required. This paper describes a strategy for rapidly building animations of algorithms: animations are driven from the source code of the algorithm itself by the addition of animation directives. These directives invoke routines from a toolkit which provides operations commonly needed to display objects and structures. By providing a standard approach to the creation of an animation, creating a new one becomes a straight forward process: many animations in the current collection have been produced by students in one semester courses. The supporting toolkit contains classes which, in addition to animating basic structure, provide many subsidiary displays - histograms, graphs, etc. which are updated as the algorithm runs. This toolkit has evolved following critical analysis of the features needed to allow easy comprehension of the animated algorithms, for example, a separate commentary area has been abandoned in favour of labels on the animation and 'history' panels have been added to permit simultaneous display of several steps in the algorithm. smaller improvements. Over several years, we have implemented a set of widely referenced algorithm animations commonly taught in data structures and algorithms courses available on the web. © 2003, Australian Computer Society, Inc.
Files in This Item
There are no files associated with this item.
Appears in
Collections
College of ICT Engineering > School of Electrical and Electronics Engineering > 1. Journal Articles

qrcode

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.

Altmetrics

Total Views & Downloads

BROWSE