How thealgorithms/php works
The Algorithms - PHP is an educational library of independently usable algorithms and data structures, not a single application pipeline. A developer selects and calls an implementation directly; its result is returned to that caller. The graph groups the repository’s documented capability areas and highlights substantial tree implementations and their internal helpers. The README establishes the library’s purpose and breadth; sampled source confirms several tree/helper relationships. Other modules are represented by their exact tree paths, but their internal calls were not sampled, so no links between them are inferred.
Main entry points: AVLTree.php AVL tree · BSTree.php Binary search tree · SplayTree.php Splay tree · TreeTraversal.php AVL traversal
Components 24
Data structures
- AVL tree
DataStructures/AVLTree/AVLTree.php - AVL nodes
DataStructures/AVLTree/AVLTreeNode.php - AVL traversal
DataStructures/AVLTree/TreeTraversal.php - Binary search tree
DataStructures/BinarySearchTree/BSTree.php - BST nodes
DataStructures/BinarySearchTree/BSTNode.php - BST traversal
DataStructures/BinarySearchTree/BinaryTreeTraversal.php - Splay tree
DataStructures/SplayTree/SplayTree.php - Splay nodes
DataStructures/SplayTree/SplayTreeNode.php - Splay rotations
DataStructures/SplayTree/SplayTreeRotations.php - Segment tree
DataStructures/SegmentTree/SegmentTree.php - Segment nodes
DataStructures/SegmentTree/SegmentTreeNode.php - Trie
DataStructures/Trie/Trie.php - Trie nodes
DataStructures/Trie/TrieNode.php - Other structures
DataStructures - Tree utilities
DataStructures/CompareBinaryTree/CompareBinaryTree.php
Core algorithms
- Graph algorithms
Graphs - Search algorithms
Searches - Sorting algorithms
Sorting
Math and numbers
- Math algorithms
Maths
Text and conversion
- Ciphers
Ciphers - Conversions
Conversions - String algorithms
Strings
Machine learning
- Perceptron classifier
NeuralNetworks/PerceptronClassifier/NeuralNetworkPerceptronClassifier.php
Other components
- Developer
Connections 27
- Developer → AVL tree: calls directly
README.md - Developer → Binary search tree: calls directly
README.md - Developer → Splay tree: calls directly
README.md - Developer → Segment tree: calls directly
README.md - Developer → Trie: calls directly
README.md - Developer → Other structures: calls directly
README.md - Developer → Tree utilities: calls directly
README.md - Developer → Graph algorithms: calls directly
README.md - Developer → Search algorithms: calls directly
README.md - Developer → Sorting algorithms: calls directly
README.md - Developer → Ciphers: calls directly
README.md - Developer → Conversions: calls directly
README.md - Developer → String algorithms: calls directly
README.md - Developer → Math algorithms: calls directly
README.md - Developer → Perceptron classifier: calls directly
README.md - AVL tree → AVL nodes: creates and updates
DataStructures/AVLTree/AVLTree.php - AVL tree → AVL traversal: uses traversal
DataStructures/AVLTree/AVLTree.php - AVL traversal → AVL nodes: traverses
DataStructures/AVLTree/TreeTraversal.php - Binary search tree → BST nodes: creates and updates
DataStructures/BinarySearchTree/BSTree.php - Binary search tree → BST traversal: inherits traversal
DataStructures/BinarySearchTree/BSTree.php - BST traversal → BST nodes: traverses
DataStructures/BinarySearchTree/BinaryTreeTraversal.php - Splay tree → Splay nodes: manipulates
DataStructures/SplayTree/SplayTree.php - Splay tree → Splay rotations: uses rotations
DataStructures/SplayTree/SplayTree.php - Splay rotations → Splay nodes: rotates
DataStructures/SplayTree/SplayTreeRotations.php - Segment tree → Segment nodes: builds and updates
DataStructures/SegmentTree/SegmentTree.php - Trie → Trie nodes: builds and searches
DataStructures/Trie/Trie.php - Tree utilities → Other structures
DataStructures/CompareBinaryTree/CompareBinaryTree.php