![]() ![]() In addition to interacting with the data structure visualizations via the debugger, jGRASP allows the user to interact with viewers via the workbench. When the user steps through the executing program, the viewer is updated to show the effects. As the viewer is opened, the structure identifier determines the particular type of data structure and then renders it appropriately. After the program stops at the breakpoint, the user single steps as necessary until the object is created, and then opens a viewer on the object by dragging it from the debug tab. The user simply sets a breakpoint on a statement near the creation of the data structure, and runs the program in debug mode. The most common way to open a viewer on a data structure object is via the debugger. Each of these is briefly described below and then more fully with examples in the sections that follow. JGRASP 1.8.7 provides numerous ways for the user to interact with the data structure visualizations: (1) the debugger, (2) the workbench, and (3) a new text-based interactions tab. This technique helps bridge the gap between implementation and the conceptual view of data structures, since the visualizations can be based on the users own code.ġĞmail: crossjh | hendrtd | barowla jGRASP research project is funded, in part, by a grant from the National Science Foundation.ġ571-0661/$ - see front matter © 2008 Elsevier B.V. These are dynamic visualizations in that they are generated while running the users program in debug mode. To overcome a major obstacle to widespread use, namely lack of easy access and use, the jGRASP 2 IDE provides a structure identifier that attempts to identify and render traditional abstract visualizations for common data structures such as stacks, queues, linked lists, binary trees, heaps, and hash tables. Visualizations of data structures have been used in limited ways for many years. Keywords: Program visualization, data structures, jGRASP, debugger, workbench, interactions. Barowski1ĭepartment of Computer Science and Software Engineering Auburn University Auburn, Alabama 36849-5437 USA Integrating Multiple Approaches for Interacting with Dynamic Data Structure The overall result of this integration effort is a highly flexible approach for user interaction with the dynamic data structure visualizations generated by a robust structure identifier.ĮLSEVIER Electronic Notes in Theoretical Computer Science 224 (2009) 141-149 During this process, the structure identifier, which provides for the identification and rendering of common data structures, was also greatly improved by examining the examples from 20 data structure textbooks. In order to integrate these approaches, the jGRASP visual debugger, workbench, and viewers had to be significantly redesigned. ![]() ![]() While each of these approaches is distinct and can be used independently of the others, they can also be used together to provide a complementary set of interactions with the dynamic viewers. JGRASP 1.8.7 has integrated three approaches for interacting with its dynamic viewers for data structures: the debugger, the workbench, and a new text-based interactions tab that allows individual Java statements to be executed and expressions to be evaluated. Abstract of research paper on Computer and information sciences, author of scientific article - James H. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |