图论 Resources

Showing items tagged with "图论"

Comprehensive MATLAB implementations for essential graph theory algorithms: Warshall-Floyd algorithm for shortest paths in weighted graphs, Kruskal's algorithm for minimum spanning trees, Hungarian algorithm for bipartite graph matching, feasible labeling method for optimal matching, and Ford-Fulkerson labeling algorithm for maximum flow computation. Complete with detailed code explanations and implementation approaches.

MATLAB 235 views Tagged

Implementation of Kruskal's algorithm for Minimum Spanning Tree in graph theory with visualization program. M-function format [Wt, Pp] = mintreek(n, W) where n represents number of graph vertices, W is weighted adjacency matrix (non-connected vertices use 'inf'). Displays MST edges/vertices: Wt stores total weight, Pp(:,1:2) contains edge vertices, Pp(:,3) edge weights, Pp(:,4) edge indices. Red lines in plot indicate MST connections.

MATLAB 208 views Tagged

The random walker algorithm, initially proposed by Leo Grady and Gareth Funka-Lea, is a graph-based segmentation technique that models image pixels as nodes in a graph and computes electrical potentials to achieve multi-label segmentation. This method formulates segmentation as a combinatorial Dirichlet problem solvable through sparse linear systems, making it particularly effective for medical imaging applications with weak boundaries and noise.

MATLAB 244 views Tagged

The Depth-First Search algorithm, frequently utilized in graph theory, is commonly applied in reliability islanding computations for power systems with key applications in network traversal and pathfinding scenarios.

MATLAB 206 views Tagged

MATLAB Implementation for Maximum Flow Problem in Graph Theory This MATLAB code demonstrates the solution to the maximum flow problem using the Ford-Fulkerson algorithm, which calculates the optimal flow capacity for a given network graph.

MATLAB 215 views Tagged