Visualized evolution method of binary tree data structure

A technology of data structure and binary tree, which is applied in the direction of visual/graphic programming, creation/generation of source code, etc. It can solve problems such as difficulty for program design learners to control the evolution process of binary tree structure, complexity and abstraction of binary tree structure evolution process

Active Publication Date: 2021-01-08
GUANGDONG UNIV OF TECH
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The embodiment of the present application provides a visual evolution method of a binary tree data structure, which solves the problem that in the process of program debugging in the field of programming education, due to the complexity and abstraction of the evolution process of the binary tree structure, it is difficult for program design learners to control the evolution process of the binary tree structure technical problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Visualized evolution method of binary tree data structure
  • Visualized evolution method of binary tree data structure
  • Visualized evolution method of binary tree data structure

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0054] figure 1 It is a method diagram of an embodiment of a visual evolution method of a binary tree data structure of the present application, such as figure 1 as shown, figure 1 Including:

[0055] 101. Obtain two sets of binary tree structure data before and after single-step execution in program debugging.

[0056] It should be noted that in this applicati...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a visualized evolution method of a binary tree data structure. The visualized evolution method comprises the following steps: acquiring two groups of binary tree structure databefore and after single-step execution in program debugging; performing binary tree structure logic comparison on the two groups of binary tree structure data to obtain structure difference information of the two groups of binary tree structure data; performing structure layout comparison on the two groups of binary tree structure data to obtain layout difference information of the two groups ofbinary tree structure data; converting the structure difference information and the layout difference information into a visual evolution operation sequence; and analyzing each visual evolution operation in the visual evolution operation sequence into a specific animation object, and playing the animation objects in sequence. The technical problem that in the program debugging process in the programming education field, due to the fact that the evolution process of the binary tree structure is complex and abstract, program design learners are difficult to master the evolution process of the binary tree structure is solved.

Description

technical field [0001] The present application relates to the technical field of program design visualization, in particular to a method for visual evolution of a binary tree data structure. Background technique [0002] The program design visualization tool visualizes the program logic and code structure, so that programming beginners can intuitively understand the current program running status, quickly troubleshoot program logic errors, and improve learning efficiency. [0003] Among them, data structure visualization is an important part of program design visualization. Data structure visualization refers to the use of visualization technology to show the logical relationship between each node in a data structure and between each data structure. The data structure of the binary tree is an extremely important nonlinear structure in programming learning, so the visualization of the binary tree structure is one of the important contents of the data structure visualization,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/34
CPCG06F8/34
Inventor 苏庆黎智洲刘添添黄剑锋李小妹
Owner GUANGDONG UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products