Trang chủDanh mụcThuật toán & Trí tuệ nhân tạo

🤖 Thuật toán & Trí tuệ nhân tạo

Trực quan hóa các thuật toán tính toán: sắp xếp, tìm đường, tìm kiếm và tối ưu hóa.

53 mô phỏng60 khung hình/giây thời gian thực0 bước cài đặt
3D Boids — FlockingPhổ biến500 agents in 3D space following Reynolds' rules: separation, alignment, cohesion. Emergent… Ant ColonyStigmergic simulation: ants find food via pheromone trails. Self-organisation from simple rules. Pathfinding — A*, Dijkstra, BFSPhổ biếnDraw walls, generate mazes and watch A*, Dijkstra, Greedy Best-First and BFS explore the… Genetic AlgorithmPopulation evolves via tournament selection, crossover and mutation. Two modes: classic… Travelling Salesman — TSPThree algorithms compete on the same city set: Nearest Neighbour greedy, 2-opt local search,… Maze GeneratorFour algorithms — DFS Backtracker, Prim's, Kruskal's and Wilson's loop-erased random walk —… Sorting Algorithms — Visual & Audio12 sorting algorithms animated as bar charts with Web Audio tones. Compare speed,… Langton's AntLangton's Ant: a two-dimensional Turing machine that creates complex emergent patterns from… N-Queens ProblemPlace N queens on a chessboard with no shared row, column or diagonal, and watch… Langton's Ant — Cellular Automaton that Builds HighwaysWatch Langton's ant, a simple Turing-complete automaton, spontaneously build a 'highway'… Maze Generator — Recursive Backtracker, Prim, Wilson's AlgorithmWatch 4 maze algorithms build live: Recursive Backtracker, Randomized Prim, Wilson's… Sorting Algorithms Visualizer — Bubble, Quick, Merge, HeapInteractive visualizer for 6 classic sorting algorithms: Bubble, Quick, Merge, Heap,… Wolfram 1D Cellular Automata — Elementary Rules & Complex BehaviourExplore all 256 Wolfram elementary cellular automaton rules. See how simple rules on a 1D… Hamming CodesFlip a bit in a Hamming-encoded word and watch the parity checks produce a syndrome that… Turing MachineStep-by-step Turing machine simulator with animated scrolling tape, highlighted state… Compiler PipelineNewWatch source code become machine code: lexing to tokens, recursive-descent parsing to an… Binary Search Tree — Insert, Search & BalanceNewAnimated BST operations: insert, search, delete and in-order traversal. Switch to AVL mode… Data StructuresNewInteractive visualisations of stacks, queues, linked lists and hash tables — insert, delete… Stable MatchingNewRun the Gale–Shapley deferred-acceptance algorithm step by step: proposals, tentative… A* PathfindingNewWatch A* find the shortest path on a grid using f = g + h. Paint walls, drag start/goal,… 0/1 KnapsackNewMaximize value without exceeding capacity. Watch dynamic programming fill the dp table cell… Huffman CodingNewBuild an optimal prefix-free code by merging the two rarest symbols again and again. Watch… QuadtreeNewA quadtree recursively subdivides the plane into four children. Watch it adapt to your point… Barnes–Hut N-bodyNewThe Barnes–Hut algorithm approximates an N-body gravity simulation in O(n log n) using a… Marching SquaresNewExtract contour lines from a 2D scalar field with the 16-case marching-squares lookup. Drag… Convex HullNewCompute the smallest convex polygon enclosing a point set with Graham scan, Jarvis march or… Minimax & Alpha-BetaNewDFS the game tree assuming the opponent plays optimally; alpha-beta pruning skips branches… Kalman FilterNewOptimally fuse noisy measurements with a motion model. The covariance ellipse grows on… Reed-Muller CodesNewChoose a Reed-Muller code variant, toggle message bits, then flip an encoded bit to inject… CRC ChecksumNewPick a CRC-8/16/32 preset, type a message, then inject an error and watch the checksum catch… LZ77 CompressionNewWatch the LZ77 sliding-window compression algorithm encode data by finding repeated patterns. Tower of Hanoi — Recursive Solver & 2ⁿ−1 MovesNewWatch the Tower of Hanoi solve itself with optimal recursion on 1–10 disks, animated… Gray Code — Reflected Binary & Hypercube PathNewExplore Gray code (g = b XOR b>>1), where each consecutive value flips one bit. Step the 2ⁿ… Red-Black Tree — Self-Balancing BSTNewInsert and delete keys in a red-black tree and watch recolouring and rotations keep it… B-Tree — Multi-Way Search TreeNewBuild a B-tree of order m by inserting keys: nodes fill, split at the median and push a key… Skip List — Probabilistic Balanced SearchNewA skip list stacks express lanes over a sorted linked list: each node is promoted with… Edit Distance — Levenshtein DP TableNewFill the Levenshtein dynamic-programming table cell by cell, then backtrack the cheapest… Longest Common Subsequence — DP AlignmentNewCompute the longest common subsequence of two strings with a DP grid, then trace the… KMP String Matching — Failure FunctionNewKnuth-Morris-Pratt searches text in O(n+m): a prefix failure function lets the pattern slide… Union-Find — Disjoint Sets & Path CompressionNewMerge elements into disjoint sets and find their roots in near-constant time. Union by rank… Simulated Annealing — Escaping Local MinimaNewSolve a travelling-salesman tour with simulated annealing: accept worse moves with… Particle Swarm Optimization — Swarm IntelligenceNewA swarm of particles searches a 2D cost landscape, each pulled toward its personal best and… Boolean Network — Kauffman NK ModelNewExplore Kauffman NK Boolean networks: N binary nodes with K random inputs. K controls… DCT Image Compression (JPEG Principle)NewDiscrete Cosine Transform compresses an 8×8 pixel block like JPEG. DCT-II: X_k =… Polar Codes — Channel CapacityNewPolar codes (Arıkan 2009) achieve Shannon capacity for binary-input symmetric channels.… Differential Evolution OptimizerNewDifferential Evolution (DE/rand/1/bin): mutant v = x_r1 + F(x_r2 - x_r3), crossover at rate… Aho–Corasick — Multi-Pattern String SearchNewBuild a trie of several patterns plus failure links, then scan text in a single O(n) pass,… AVL Tree — Self-Balancing RotationsNewInsert and delete keys in an AVL tree and watch balance factors update after every change.… Bellman-Ford Algorithm — Shortest Paths with Negative WeightsNewWatch Bellman-Ford relax every edge V−1 times to find shortest paths from a source, even… Binary Heap — Priority QueueNewInsert and extract values from a binary min-heap stored as an array. Watch sift-up and… Rabin–Karp — Rolling Hash String SearchNewSlide a window across the text, updating a polynomial rolling hash in O(1) per shift, and… Segment Tree — Range Sum & Range Minimum QueriesNewBuild a segment tree over an array in O(n) and answer range-sum or range-min queries and… Treap — Randomized Balanced BSTNewEach key in a treap gets a random priority; the tree stays a max-heap on priorities while…
Giới thiệu về danh mục

Thuật toán & Trí tuệ nhân tạo

Trực quan hóa các thuật toán tính toán: sắp xếp, tìm đường, tìm kiếm và tối ưu hóa.

Three.js · WebGL 60 FPS CC BY 4.0
Thông tin nhanh
53mô phỏng tương tác trong danh mục này
chạy ở tốc độ 60 FPS trên mọi trình duyệt hiện đại
🌐Có sẵn bằng tiếng Anh, tiếng Ukraina, tiếng Ba Lan, tiếng Tây Ban Nha, tiếng Đức, tiếng Nhật, tiếng Ý, tiếng Bồ Đào Nha (Brazil), tiếng Pháp, tiếng Ả Rập, tiếng Hà Lan, tiếng Trung, tiếng Hàn, tiếng Hindi, tiếng Thổ Nhĩ Kỳ, tiếng Việt, tiếng Nga, tiếng Indonesia, tiếng Ba Tư, tiếng Bengal, tiếng Thái, tiếng Filipino, tiếng Swahili, tiếng Urdu, tiếng Mã Lai, tiếng Tamil, tiếng Hebrew, tiếng Hy Lạp, tiếng Punjab, tiếng Amharic, tiếng Miến Điện, tiếng Khmer, tiếng Gruzia, tiếng Nepal, tiếng Mông Cổ, tiếng Armenia, tiếng Sinhala, tiếng Lào, tiếng Séc, tiếng Romania, tiếng Hungary, tiếng Bulgaria và tiếng Thụy Điển
🎓CC BY 4.0 — miễn phí sử dụng cho lớp học và tích hợp LMS

Câu hỏi thường gặp

Tôi có cần cài đặt gì để chạy các mô phỏng Thuật toán & Trí tuệ nhân tạo không?

Không. Mọi thứ chạy hoàn toàn trong trình duyệt của bạn — không cần tải xuống, plugin hay tài khoản. Hoạt động trên Chrome, Firefox, Edge và Safari; hầu hết các mô phỏng cũng hoạt động trên thiết bị di động.

Tôi có thể sử dụng các mô phỏng này để giảng dạy không?

Có — toàn bộ nội dung đều miễn phí cho mục đích giáo dục theo giấy phép CC BY 4.0. Bạn có thể liên kết trực tiếp đến bất kỳ mô phỏng nào hoặc nhúng vào LMS của mình qua iframe; không cần khóa API.

Các mô hình này có chính xác về mặt khoa học không?

Chúng sử dụng cùng các công thức toán học như phần mềm chuyên nghiệp, được tích phân số theo thời gian thực. Mỗi mô phỏng đều liệt kê các thuật toán của nó, và nhiều mô phỏng có liên kết đến bài viết giải thích toán học đằng sau.

Danh mục liên quan

Bạn đã phát hiện điều gì?

Thêm các bước tái hiện lỗi (không bắt buộc)