Discrete Mathematics II-Solution of Spanning Tree, Loop Space and Break Set Space
Experimental purposes:
Master the solution of undirected connected graph spanning tree;Master the solution of basic loop system and loop space.Master the basic cut set system and the solution of the cut set space;Understand the practical applications of spanning tree, loop space, and breakset space.
Experimentation Requirements
1. Given an ...
Posted by rocksolidsr on Wed, 22 Dec 2021 21:53:56 +0100
[graph theory] find a girlfriend with Hungarian algorithm (great victory of pure love party)
1, Some concepts
1. Bipartite diagram
It must not contain odd rings, but may contain rings with even length, not necessarily connected graphsBipartite graph is a special model in graph theory. Let G=(V,E) be an undirected graph. If vertex v can be divided into two disjoint subsets (A,B), and the two vertices i and j associated with each e ...
Posted by raj86 on Wed, 22 Dec 2021 00:25:55 +0100
Leetcode (special topic of graph theory)
1. Introduction
Graph: directed graph and undirected graphProblem solving steps:
(1) Drawing construction: what kind of drawing and how to build it (2) Then, specific problems are analyzed, such as using BFS and greedy algorithm to operate the graph
Joint search set
//Parallel query set (manage a series of sets that do not want to ...
Posted by jtjohnson260 on Fri, 17 Dec 2021 16:17:58 +0100
Storage and shortest path problem of c + + graph
preface
Graph theory has always been my biggest headache - 2021 / 9 / 4
Now I finally don't have a headache
After grinding on dijkstra for a day, I finally realized him completely
On graph theory
Graph theory has always been the final topic in the competition, and it is also a difficult point In the popularity group, graph theory is ge ...
Posted by kkobashi on Thu, 16 Dec 2021 14:52:42 +0100
Advanced level of graph of data structure and algorithm (directed graph, topological sorting, weighted undirected graph, minimum spanning tree, weighted directed graph, shortest path)
1, Directed graph
In real life, many application related graphs are directional. The most intuitive is the network. You can jump from page a to page B through links. Then the direction of a and B connection is a - > b, but it can not be said to be B - > A. at this time, we need to use a directed graph to solve this kind of problem. T ...
Posted by jassh on Sat, 11 Dec 2021 12:49:10 +0100
Dijkstra detailed explanation of the shortest path (simple version + heap optimized version with template)
dijkstra has four steps:
Set the starting distance to 0Cycle n timesFind the point with the shortest distance outside the set each time and put it into the setUpdate the distance of all points connected to it with the points just put in
The idea is to update the minimum value of other points by using the point with the shortest distance outsid ...
Posted by JaneDoe on Thu, 09 Dec 2021 19:04:02 +0100
C + + to solve the shortest path problem
Many conceptual problems are not clearly understood by the author, so many basically the whole article needs to be improved
Let's start with the multi-source shortest path algorithm
1.floyd algorithm (n3):
(Floyd can also solve the problem of single source shortest, which is the shortest set of multiple single sources.)
The core code has on ...
Posted by mcclellanfsu on Fri, 12 Nov 2021 04:44:56 +0100
Super detailed decomposition of strongly connected components
(it's a little small. Take your time and you'll get something) (1) First we have to understand, what is strong connectivity? If a path from u to v can be found in any two points u and v in the vertex subset of a directed graph, the subset is called strongly connected
(2) Second, we have to understand what is a strongly connected component? If ...
Posted by InfinityRogue on Fri, 05 Nov 2021 03:54:33 +0100
Establishment of graph (adjacency matrix and adjacency table)
The basic concept of map can be turned over
catalogue
Template base class of graph
adjacency matrix
Concrete class implementation of adjacency matrix
Implementation of adjacency matrix constructor (an adjacency matrix can be initialized based on this constructor)
The second storage method of graph adjacency table
Adjacency table ...
Posted by needphphelp on Wed, 03 Nov 2021 20:37:29 +0100
Interpretation of the paper - optimal decision-making method for multi star uplink and downlink data conflict based on directed graph model
paper
[1] Bi Xiaowei, Li Bin, Wang Yuqiang, Chen Shihua, Peng Ping, Lei Tao. Multi star up processing and down transmission data conflict optimization decision method based on directed graph model [J]. Electronic information countermeasure technology, 2020,35 (06): 46-49 + 77
HowNet connection
https://kns.cnki.net/kcms/detail/detail. ...
Posted by xylex on Sun, 31 Oct 2021 15:18:24 +0100