naman14/AlgorithmVisualizer-Android
关于
使用动画将算法和数据结构可视化。
创作与媒体实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文AlgorithmVisualizer
Algorithm Visualizer for Android
Screenshots

Visualizations
The following visualizations are available currently -
- Binary search
- Binary Search Tree (Search and insertion)
- Linked List and Stack
- Bubble sort and Insertion sort
- BFS and DFS traversal
- Dijkstara and Bellman Ford graph search
Contributing
Contributions are welcome to be able to provide visualizations for more algorithms. The existing API for visualizers are given below. These existing visualizers can be used directly for most algorithms.
| Algorithm | Implementation | Visualizer |
|---|---|---|
| Binary Search | BinarySearch | BinarySearchVisualizer |
| Binary Search Tree | BSTAlgorithm | BSTVisualizer |
| Linked List | LinkedList | LinkedListVisualizer |
| Stack | Stack | StackVisualizer |
| Breadth first search | GraphTraversal | DirectedGraphVisualizer |
| Depth first search | GraphTraversal | DirectedGraphVisualizer |
| Dijkstara | DijkstraAlgorithm | WeightedGraphVisualizer |
| Bellman Ford | BellmanFord | WeightedGraphVisualizer |
| Bubble Sort | BubbleSort | SortingVisualizer |
| Insertion Sort | InsertionSort | SortingVisualizer |
| Selection Sort | SelectionSort | SortingVisualizer |
All algorithm implementations must extend Algorithm and implement the DataHandler interface. The visualization happens on the main thread while the algorithms run in a seperate thread to be able to pause/resume execution. All data transfer must take place through the DataHandler interface.
License
(c) 2016 Naman Dwivedi
This is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this app. If not, see https://www.gnu.org/licenses/.
探索相关项目
加载中…
