0% found this document useful (0 votes)
26 views16 pages

Team 20

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1/ 16

STANLEY COLLEGE OF ENGINEERING AND TECHNOLOGY

FOR WOMEN (Autonomous)


Chapel Road, Abids, Hyderabad – 500001 (Affiliated to Osmania University, Hyderabad, Approved by AICTE, Accredited by NBA & NAAC with (A Grade)

Department of Computer Science and Engineering

ALGORITHM VISUALIZER
Team No: 20

S.No Roll Number Name


1 160620733049 Sharmila
2 160620733060 Keerthana
3 160620733301 Neha
Guide:
Dr P. Narayana
Associate Professor
Department of CSE
PROBLEM STATEMENT: The algorithm visualizer aims to develop a
software tool that provides a visual representation of various algorithms, such as
sorting, searching, and graph traversal. This tool will assist users in understanding the
inner workings of these algorithms through interactive and dynamic visualizations,
thereby enhancing their comprehension and learning experience.
OBJECTIVES:
 Educational Enhancement
 Reinforcement
 User friendly Interface
 Scalability
 Performance
 Algorithm Exploration
Explanation of proposed methodology with architectural
diagram:
 Research and Planning
 Design
 Development
 Algorithm Implementation
 Visualization
 Testing
 Feedback and Iteration
 Deployment
 Maintenance
ARCHITECTURE DIAGRAM
Steps for algorithm visualizer:

To create an algorithm visualizer, you can follow these steps:


 Choose a Programming Language: Pick a language you're comfortable with, like
JavaScript, Python, or Java.
 Select a Visualization Library: Look for libraries like D3.js, Processing, or p5.js
that can help you create interactive graphics.
 Design the User Interface: Plan how users will interact with your visualizer.
Consider features like selecting algorithms, adjusting input size, and controlling the
speed of visualization.
 Implement Algorithms: Write code for the algorithms you want to visualize. Start
with simple ones like sorting algorithms (e.g., bubble sort, merge sort) or graph
traversal algorithms (e.g., depth-first search, breadth-first search).
 Integrate Visualization: Use the chosen library to create visual representations of
your algorithms. This could involve drawing graphs, sorting bars, or moving sprites.

 Add Controls and Interactivity: Implement controls for starting, pausing, and
resetting visualizations. Allow users to adjust parameters like input size and
animation speed.

 Test and Debug: Test your visualizer with various inputs and scenarios to ensure it
works correctly. Debug any issues that arise during testing.

 Optimize Performance: Optimize your code and visualization to ensure smooth


performance, especially for large inputs or complex algorithms.

 Document and Share: Provide documentation for how to use your visualizer,
including any setup instructions or examples. Share your project on platforms like
GitHub or CodePen to showcase your work.
ALGORITHMS USED:
• Dijkstra’s :
Dijkstra's algorithm finds the shortest path from one vertex to all other vertices. It does so by
repeatedly selecting the nearest unvisited vertex and calculating the distance to all the unvisited
neighboring vertices.
• A* Algorithm :
A star is a popular pathfinding and graph traversal algorithm that combines elements of uniform
cost search and greedy best first search.
• Greedy Best first -Search:
This algorithm selects the path based on a heuristic function, prioritizing nodes that seem most
promising according to the heuristic.
• Best first Search:
This algorithm used to search a tree or graph data structure for a node that meet a set of criteria.
Expected Input
Excepted Output
A* ALGORITHM
Greedy Best first Search Algorithm
Breath first Search Algorithm
THANK YOU

You might also like