banner
andrewji8

Being towards death

Heed not to the tree-rustling and leaf-lashing rain, Why not stroll along, whistle and sing under its rein. Lighter and better suited than horses are straw sandals and a bamboo staff, Who's afraid? A palm-leaf plaited cape provides enough to misty weather in life sustain. A thorny spring breeze sobers up the spirit, I feel a slight chill, The setting sun over the mountain offers greetings still. Looking back over the bleak passage survived, The return in time Shall not be affected by windswept rain or shine.
telegram
twitter
github

GitHub 一万多 Star,一个可视化学算法的好工具

今天我们发现一个同类型的新网站 Algorithm Visualizer,做得很好。

网址是:http://algorithm-visualizer.org

image
下面通过冒泡排序,大概解释一下 Algorithm Visualizer 这个工具:

image
①、选择区
汇总了好多:回溯法、加密算法、动态规划、图搜索、贪婪算法、搜索算法、排序算法等

image
② ChartTracer

长条图方式展示每次交换的过程。每次交换位置的两个数,对应的长条会红色高亮。

image
③ Array1DTracer

作用和②类似

7c50dac989074a780f6f398cd5eb8f5d
④ LogTracer

日志模式记录每次 swap 的过程

76f200a9cb6945910069b32d75a30465
⑤ 工具栏

开始 / 暂停 / 下一步 / 上一步

image

这块是定义这个算法的一些相关基本信息。里面的 ChartTracer、Array1DTracer、LogTracer,对应上方的 ②③④。数组大小为 15。

8a7f4ec7565711df1521938508e738ee
如果你是看加密算法的演示过程,那 ⑥ 这里就是展示加密算法的一些基本信息。

⑦ 核心算法

3a0898821f5b535207af13704584fb62

Algorithm Visualizer 在 GitHub 有 10.6k+ Star:

:fireworks:Interactive Online Platform that Visualizes Algorithms from Code

本文只是粗略简绍图片,不用多说了,大家戳阅读原文,自己去感受咯。

加载中...
此文章数据所有权由区块链加密技术和智能合约保障仅归创作者所有。