The Algorithm Visualization Catalog is a comprehensive collection of links to algorithm visualizations, or AVs.

SRec: animation System of RECursion

Link(s)
http://www.lite.etsii.urjc.es/srec/
Topic(s)
recursion

Screenshots
SRec


Recommendation
  
Lecture Aide Has Potential
Self-study Supplement Has Potential
Standalone Recommended
Debugging Aide Recommended
Works?
Yes
Delivery Method(s)
Java Application
Project
N/A
Project Relationship
Stand-alone AV
Language(s)
Spanish, English
Author(s)
Antonio Pérez-Carrasco, J. Ángel Velázquez-Iturbide
Institution(s)
Universidad Rey Juan Carlos, LITE: Laboratory of Information Technolgies in Education
Activity Level(s)
Step control
Source Code License
N/A
First Published
N/A
Last Modified
2011

Description

SRec is a Java stand-alone application that generates visualizations and animations of recursive algorithms written in Java. It supports three visualizations of recursion: traces, the control stack, and recursion trees. SRec supports the automatic generation and modification of animations.

It also gives coverage to a large number of interaction, customization, and import/export facilities. The user interface of SRec supports multiple natural languages (currently, English and Spanish). The current version 1.2 supports several additional visualizations for divide-and-conquer algorithms.

Each animation played is first written as source code in a Java class and edited during the pre-processing phase. From there functions are provided to generate the animation and to store it. Previous animations can be loaded for comparison. Importing and exporting of animations is supported across a variety of different file formats. The panels holding the source code of the class, along with the three provided views can be rearranged, and controls are provided to zoom in on the visualization.

Evaluation

Getting used to the operations of the multiple panels and side bars takes some exploration. There are brief instructions on the website on how to get started with writing the source code, as well as descriptions of the various panels provided. The website also contains some Java classes under the resources section that can be downloaded immediately to help the user directly see how to format and implement the classes to create the animation of recursion trees with the application. Once the user is past the initial setup, this application can be effectively used to analyze the efficiency, redundancy, and behavior of multiple recursive algorithms, and can even be used for demonstrations purposes during in class lectures mainly because different input data can be supplied to animate the same algorithm.

Usage Notes

You must download the distribution and run the installer. You can choose the language (English or Spanish) for the installation. SRec requires Java JDK 6 or higher.

 

Field Report(s)
References
SRec: an animation system of recursion for algorithm courses, A design of automatic visualizations for divide-and-conquer algorithms
Rating
3
Average: 3 (2 votes)
Your rating: None
AV of the Day
No
Score
71