Yog Namespace
| Modules | Description |
|
Centrality measures for identifying important nodes in graphs. Provides degree, closeness, harmonic, betweenness, PageRank, eigenvector, Katz,
and alpha centrality measures. All functions return a Map |
|
|
Graph connectivity analysis - finding bridges, articulation points, and strongly connected components. This module provides algorithms for analyzing the connectivity structure of graphs, identifying critical components whose removal would disconnect the graph. |
|
|
Disjoint Set Union (Union-Find) data structure for efficient set operations. The disjoint-set data structure maintains a partition of elements into disjoint (non-overlapping) sets. It provides near-constant time operations to add elements, find which set an element belongs to, and merge two sets together. |
|
|
Graph generators for creating common graph structures and random network models. This module provides both deterministic and stochastic graph generators, useful for: - Testing graph algorithms with known structures - Modeling real-world networks - Benchmarking and performance analysis - Generating synthetic datasets |
|
|
Core graph data structures and basic operations for the yog library. This module defines the fundamental |
|
|
Minimum Spanning Tree (MST) algorithms for finding optimal network connections. A Minimum Spanning Tree connects all nodes in a weighted undirected graph with the minimum possible total edge weight. MSTs have applications in network design, clustering, and optimization problems. |
|
|
Graph transformations and mappings - functor operations on graphs. This module provides operations that transform graphs while preserving their structure. These are useful for adapting graph data types, creating derived graphs, and preparing graphs for specific algorithms. |
|
|
Graph traversal algorithms - systematic exploration of graph structure. This module provides fundamental graph traversal algorithms for visiting nodes in a specific order. Traversals are the foundation for most graph algorithms including pathfinding, connectivity analysis, and cycle detection. |