First acquaintance map

Definition of graph

Insert picture description here

The logical structure of the graph

Insert picture description here

Basic terminology of graphs

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

The weight in the network graph refers to the cost of going from one node to another node

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Undirected graph

All vertices are connected, it is called the connected graph and the
connected components are the maximal connected subgraphs of the unconnected graph
Insert picture description here

Note: Connectivity does not have to be that there must be an edge between the two vertices. From the start vertex to the end vertex after passing through several vertices, it is also considered that the start vertex and the end vertex are connected

Directed graph

Each vertex are called communication only strong graph
subgraph strongly connected component is a non strongly connected graph
Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Comparison of logical relationships in different structures

Insert picture description here
Insert picture description here
Insert picture description here

Definition of abstract data types for graphs

Insert picture description here
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/m0_53157173/article/details/114977117